Difference between revisions of "Template:HeldbyCountCommas"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#count:{{{h|{{{1}}}}}}|,}} | <includeonly>{{#switch:{{#count:{{{h|{{{1}}}}}}|,}} | ||
|0={{HeldbyOne| | |0={{HeldbyOne|h1={{HeldbyStd|h={{{h|{{{1}}}}}}}}|opt={{{opt}}}}} | ||
|1={{HeldbyTwo| | |1={{HeldbyTwo|h1={{HeldbyStd|h=EXPLODE1}}|opt={{{opt}}}|h2={{HeldbyStd|h=EXPLODE2}}}} | ||
|2={{HeldbyThree| | |2={{HeldbyThree|h1={{HeldbyStd|h=EXPLODE1}}|opt={{{opt}}}|h2={{HeldbyStd|h=EXPLODE2}}|h3={{HeldbyStd|h=EXPLODE3}}}} | ||
|3|4|5|6|7|8|9|10|11={{HeldbyMany| | |3|4|5|6|7|8|9|10|11={{HeldbyMany|h1={{HeldbyStd|h=EXPLODE1}}|opt={{{opt}}}|h2={{HeldbyStd|h=EXPLODE}}}} | ||
|ERROR}}</includeonly><noinclude> | |ERROR}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:58, 14 December 2021
- - -
There is a documentation subpage housing the metadata about parent template: HeldbyCountCommas.
Usage
{{HeldbyCountCommas|h=NLM,A/V Geeks|opt=catg}}
Note
If it is held by greater than 3 archives, the template HeldbyMany is used, and only the first two archives are listed.
Explode Ex.
{{#explode:{{{h}}}|,|0}}
See Also
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
h | h | could be comma separated list | Unknown | optional |