Difference between revisions of "Template:Caution"

From PhysWiki
Jump to: navigation, search
(image formatting, style parameter)
m (56 revisions: Column template)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Mbox
 
{{Mbox
 
| name = Caution
 
| name = Caution
| small = {{{small|}}}
+
| demospace  = {{{demospace|}}}
| demospace = {{{demospace|}}}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
 +
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
 
| type = style
 
| type = style
 
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|40px|Caution|link={{{imagelink|}}}]]}}
 
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|40px|Caution|link={{{imagelink|}}}]]}}
| style = {{{style|}}}
+
| small = {{{small|}}}
| text = {{{1}}}
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|30px|Caution|link={{{imagelink|}}}]]}}
 +
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
 +
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
 +
| text       = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:06, 5 September 2016

Template:Mbox{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox