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 1: Line 1:
{{#tag: h{{{heading_level|3}}} | {{#if:{{{prefix|}}} | {{Content icon|{{{is_file}}}}} {{{prefix}}}[[{{{target}}}|{{{text|{{{target}}}}}}]] | [[{{{target}}}|{{Content icon|{{{is_file}}}}} {{{text|{{{target}}}}}}]]}}}}
{{#tag: h{{{heading_level|3}}} | {{#if:{{{prefix|}}} | {{Content icon|{{{isfile}}}}} {{{prefix}}}[[{{{target}}}|{{{text|{{{target}}}}}}]] | [[{{{target}}}|{{Content icon|{{{isfile}}}}} {{{text|{{{target}}}}}}]]}}}}
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude>
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude>
<noinclude>
<noinclude>
Line 25: Line 25:
             "aliases": ["level"]
             "aliases": ["level"]
         },
         },
         "is_file": {
         "isfile": {
"label": "Is file?",
"label": "Is file?",
             "description": "True for file icon, false for folder icon",
             "description": "True for file icon, false for folder icon",

Revision as of 15:02, 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?isfile

True for file icon, false for folder icon

Default
0
Booleanoptional