Template:Int: Difference between revisions
Template page
More actions
m Use <onlyinclude> and {{subst:InitDoc}} |
Rename the parameters: `2` → `missing` (with alias) – conflicts with {{localized mw message}} (Q86596927) |
||
| Line 8: | Line 8: | ||
| {{#switch: {{NAMESPACE}} |File|Creator = {{int:Lang}} |#default= {{PAGELANGUAGE}} }} | | {{#switch: {{NAMESPACE}} |File|Creator = {{int:Lang}} |#default= {{PAGELANGUAGE}} }} | ||
}}⧽ = {{#switch: {{int: {{{1}}}/en }} | }}⧽ = {{#switch: {{int: {{{1}}}/en }} | ||
| ⧼{{{1}}}/en⧽ = {{{2}}} | | ⧼{{{1}}}/en⧽ = {{{missing<includeonly>|{{{2}}}</includeonly>}}} | ||
| #default = {{int: {{{1}}}/en }} | | #default = {{int: {{{1}}}/en }} | ||
}} | }} | ||
| Line 16: | Line 16: | ||
}} | }} | ||
}} | }} | ||
}}</onlyinclude> | }}{{#ifeq:{{{2}}}|{{{2|}}}|{{#switch:{{NAMESPACE}} | ||
| Template = [[Category:Templates using ((int)) with default value in parameter 2]] | |||
| #default = [[Category:Pages using ((int)) with default value in parameter 2]] | |||
}}}}</onlyinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | ||