Template:Content file: Difference between revisions
Jump to navigation
Jump to search
imported>BravelyPeculiar No edit summary |
imported>BravelyPeculiar No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#tag: h{{{level|3}}} | | {{#tag: h{{{level|3}}} | | ||
{{fileicon}} | {{#if: {{{archive|}}} |{{archiveicon}}|{{fileicon}}}} {{{prefix|}}}{{{text|[[{{{1}}}]]}}}}} | ||
{{#ifexist: {{{ | {{#ifexist: {{{1}}} |{{:{{{1}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Target page", | "label": "Target page", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | |||
"prefix": { | |||
"label": "Non-link prefix", | |||
"type": "string" | |||
}, | }, | ||
"text": { | "text": { | ||
"label": " | "label": "Repalcement display text", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 17: | Line 21: | ||
"type": "number", | "type": "number", | ||
"description": "Defaults to 3" | "description": "Defaults to 3" | ||
}, | |||
"archive": { | |||
"label": "Is archive?", | |||
"type": "boolean", | |||
"description": "Uses archive icon if true" | |||
} | } | ||
} | } |
Latest revision as of 19:49, 4 April 2019
[[{{{1}}}]]
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 | Boolean | optional |