Template:Tip: Difference between revisions
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--> | ||
< | |||
</translate> | |||
{{Tip|This text should be considered.}} | <pre> | ||
<nowiki></translate> | |||
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}} | |||
<translate></nowiki> | |||
</pre> | |||
<translate> | |||
== | == Example == <!--T:3--> | ||
</translate> | |||
{{Tip{{#translation:}}|<translate><!--T:4--> This text should be considered.</translate>}} | |||
<translate> | |||
== See also == <!--T:5--> | |||
</translate> | |||
{{Template:NotifyBoxesList}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><div class="template-box template-box-tip">< | </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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The text to display.
| String | required |