Template:LMainPage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Link to Main Page
Creates automatically translated link to Main Page or based on specified params
* {{param|lang}} - if specified forces that language otherwise uses {{T|language}} to determine which Main Page to link
* {{param|lang}} - if specified forces that language otherwise uses {{T|language}} to determine which Main Page to link
* {{param|1}} - alternative name


Example of <nowiki>{{LMainPage|lang=es}}</nowiki> or <nowiki>{{LMainPage}}</nowiki> on page with Es/ prefix
Example of <code><nowiki>{{LMainPage|lang=es}}</nowiki></code> or <code><nowiki>{{LMainPage}}</nowiki></code> on page with Es/ prefix
* {{LMainPage|lang=es}}
* {{LMainPage|lang=es}}


Example of <nowiki>{{LMainPage|Rocket Raccoon|lang=fi}}</nowiki> or <nowiki>{{LMainPage|Rocket Raccoon}}</nowiki> on page with Fi/ prefix
Example of <code><nowiki>{{LMainPage|Rocket Raccoon|lang=fi}}</nowiki></code> or <code><nowiki>{{LMainPage|Rocket Raccoon}}</nowiki></code> on page with Fi/ prefix
* {{LMainPage|Rocket Raccoon|lang=fi}}
* {{LMainPage|Rocket Raccoon|lang=fi}}



Latest revision as of 20:03, 9 August 2024

Creates automatically translated link to Main Page or based on specified params

  • {{{lang}}} - if specified forces that language otherwise uses {{language}} to determine which Main Page to link
  • {{{1}}} - alternative name

Example of {{LMainPage|lang=es}} or {{LMainPage}} on page with Es/ prefix

Example of {{LMainPage|Rocket Raccoon|lang=fi}} or {{LMainPage|Rocket Raccoon}} on page with Fi/ prefix


Preview English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)