Difference between revisions of "Module:Distinguish"
Jump to navigation
Jump to search
Module documentation
test>Shirayuki (Marked this version for translation) |
test>Shirayuki (add label N parameters) |
||
| Line 3: | Line 3: | ||
</noinclude>{{#switch:<translate></translate> | </noinclude>{{#switch:<translate></translate> | ||
| = | | = | ||
| − | {{Hatnote|1=<translate><!--T:1--> Not to be confused with</translate> [[:{{{1}}}]]{{ | + | {{Hatnote|1=<translate><!--T:1--> Not to be confused with</translate> [[:{{{1}}}{{#if:{{{label 1|{{{l1|}}}}}}|{{!}}{{{label 1|{{{l1}}}}}}}}]]{{ |
#if: {{{3|}}}{{{4|}}} | #if: {{{3|}}}{{{4|}}} | ||
| − | |{{int|comma-separator}}[[:{{{2}}}]]{{int|comma-separator}} {{ | + | |{{int|comma-separator}}[[:{{{2}}}{{#if:{{{label 2|{{{l2|}}}}}}|{{!}}{{{label 2|{{{l2}}}}}}}}]]{{int|comma-separator}} {{ |
#if: {{{4|}}} | #if: {{{4|}}} | ||
| − | | [[:{{{3}}}]]{{int|comma-separator}}<translate><!--T:2--> or</translate>{{int|word-separator}}[[:{{{4}}}]] | + | | [[:{{{3}}}{{#if:{{{label 3|{{{l3|}}}}}}|{{!}}{{{label 3|{{{l3}}}}}}}}]]{{int|comma-separator}}<translate><!--T:2--> or</translate>{{int|word-separator}}[[:{{{4}}}{{#if:{{{label 4|{{{l4|}}}}}}|{{!}}{{{label 4|{{{l4}}}}}}}}]] |
| − | |<translate><!--T:3--> or</translate>{{int|word-separator}}[[:{{{3}}}]] | + | |<translate><!--T:3--> or</translate>{{int|word-separator}}[[:{{{3}}}{{#if:{{{label 3|{{{l3|}}}}}}|{{!}}{{{label 3|{{{l3}}}}}}}}]] |
}} | }} | ||
| {{ | | {{ | ||
#if: {{{2|}}} | #if: {{{2|}}} | ||
| − | |<translate><!--T:4--> or</translate>{{int|word-separator}}[[:{{{2}}}]] | + | |<translate><!--T:4--> or</translate>{{int|word-separator}}[[:{{{2}}}{{#if:{{{label 2|{{{l2|}}}}}}|{{!}}{{{label 2|{{{l2}}}}}}}}]] |
}} | }} | ||
}}.}} | }}.}} | ||
| Line 31: | Line 31: | ||
* {{tlx|Distinguish|article1|article2|article3|article4}} | * {{tlx|Distinguish|article1|article2|article3|article4}} | ||
{{Distinguish|article1|article2|article3|article4}} | {{Distinguish|article1|article2|article3|article4}} | ||
| + | * {{tlx|Distinguish|article1|label 1{{=}}label1}} | ||
| + | {{Distinguish|article1|label 1=label1}} | ||
| + | * {{tlx|Distinguish|article1|article2|label 1{{=}}label1||label 2{{=}}label2}} | ||
| + | {{Distinguish|article1|article2|label 1=label1|label 2=label2}} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 22:51, 4 April 2020
Examples
{{Distinguish|article1}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|article3}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|article3|article4}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|label 1=label1}}
Lua error at line 1: unexpected symbol near '<'.
{{Distinguish|article1|article2|label 1=label1|label 2=label2}}
Lua error at line 1: unexpected symbol near '<'.
| The above documentation is transcluded from Module:Distinguish/doc. (edit | history) Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages. Subpages of this module. |