User:Harrystein/sandbox/template/alt-lang: Difference between revisions
< User:Harrystein | sandbox | template
Jump to navigation
Jump to search
Harrystein (talk | contribs) mNo edit summary |
Harrystein (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
| description = This article is also available in {{{lang}}}. Click to see that version. | | description = This article is also available in {{{lang}}}. Click to see that version. | ||
| maincat = Articles in test category | | maincat = Articles in test category | ||
| width = 30 | |||
| height = 30 | |||
| id = open-red-book | | id = open-red-book | ||
}}<noinclude>This template is designed to create a small icon at the top of the page which directly links to alternate languages available. | }}<noinclude>This template is designed to create a small icon at the top of the page which directly links to alternate languages available. | ||
Line 11: | Line 13: | ||
To use, simply put | To use, simply put | ||
<nowiki>{{alt-lang|[language]|[target page title or location]}}</nowiki> | <nowiki>{{alt-lang|</nowiki>{{red|[''language'']}}|{{blue|[''target page title or location'']}}<nowiki>}}</nowiki> | ||
at the top of the page.</noinclude><includeonly>[[category:original templates]][[Category:Articles in non-English languages|*]]</includeonly> | at the top of the page.</noinclude><includeonly>[[category:original templates]][[Category:Articles in non-English languages|*]]</includeonly> |
Revision as of 17:03, 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
{{alt-lang|[language]|[target page title or location]}}
at the top of the page.