Difference between revisions of "Template:HeldbyCountCommas"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
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={{#explode:{{{h}}}|,|0}}}}|opt={{{opt}}}|h2={{HeldbyStd|h={{#explode:{{{h}}}|,|1}}}}}} | ||
|2={{HeldbyThree}} | |2={{HeldbyThree|h1={{HeldbyStd|h={{#explode:{{{h}}}|,|0}}}}|opt={{{opt}}}|h2={{HeldbyStd|h={{#explode:{{{h}}}|,|1}}}}|h3={{HeldbyStd|h={{#explode:{{{h}}}|,|2}}}}}} | ||
|3|4|5|6|7|8|9|10|11={{HeldbyMany}} | |3|4|5|6|7|8|9|10|11={{HeldbyMany|h1={{HeldbyStd|h={{#explode:{{{h}}}|,|0}}}}|opt={{{opt}}}|h2={{HeldbyStd|h={{#explode:{{{h}}}|,|1}}}}}} | ||
|ERROR}}</includeonly><noinclude> | |ERROR}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:31, 15 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 |