Template:LMainPage: Difference between revisions
Jump to navigation
Jump to search
Preview
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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| | 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| | * {{LMainPage|Rocket Raccoon|lang=fi}} | ||
== Preview {{ulf|no-right-align=1|all-lang=1}} == | == Preview {{ulf|no-right-align=1|all-lang=1}} == | ||
* {{LMainPage}} | * <code><nowiki>{{LMainPage}}</nowiki></code> = {{LMainPage}} | ||
<includeonly> | <includeonly> |
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 






















{{LMainPage}}
= Main Page