Template:Alt-lang: Difference between revisions
Jump to navigation
Jump to search
Harrystein (talk | contribs) (added third param to auto-create "articles in [language]" category tags.) |
Harrystein (talk | contribs) mNo edit summary |
||
Line 15: | Line 15: | ||
<nowiki>{{ alt-lang |</nowiki> {{red|[''language'']}} | {{blue|[''target page title or location'']}} | {{green|[''current page language, if not English (optional)'']}} <nowiki>}}</nowiki> | <nowiki>{{ alt-lang |</nowiki> {{red|[''language'']}} | {{blue|[''target page title or location'']}} | {{green|[''current page language, if not English (optional)'']}} <nowiki>}}</nowiki> | ||
at the top of the page.[[category:original templates]][[Category:Articles in non-English languages|*]]</noinclude><includeonly>{{#if:{{{1|}}}|{{#ifeq:english|{{lc:{{{1|}}}}}|[[Category:Articles in non-English languages]]{{#if:{{{3|}}}|[[category:articles in {{{3|}}}]]|}}|[[Category:articles with non-English versions]]}}|[[category:articles using the alt-lang template incorrectly]]}}</includeonly> | at the top of the page.[[category:original templates]][[Category:Articles in non-English languages|*]]</noinclude><includeonly>{{#if:{{{1|}}}|{{#ifeq:english|{{lc:{{{1|}}}}}|[[Category:Articles in non-English languages]]{{#if:{{{3|}}}|[[category:articles in {{ucfirst:{{{3|]}}}}}]]|}}|[[Category:articles with non-English versions]]}}|[[category:articles using the alt-lang template incorrectly]]}}</includeonly> |
Latest revision as of 18:24, 25 April 2024
This template is designed to create a small icon at the top of the page which directly links to alternate languages available.
To use, simply put the following:
{{ alt-lang | [language] | [target page title or location] | [current page language, if not English (optional)] }}
at the top of the page.