Template:Content section: Difference between revisions
Jump to navigation
Jump to search
imported>BravelyPeculiar No edit summary |
imported>BravelyPeculiar No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#tag: h{{{heading_level|3}}} | {{#if:{{{isfile|}}}|<i class="fas fa-file></i>|<i class="fas fa-folder"></i>}} {{{prefix|}}}{{#if: {{{ | {{#tag: h{{{heading_level|3}}} | {{#if:{{{isfile|}}}|<i class="fas fa-file></i>|<i class="fas fa-folder"></i>}} {{{prefix|}}}{{#if: {{{nolink|}}}|{{{text}}}|[[{{{target}}}|{{{text|{{{target}}}}}}]]}}}} | ||
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude> | {{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude> | ||
<noinclude> | <noinclude> | ||
Line 5: | Line 5: | ||
{ | { | ||
"params": { | "params": { | ||
" | "nolink": { | ||
"label": "Is link?", | "label": "Is not a link?", | ||
"description": "If true, link | "description": "If true, don't link or transclude the linked page", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, |
Latest revision as of 15:20, 4 April 2019
[[{{{target}}}|{{{target}}}]]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Is not a link? | nolink | If true, don't link or transclude the linked page | Page name | optional |
Page to link to | target | no description | Page name | required |
Section name / link label | text | no description | String | required |
Non-link prefix | prefix | Non-link text in front of the link in the heading. | String | optional |
Heading level | heading_level level | no description | String | optional |
Is file? | isfile | If true, use file icon instead of folder icon | Boolean | optional |