7,269
editsMore actions
Updated documentation and added category
(Switched table format to use <pre> tags for proper multiline formatting) |
(Updated documentation and added category) |
||
Line 16: | Line 16: | ||
}} | }} | ||
| #default = Unknown style option <code>{{{style|}}}</code>. Expected <code>table</code> (default) or <code>list</code>. | | #default = Unknown style option <code>{{{style|}}}</code>. Expected <code>table</code> (default) or <code>list</code>. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude>{{documentation|content= | ||
This template is designed to easily demo template usage and is intended for use within template documentation pages. It lets you display a set of template examples with the markup and rendered output displayed side-by-side. | This template is designed to easily demo template usage and is intended for use within template documentation pages. It lets you display a set of template examples with the markup and rendered output displayed side-by-side. | ||
Line 87: | Line 87: | ||
}}</nowiki> | }}</nowiki> | ||
}} | }} | ||
== Template data == | |||
<templatedata> | |||
{ | |||
"description": "Display a quote with an accompanying image which are aligned with each other. The template supports an arbitrary number of examples as unnamed arguments.", | |||
"format": "block", | |||
"params": { | |||
"1": { | |||
"label": "Example 1", | |||
"description": "Example markup/wikitext to demo.", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"2": { | |||
"label": "Example 2", | |||
"description": "Example markup/wikitext to demo.", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"3...": { | |||
"label": "And so on...", | |||
"description": "Example markup/wikitext to demo.", | |||
"type": "content", | |||
"required": false | |||
}, | |||
"style": { | |||
"label": "Style", | |||
"description": "Select the layout style appropriate for the template being demoed.", | |||
"type": "string", | |||
"suggestedvalues": ["table", "list"], | |||
"default": "table" | |||
} | |||
} | |||
} | |||
</templatedata>}} | |||
[[Category: Templates]] | |||
</noinclude> | </noinclude> |