Difference between revisions of "Template:HeldbyTwo/doc"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== usage == | |||
<nowiki>{{HeldbyTwo|h1=|opt=|h2=}}</nowiki> | |||
=== 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 == | == See Also == | ||
* [[Template:HeldbyCountCommas]] | * [[Template:HeldbyCountCommas]] | ||
Line 7: | Line 25: | ||
*** [[Template:HeldbyThree]] | *** [[Template:HeldbyThree]] | ||
*** [[Template:HeldbyMany]] | *** [[Template:HeldbyMany]] | ||
**** [[Template:HeldbyCat]] | |||
**** [[Template:HeldbyName]] | |||
* {{Purge}} | * {{Purge}} | ||
*[[JJR/heldby]] | * [[JJR/heldby]] | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 17: | Line 37: | ||
], | ], | ||
"label": "Option", | "label": "Option", | ||
"description": "catg,name,link,ncat", | "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", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"h2": {} | "h2": {} | ||
} | }, | ||
"description": "two collections" | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Filmjr Helper Tpls]] |
Latest revision as of 17:42, 26 February 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 |