Difference between revisions of "Template:HeldbyTwo"
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{opt|{{{2}}}}}} | <includeonly>{{#switch:{{{opt|{{{2}}}}}} | ||
|catg={{HeldbyCat|{{{h1}}}}}{{HeldbyCat|{{{h2}}}}} | |||
| | |name=It is held by at least two archives, including {{HeldbyName|{{{h1}}}}} and {{HeldbyName|{{{h2}}}}}. | ||
|link=It is held by at least two archives, including [[:Category:{{HeldbyName|{{{h1}}}}}|{{HeldbyName|{{{h1}}}}}]] and [[:Category:{{HeldbyName|{{{h2}}}}}|{{HeldbyName|{{{h2}}}}}]]. | |||
|ncat=It is held by at least two archives, including [[:Category:{{HeldbyName|{{{h1}}}}}|{{HeldbyName|{{{h1}}}}}]] and [[:Category:{{HeldbyName|{{{h2}}}}}|{{HeldbyName|{{{h2}}}}}]]. {{HeldbyCat|{{{h1}}}}}{{HeldbyCat|{{{h2}}}}} | |||
|ERRhb2}} [[Category:Held in Multiple Collections]]</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:38, 2 March 2022
- - -
There is a documentation subpage housing the metadata about parent template: HeldbyTwo.
usage
{{HeldbyTwo|h1=|opt=|h2=}}
opt
- catg
- just return cat
- name
- just return name
- link
- just return name with url to ent
- ncat
- return name with url to ent AND cat
See Also
two collections
Parameter | Description | Type | Status | |
---|---|---|---|---|
Option | opt 2 | catg,name,link,ncat. catg returns categories without a sentence. name, link, and ncat return a sentence | String | required |
First Collection | h1 | no description | String | required |
h2 | h2 | no description | Unknown | optional |