Template:Tip: Difference between revisions

From DDraceNetwork
No edit summary
make tip translateable
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<translate>
<!--T:1-->
A "Tip" box used to share helpful hints.
A "Tip" box used to share helpful hints.


== Usage ==
== Usage == <!--T:2-->
<code><nowiki>{{Tip|This text should be considered.}}</nowiki></code>


== Example ==
</translate>
{{Tip|This text should be considered.}}
<pre>
<nowiki></translate>
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
<translate></nowiki>
</pre>
<translate>


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


* [[Template:Note]]
</translate>
* [[Template:Tip]]
{{Tip{{#translation:}}|<translate><!--T:4--> This text should be considered.</translate>}}
* [[Template:Todo]]
<translate>
* [[Template:Warning]]
 
== See also == <!--T:5-->
</translate>
{{Template:NotifyBoxesList}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly><div class="template-box template-box-tip"><strong>Tip:</strong> {{{1|}}}</div></includeonly>
</noinclude><includeonly><div class="template-box template-box-tip"><translate><!--T:6--> '''Tip:'''</translate> {{{1}}}</div></includeonly><noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 24: Line 33:
"label": "Text",
"label": "Text",
"description": "The text to display.",
"description": "The text to display.",
"example": "This should be considered.",
"example": "This text should be considered.",
"type": "string",
"type": "string",
"required": true
"required": true
}
}
},
},
"description": "A \"Tip\" box used to share helpful hints. ",
"description": "A \"Tip\" box used to share helpful hints.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:46, 18 February 2023

A "Tip" box used to share helpful hints.

Usage

</translate>
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
<translate>

Example

Tip: This text should be considered.

See also

A "Tip" box used to share helpful hints.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to display.

Example
This text should be considered.
Stringrequired