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|}}} | <i class="fas fa-link"></i> {{{prefix}}}[[{{{target}}}|{{{text|{{{target}}}}}}]] | [[{{{target}}}|<i class="fas fa-link"></i> {{{text|{{{target}}}}}}]]}}}}
{{#tag: h{{{heading_level|3}}} | {{#if:{{{prefix|}}} | {{Content icon|{{{is_file}}}}} {{{prefix}}}[[{{{target}}}|{{{text|{{{target}}}}}}]] | [[{{{target}}}|{{Content icon|{{{is_file}}}}} {{{text|{{{target}}}}}}]]}}}}
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude>
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude>
<templatedata>
<templatedata>
Line 22: Line 22:
"type": "string",
"type": "string",
             "aliases": ["level"]
             "aliases": ["level"]
        },
        "is_file": {
"label": "True for file icon, false for folder icon",
"type": "boolean",
            "default": "0"
         }
         }
}
}

Revision as of 14:59, 4 April 2019

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

No description.

Template parameters

ParameterDescriptionTypeStatus
Page to link totarget

no description

Page namerequired
Non-link text to prefix the link in the headingprefix

no description

Stringoptional
Section name / link labeltext

no description

Stringrequired
Heading level of the display textheading_level level

no description

Stringoptional
True for file icon, false for folder iconis_file

no description

Default
0
Booleanoptional