Template:ForEachLanguage: Difference between revisions
AndrewSayers (talk | contribs) No edit summary |
AndrewSayers (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{{{1}}}|en|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}</includeonly><noinclude><templatedata> | | ({{{{{1}}}|en|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}})</includeonly><noinclude><templatedata> | ||
{ | { | ||
"description": "Call a template for each language supported by the wiki", | "description": "Call a template for each language supported by the wiki", |
Revision as of 14:10, 8 August 2025
Call a template for each language supported by the wiki
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template | 1 | Template to call
| Template | required |
2 | 2 | Passed through to template | Unknown | optional |
3 | 3 | Passed through to template | Unknown | optional |
4 | 4 | Passed through to template | Unknown | optional |
5 | 5 | Passed through to template | Unknown | optional |
6 | 6 | Passed through to template | Unknown | optional |
7 | 7 | Passed through to template | Unknown | optional |
8 | 8 | Passed through to template | Unknown | optional |
9 | 9 | Passed through to template | Unknown | optional |
<Template> will be called once for each language supported by the wiki, with the language code as the first parameter, and up to 8 further positional parameters.
To add a new language to the wiki, add a block like this to the template (make sure the list remains alphabetically sorted):
{{{{{1}}}|<language-code>|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}
If you update this page, please update all other pages in Category:LanguageMachinery.