Difference between revisions of "Template:Collapsible"

From TFC:TNG
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 03:52, 28 January 2020

A template for linking to a commons category about an article

Template parameters

ParameterDescriptionTypeStatus
Commons categorycollapsed

The commons category you want to link to.

Default
Category:CommonsRoot
Stringrequired