Difference between revisions of "Template:HeldbyTwo"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{opt|{{{2}}}}}} | <includeonly>{{#switch:{{{opt|{{{2}}}}}} | ||
|catg= | |catg={{HeldbyCat|{{{h1}}}}}{{HeldbyCat|{{{h2}}}}} | ||
|name= | |name= | ||
|link= | |link= | ||
|ncat= | |ncat= | ||
|ERROR}}two {{{h1}}} and {{{h2}}} with {{{opt}}}</includeonly><noinclude> | |ERROR}} ;DEBUG TEMP: two {{{h1}}} and {{{h2}}} with {{{opt}}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 12:01, 15 December 2021
- - -
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 |