Template:Warning: Difference between revisions

From DDraceNetwork
No edit summary
translateable
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-->


<code><nowiki>{{Warning|This text should be heeded.}}</nowiki></code>
</translate>
<pre>
<nowiki></translate>
{{Warning{{#translation:}}|<translate>This text should be heeded.</translate>}}
<translate></nowiki>
</pre>
<translate>


== Example ==
== Example == <!--T:3-->


{{Warning|This text should be heeded.}}
</translate>
{{Warning{{#translation:}}|<translate><!--T:4--> This text should be heeded.</translate>}}
<translate>


== See also ==
== See also == <!--T:5-->
 
</translate>
* [[Template:Note]]
{{Template:NotifyBoxesList}}
* [[Template:Tip]]
* [[Template:Todo]]
* [[Template:Warning]]


[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly><div class="template-box template-box-warning"><strong>Warning:</strong> {{{1}}}</div></includeonly>
</noinclude><includeonly><div class="template-box template-box-warning"><translate><!--T:6--> '''Warning:'''</translate> {{{1}}}</div></includeonly><noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {
"1": {
"aliases": [
"Text"
],
"label": "Text",
"label": "Text",
"description": "The text to display.",
"description": "The text to display.",
"example": "This text should be heeded.",
"example": "This text should be heeded.",
"required": true,
"type": "string",
"type": "string"
"required": true
}
}
},
},
"description": "A \"Warning\" box used to report potential danger. ",
"description": "A \"Warning\" box used to report potential danger.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 22:07, 18 February 2023

A "Warning" box used to report potential danger.

Usage

</translate>
{{Warning{{#translation:}}|<translate>This text should be heeded.</translate>}}
<translate>

Example

Warning: This text should be heeded.

See also

A "Warning" box used to report potential danger.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to display.

Example
This text should be heeded.
Stringrequired