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=It is held in | |0=It is held in 1 collection. | ||
|1=It is held by at least | |1=It is held by at least 2. | ||
|2=It's available in | |2=It's available in at least 3. | ||
|3=It is available in | |3=It is available in at least 4. | ||
|It is available in many collections.}}</includeonly><noinclude> | |It is available in many collections.}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:01, 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 |