Template:Content file: 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{{{level|3}}} | | {{#tag: h{{{level|3}}} | | ||
{{fileicon}} {{{prefix|}}}[[{{{1}}}|{{{1|{{{text}}}}}}]]}} | {{#if {{{archive}}} |{{archiveicon}}|{{fileicon}}}} {{{prefix|}}}[[{{{1}}}|{{{1|{{{text}}}}}}]]}} | ||
{{#ifexist: {{{1}}} |{{:{{{1}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata> | {{#ifexist: {{{1}}} |{{:{{{1}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata> | ||
{ | { | ||
Line 21: | Line 21: | ||
"type": "number", | "type": "number", | ||
"description": "Defaults to 3" | "description": "Defaults to 3" | ||
}, | |||
"archive": { | |||
"label": "Is archive?", | |||
"type": "number", | |||
"description": "Uses archive icon if true" | |||
} | } | ||
} | } |
Revision as of 18:00, 4 April 2019
{{#if {{{archive}}} ||}} [[{{{1}}}|{{{text}}}]]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target page | 1 | no description | Page name | required |
Non-link prefix | prefix | no description | String | optional |
Repalcement display text | text | no description | String | optional |
Heading level | level | Defaults to 3 | Number | optional |
Is archive? | archive | Uses archive icon if true | Number | optional |