Template:Content section: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
No edit summary
imported>BravelyPeculiar
No edit summary
Line 11: Line 11:
},
},
         "prefix": {
         "prefix": {
"label": "Non-link text to prefix the link in the heading",
"label": "Non-link prefix",
            "description": "Non-link text in front of the link in the heading",
"type": "string"
"type": "string"
},
},
Line 20: Line 21:
},
},
         "heading_level": {
         "heading_level": {
"label": "Heading level of the display text",
"label": "Heading level",
"type": "string",
"type": "string",
             "aliases": ["level"]
             "aliases": ["level"]
         },
         },
         "is_file": {
         "is_file": {
"label": "True for file icon, false for folder icon",
"label": "Is file?",
            "description": "True for file icon, false for folder icon",
"type": "boolean",
"type": "boolean",
             "default": "0"
             "default": "0"

Revision as of 15:01, 4 April 2019

[[{{{target}}}|Template:Content icon {{{target}}}]]

No description.

Template parameters

ParameterDescriptionTypeStatus
Page to link totarget

no description

Page namerequired
Non-link prefixprefix

Non-link text in front of the link in the heading

Stringoptional
Section name / link labeltext

no description

Stringrequired
Heading levelheading_level level

no description

Stringoptional
Is file?is_file

True for file icon, false for folder icon

Default
0
Booleanoptional