Template:ForEachLanguage: Difference between revisions
AndrewSayers (talk | contribs) Created page with "<includeonly>{{{{{1}}}|be|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}{{{{{1}}}|bn|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}{{{{{1}}}|ca|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}{{{{{1}}}|cn|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}{{{{{1}}}|cs|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}{{{{{1}}}|da|{{{2|}}}|{{{3|}..." |
(No difference)
|
Revision as of 13:06, 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.