Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Inline box/doc2: Difference between revisions

Template page
Created page with "<noinclude>{{ombox|text=This is the documentation page for {{tl|info}}, {{tl|warning}}, {{tl|critical}}, and {{tl|success}}.}}</noinclude> This is a small message box that uses {{tl|inline box}}. === See also === You probably don't want to use this template directly, instead consider: * {{tl|info}} * {{tl|warning}} * {{tl|critical}} * {{tl|success}} === TemplateData === <templatedata> { "params": { "class": { "label": "CSS classes", "description": "Additional..."
 
change preferred format from block to inline
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


This is a small message box that uses {{tl|inline box}}.
This is a small message box that uses {{tl|inline box}}.
=== Example ===
{{#tag:pre|
<nowiki>{{</nowiki>{{lcfirst:{{ROOTPAGENAME}}}}{{!}}text={{ROOTPAGENAME}} text here<nowiki>}}</nowiki>
}}
<!-- this feels like a hack lol, i definitely don't need to make it this complicated but i did -->
{{ {{ROOTPAGENAME}} |text={{ROOTPAGENAME}} text here}}


=== See also ===
=== See also ===
You probably don't want to use this template directly, instead consider:
* {{tl|info}}
* {{tl|info}}
* {{tl|warning}}
* {{tl|warning}}
Line 47: Line 53:
"class"
"class"
],
],
"format": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>