Template:Content section: Difference between revisions
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|{{{isfile}}}}} {{{prefix}}}[[{{{target}}}|{{{text|{{{target}}}}}}]] | [[{{{target}}}|{{Content icon|{{{isfile}}}}} {{{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"] | ||
}, | }, | ||
"isfile": { | |||
"label": "Is file?", | "label": "Is file?", | ||
"description": " | "description": "Set true to use file icon instead of folder icon", | ||
"type": "boolean | "type": "boolean" | ||
} | } | ||
} | } |
Revision as of 15:07, 4 April 2019
[[{{{target}}}|Template:Content icon {{{target}}}]]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page to link to | target | no description | Page name | required |
Non-link prefix | prefix | Non-link text in front of the link in the heading | String | optional |
Section name / link label | text | no description | String | required |
Heading level | heading_level level | no description | String | optional |
Is file? | isfile | Set true to use file icon instead of folder icon | Boolean | optional |