Template:Warning Inline: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><onlyinclude>{{Boxed inline|icon-att-small.png|Warning|{{{1}}}|rgba(255, 242, 149, 0.6)|#c9b941}}</onlyinclude></includeonly> Category:Templates <noinclude> <templatedata> { "params": { "1": { "label": "Text", "required": true } }, "description": "Allows you to display a warning \"inline\"." } </templatedata> </noinclude>" |
m Edit |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{Boxed inline| | <includeonly><onlyinclude>{{Boxed inline|Icon-att-small.png|Warning|{{{1|Vacío...}}}|rgba(255, 242, 149, 0.6)|#c9b941}}</onlyinclude></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 8: | Line 7: | ||
"1": { | "1": { | ||
"label": "Text", | "label": "Text", | ||
"description": "Visual text in the box.", | |||
"type": "string", | |||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Allow you to show a inline warning." | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
'''Example:''' | |||
{| class="wikitable" | |||
|+ | |||
! Code !! Result | |||
|- | |||
| <code><nowiki>{{Warning Inline}}</nowiki></code> || {{Warning Inline}} | |||
|- | |||
| <code><nowiki>{{Warning Inline|Test.}}</nowiki></code> || {{Warning Inline|Test.}} | |||
|- | |||
|} | |||
[[Category:Templates]] | |||
Latest revision as of 15:51, 13 September 2026
Allow you to show a inline warning.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | Visual text in the box. | String | required |
Example:
| Code | Result |
|---|---|
{{Warning Inline}} |
|
{{Warning Inline|Test.}} |