Template:Callout: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly><div class="callout"><!-- --><span class="callout-header"></span><!-- --><div class="callout-content"></div><!-- --></div><includeonly><noinclude> {{docs}} <templatedata> { "params": {}, "description": "A template for producing various notices." } </templatedata> </noinclude>") |
No edit summary |
||
Line 7: | Line 7: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": {}, | "params": { | ||
"description": "A template for producing various notices." | "1": { | ||
"label": "Type", | |||
"description": "Type of the callout. Select from the suggested values. Any casing is supported.", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Info", | |||
"Warning", | |||
"Danger", | |||
"Example", | |||
"Tip" | |||
], | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Content", | |||
"description": "Content of the callout.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"header": { | |||
"label": "Header label", | |||
"description": "Header text of the callout. By default, depends on the type.", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"align": { | |||
"label": "Align", | |||
"description": "Alignment of the callout.", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Left", | |||
"Center", | |||
"Right", | |||
"None" | |||
], | |||
"default": "None", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "A template for producing various notices.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"header", | |||
"align" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |