Difference between revisions of "Template:Collapsible"
Jump to navigation
Jump to search
(Test of auto with.) |
(Testing template data.) |
||
| Line 4: | Line 4: | ||
<div class="mw-collapsible-content">{{#if: {{{hiddencontent|}}} |{{{hiddencontent}}} }}</div> | <div class="mw-collapsible-content">{{#if: {{{hiddencontent|}}} |{{{hiddencontent}}} }}</div> | ||
</div> | </div> | ||
| + | |||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "A template for linking to a commons category about an article", | ||
| + | "params": { | ||
| + | "collapsed": { | ||
| + | "label": "Commons category", | ||
| + | "description": "The commons category you want to link to.", | ||
| + | "default": "Category:CommonsRoot", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
Revision as of 02:52, 28 January 2020
A template for linking to a commons category about an article
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Commons category | collapsed | The commons category you want to link to.
| String | required |