Template:Warning: Difference between revisions
Import "warning" tempate from arch linux: https://wiki.archlinux.org/index.php?title=Template:Warning&oldid=706226 |
no need for translation tags |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | |||
<translate> | |||
<!--T:1--> | |||
A "Warning" box used to report potential danger. | A "Warning" box used to report potential danger. | ||
== Usage == | == Usage == <!--T:2--> | ||
< | </translate> | ||
<pre> | |||
<nowiki>{{Warning|This text should be heeded.}}</nowiki> | |||
</pre> | |||
<translate> | |||
== Example == | == Example == <!--T:3--> | ||
{{Warning|This text should be heeded.}}</noinclude><includeonly><div class="template-box template-box-warning">< | </translate> | ||
{{Warning|<translate><!--T:4--> This text should be heeded.</translate>}} | |||
<translate> | |||
== See also == <!--T:5--> | |||
</translate> | |||
{{Template:NotifyBoxesList}} | |||
[[Category:Templates{{#translation:}}]] | |||
</noinclude><includeonly><div class="template-box template-box-warning"><translate><!--T:6--> '''Warning:'''</translate> {{{1}}}</div></includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Text", | |||
"description": "The text to display.", | |||
"example": "This text should be heeded.", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "A \"Warning\" box used to report potential danger.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 23:31, 3 March 2023
A "Warning" box used to report potential danger.
Usage
{{Warning|This text should be heeded.}}
Example
Warning: This text should be heeded.
See also
A "Warning" box used to report potential danger.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The text to display.
| String | required |