Difference between revisions of "Template:HeldbyThree/doc"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== | == Usage == | ||
<nowiki>{{HeldbyTwo|h1=|opt=|h2=|h3=}}</nowiki> | <nowiki>{{HeldbyTwo|h1=|opt=|h2=|h3=}}</nowiki> | ||
Line 16: | Line 16: | ||
;ncat | ;ncat | ||
:return name with url to ent AND cat | :return name with url to ent AND cat | ||
== See Also == | == See Also == | ||
Line 26: | Line 24: | ||
*** [[Template:HeldbyThree]] | *** [[Template:HeldbyThree]] | ||
*** [[Template:HeldbyMany]] | *** [[Template:HeldbyMany]] | ||
**** [[Template:HeldbyCat]] | |||
**** [[Template:HeldbyName]] | |||
* {{Purge}} | * {{Purge}} | ||
*[[JJR/heldby]] | *[[JJR/heldby]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"opt": { | |||
"aliases": [ | |||
"2" | |||
], | |||
"label": "Option", | |||
"description": "catg,name,link,ncat. catg returns categories without a sentence. name, link, and ncat return a sentence", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"h1": { | |||
"label": "First Collection", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"h2": {}, | |||
"h3": {} | |||
}, | |||
"description": "two collections" | |||
} | |||
</templatedata> | |||
[[Category:JR templates]] |
Latest revision as of 17:37, 15 December 2021
- - -
There is a documentation subpage housing the metadata about parent template: HeldbyThree.
Usage
{{HeldbyTwo|h1=|opt=|h2=|h3=}}
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 |
h3 | h3 | no description | Unknown | optional |