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}}}|[[{{{target}}}|<i class="fas fa-link"></i> {{{text|{{{target}}}}}}]]}} | {{#tag:h{{{heading_level|3}}}|[[{{{target}}}|<i class="fas fa-link"></i> {{{prefix|}}}{{{text|{{{target}}}}}}]]}} | ||
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude> | {{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 8: | Line 8: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | |||
"prefix": { | |||
"label": "Non-link text to prefix the link in the heading", | |||
"type": "string" | |||
}, | }, | ||
"text": { | "text": { | ||
Revision as of 12:20, 4 April 2019
[[{{{target}}}| {{{target}}}]]
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page to link to | target | no description | Page name | required |
| Non-link text to prefix the link in the heading | prefix | no description | String | optional |
| Section name / link label | text | no description | String | required |
| Heading level of the display text | heading_level level | no description | String | optional |