Template:LSpecial/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
* {{Code|<nowiki>{{LSpecial|UncategorizedImages}}</nowiki>}} = {{LSpecial|UncategorizedImages}} | * {{Code|<nowiki>{{LSpecial|UncategorizedImages}}</nowiki>}} = {{LSpecial|UncategorizedImages}} | ||
If you stumble upon some not getting translated mention it in the discussion section. | |||
== See Also == | == See Also == | ||
Latest revision as of 04:25, 11 August 2024
To use for Special: links on translated pages so that they use the translation used in wiki interface
- {{{1}}} - Special: page name
- {{{2}}} - alt name (default uses string defined in MediaWiki namespace i.e interface language)
- {{{case}}} - lc - all lower case, lcfirst - first letter lower case, uc - all upper, ucfirst - first letter upper
- {{{lang}}} - force specific language (default use {{language}})
{{LSpecial|ProtectedPages}}= Protected pages{{LSpecial|AllMessages}}= System messages{{LSpecial|AllMessages|lang=sk}}= Všetky systémové správy{{LSpecial|RandomRootpage|Rocket Raccoon}}= Rocket Raccoon{{LSpecial|RandomRootpage|case=uc}}= RANDOM ROOT PAGE{{LSpecial|RandomRootpage|case=lcfirst}}= random root page
Sometimes there are multiple links for a single page like Special:UncategorizedFiles vs Special:UncategorizedImages, but only one of them is the proper name for the interface string so only one will properly get translated
{{LSpecial|UncategorizedFiles}}= ⧼UncategorizedFiles/en⧽{{LSpecial|UncategorizedImages}}= Uncategorized files
If you stumble upon some not getting translated mention it in the discussion section.