Want to contribute? Join the Discord and ask for the editor role.
Template:Cards: Difference between revisions
Template page
(Created page with "<includeonly><div class="card-container" {{#ifeq:{{yesno|{{{wide|}}}}}|yes|floatnone}}><div class="card-row">{{{1}}}</div></div><templatestyles src="Template:Card/styles.css"...") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="card-container" {{#ifeq:{{yesno|{{{wide|}}}}}|yes|floatnone}}><div class="card-row">{{{1}}}</div></div><templatestyles src="Template: | <includeonly><div class="card-container" {{#ifeq:{{yesno|{{{wide|}}}}}|yes|floatnone}}><div class="card-row">{{{1}}}</div></div><templatestyles src="Template:Cards/styles.css" /></includeonly><noinclude>{{/doc}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 5: | Line 5: | ||
"1": { | "1": { | ||
"label": "Content", | "label": "Content", | ||
"description": "The content to insert within the container, typically [[Template:Card | "description": "The content to insert within the container, typically [[Template:Card]]s", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Line 16: | Line 16: | ||
} | } | ||
}, | }, | ||
"description": "Outputs a container for one more more cards. Everything passed to the template (typically [[Template:Card | "description": "Outputs a container for one more more cards. Everything passed to the template (typically [[Template:Card]]s) will be output within the container)", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", |
Latest revision as of 21:23, 6 May 2021
Outputs a container for one more more cards. Everything passed to the template (typically [[Template:Card]]s) will be output within the container)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | The content to insert within the container, typically [[Template:Card]]s | String | required |
Wide | wide | no description | Boolean | suggested |