Template:Content section: Difference between revisions
Jump to navigation
Jump to search
imported>BravelyPeculiar No edit summary |
imported>BravelyPeculiar No edit summary |
||
Line 11: | Line 11: | ||
}, | }, | ||
"prefix": { | "prefix": { | ||
"label": "Non-link text | "label": "Non-link prefix", | ||
"description": "Non-link text in front of the link in the heading", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 20: | Line 21: | ||
}, | }, | ||
"heading_level": { | "heading_level": { | ||
"label": "Heading level | "label": "Heading level", | ||
"type": "string", | "type": "string", | ||
"aliases": ["level"] | "aliases": ["level"] | ||
}, | }, | ||
"is_file": { | "is_file": { | ||
"label": "True for file icon, false for folder icon", | "label": "Is file?", | ||
"description": "True for file icon, false for folder icon", | |||
"type": "boolean", | "type": "boolean", | ||
"default": "0" | "default": "0" |
Revision as of 15:01, 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? | is_file | True for file icon, false for folder icon
| Boolean | optional |