Difference between revisions of "Template:HeldbyCountCommas"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#switch:{{#count:{{{h|{{{1}}}}}}|,}} |0=It is held in the {{{h|{{{1}}}}}} collection. |1=It is held by at least two archives, including the {{HldCode|h={{#explo...") |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#count:{{{h|{{{1}}}}}}|,}} | <includeonly>{{#switch:{{#count:{{{h|{{{1}}}}}}|,}} | ||
|0=It is held in the {{{h|{{{1}}}}}} collection. | |0=It is held in the {{HldCode|h={{{h|{{{1}}}}}}|opt=ncat}} collection. | ||
|1=It is held by at least two archives, including the {{HldCode|h={{#explode:{{{h}}}|,|0}}|opt=ncat}} and the {{HldCode|h={{#explode:{{{h}}}|,|1}}|opt=ncat}}. | |1=It is held by at least two archives, including the {{HldCode|h={{#explode:{{{h}}}|,|0}}|opt=ncat}} and the {{HldCode|h={{#explode:{{{h}}}|,|1}}|opt=ncat}}. | ||
|2=It's available in three collections, including the {{HldCode|h={{#explode:{{{h}}}|,|0}}|opt=ncat}} and the {{HldCode|h={{#explode:{{{h}}}|,|1}}|opt=ncat}}. | |2=It's available in three collections, including the {{HldCode|h={{#explode:{{{h}}}|,|0}}|opt=ncat}} and the {{HldCode|h={{#explode:{{{h}}}|,|1}}|opt=ncat}}. |
Revision as of 17:29, 10 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 |