Template:Ambox/core

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}">
 
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}">
 +
 
<tr>{{#switch:{{{image|}}}
 
<tr>{{#switch:{{{image|}}}
|blank
+
 
|none = <td class="mbox-empty-cell"></td>
+
|blank
|#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
+
 
  |{{{image}}}
+
|none = <td class="mbox-empty-cell"></td>
  |[[File:{{#switch:{{{type|}}}
+
 
  |speedy = Ambox speedy deletion.png
+
|#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
  |delete = Ambox deletion.png
+
 
  |content = Ambox content.png
+
|{{{image}}}
  |style = Edit-clear.png
+
 
  |move = Ambox move.png
+
|[[File:{{#switch:{{{type|}}}
  |protection = Ambox protection.png
+
 
  |notice|#default = Ambox notice.png
+
|critical = Ambox warning pn.png
  }}|40x40px|link=|alt=]]
+
 
}}</div></td>
+
|important = Ambox warning pn.png
 +
 
 +
|warning = Ambox content.png
 +
 
 +
|caution = Edit-clear.png
 +
 
 +
|move = Ambox move.png
 +
 
 +
|protection = Ambox protection.png
 +
 
 +
|notice|#default = Ambox notice.png
 +
 
 +
}}|40x40px|link=|alt=]]
 +
 
 +
}}</div></td>
 +
 
 
}}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}}
 
}}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}}
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
+
 
  |{{{talk}}}
+
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
  |{{TALKPAGENAME}}
+
 
  }}
+
|{{{talk}}}
  |&#32;Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
+
 
  |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
+
|{{TALKPAGENAME}}
  |the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
+
 
  }}.
+
}}
}}
+
 
 +
|&#32;Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
 +
 
 +
|[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
 +
 
 +
|the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
 +
 
 +
}}.
 +
 
 +
}}
 +
 
 
}} {{{fix|}}}</span>{{#if:{{{date|}}}
 
}} {{{fix|}}}</span>{{#if:{{{date|}}}
|&#32;<small>''({{{date}}})''</small>
+
 
 +
|&#32;<small>''({{{date}}})''</small>
 +
 
 
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
 
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
|none =  
+
 
|=
+
|none =
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
+
 
 +
|=
 +
 
 +
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
 +
 
 
}}</tr></table><noinclude>
 
}}</tr></table><noinclude>
{{documentation}}
+
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
 
</noinclude>
 
</noinclude>

Revision as of 19:01, 3 June 2013


Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox