Template:LMainPage: Difference between revisions
Jump to navigation
Jump to search
Preview
No edit summary |
No edit summary |
||
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|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 






















{{LMainPage}}
= Main Page