Template:Multiple use: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(→Usage) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{|type="wikitable" border="0" | {|type="wikitable" border="0" | ||
|[[File:mass.png|50px]] | |[[File:mass.png|50px]] | ||
|The element name '''{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}''' is used several times within {{rml}} in different contexts. See the | |The element name '''{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}''' is used several times within {{rml}} in different contexts. See the list below for the different occurances. | ||
|} | |} | ||
|}[[category:Multiply used names]] | |}[[category:Multiply used names]] | ||
{{#ifeq:{{{mode}}}|1| | |||
{{#dpl: | |||
|titlematch={{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}} | |||
|namespace= | |||
|format=,*[[%PAGE%]],\n | |||
}} | |||
}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in [[:category:Multiply used names]]. Place it on the page of the multiply used element name and use [[template:mult_line]] for the occurances. | This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in [[:category:Multiply used names]]. Place it on the page of the multiply used element name and use [[template:mult_line]] for the occurances. – or, better, employ [[Template:findMultiple]] | ||
==Dependencies== | ==Dependencies== | ||
The template uses [[template:rml]]. | The template uses [[template:rml]]. | ||
==Arguments== | ==Arguments== | ||
The template has one optional unnamed argument: | The template has one optional unnamed argument: | ||
*1: The element name. The default is PAGENAME. | *1 (optional): The element name. The default is PAGENAME. | ||
*mode (optional): The mode. If mode=1, then the list will be produced automatically. | |||
==Examples== | ==Examples== | ||
The template is used e.g. on page ''[[IS:states]]''. | The template is used e.g. on page ''[[IS:states]]''. | ||
Line 22: | Line 30: | ||
delivers | delivers | ||
{ | {{multiple use|states}} | ||
{ | |||
[[Category:ContentTemplate]] | [[Category:ContentTemplate]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:04, 21 March 2022
Usage
This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in category:Multiply used names. Place it on the page of the multiply used element name and use template:mult_line for the occurances. – or, better, employ Template:findMultiple
Dependencies
The template uses template:rml.
Arguments
The template has one optional unnamed argument:
- 1 (optional): The element name. The default is PAGENAME.
- mode (optional): The mode. If mode=1, then the list will be produced automatically.
Examples
The template is used e.g. on page IS:states.
{{multiple use|states}}
delivers
|