Difference between revisions of "Template:HeldbyThree/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
== usage (incomplete) ==
== 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

Template parameters

ParameterDescriptionTypeStatus
Optionopt 2

catg,name,link,ncat. catg returns categories without a sentence. name, link, and ncat return a sentence

Stringrequired
First Collectionh1

no description

Stringrequired
h2h2

no description

Unknownoptional
h3h3

no description

Unknownoptional