Difference between revisions of "Template:Caution"

From PhysWiki
Jump to: navigation, search
m (oh, but they are completely reduntant...)
(Making this template show the WP:AMBOX style on article pages. Also added an "image" parameter. (Tested in the sandbox.))
Line 1: Line 1:
{| class="messagebox {{#ifeq:{{TALKSPACE}}|{{NAMESPACE}}|standard-talk}}"
+
{{main talk other
| style="width: 56px" | [[Image:Emblem-important.svg|48px|center|Comment]]
+
| demospace = {{{demospace|}}}
| {{{1}}}
+
| 1 =  <!--Articles (main space)-->
|}<noinclude>
+
  {{ambox | type=content
{{Documentation, template}}
+
  | image = [[Image:{{{image|Emblem-important.svg}}}|40px|Caution]]
 +
  | text = {{{1}}}
 +
  }}
 +
| 2 =  <!--Talk pages-->
 +
  <table class="messagebox standard-talk">
 +
  <tr><td>[[Image:{{{image|Emblem-important.svg}}}|40px|Caution]]
 +
  <td align="left" width="100%">{{{1}}}
 +
  </table>
 +
| 3 =  <!--Other pages-->
 +
  <table class="messagebox">
 +
  <tr><td>[[Image:{{{image|Emblem-important.svg}}}|40px|Caution]]
 +
  <td align="left" width="100%">{{{1}}}
 +
  </table>
 +
}}<noinclude>
 +
 
 +
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 20:20, 9 April 2008

Template:Main talk other

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox