Template:Warning: Difference between revisions
From CTLTMS
(Remove PD and Internationalization) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[ | <includeonly>{{#if: {{{1|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[Image:Attention niels epting.png|18px|Warning|link=]]</span> '''Warning''': {{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table>}}</includeonly><noinclude> | ||
<templatedata> | |||
{ | |||
"description": "The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like. {{warning}} Don't do that!. Alternatively, you can pass the warning text as the parameter, for example {{Warning|Don't do that!}}.", | |||
"params": { | |||
"1": { | |||
The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like. | "label": "Text to be included", | ||
"description": "Warning text to be displayed in-line and indented.", | |||
"type": "string" | |||
{{ | } | ||
}, | |||
"paramOrder": [ | |||
"1" | |||
] | |||
} | |||
</templatedata> | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:05, 21 August 2024
The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like. {{warning}} Don't do that!. Alternatively, you can pass the warning text as the parameter, for example {{Warning|Don't do that!}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text to be included | 1 | Warning text to be displayed in-line and indented. | String | optional |