Template:Warning Inline: Difference between revisions

From eMushpedia
Jump to navigation Jump to search
Apollo105 (talk | contribs)
No edit summary
m Edit
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{Warning inline|icon-att-small.png|Warning|{{{1}}}|rgba(255, 242, 149, 0.6)|#c9b941}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{Boxed inline|Icon-att-small.png|Warning|{{{1|Vacío...}}}|rgba(255, 242, 149, 0.6)|#c9b941}}</onlyinclude></includeonly>


[[Category:Templates]]
<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": "Allows you to display a warning \"inline\"."
"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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Text1

Visual text in the box.

Stringrequired


Example:

Code Result
{{Warning Inline}} Icon Warning: Vacío...
{{Warning Inline|Test.}} Icon Warning: Test.