Jump to content

Template:Ambox: Difference between revisions

From IdeaWazaWiki
wikademia>AzaToth
restore to html syntax
wikademia>Eme
m 1 revision
 
(49 intermediate revisions by 19 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
  | serious  = ambox-serious
| left =  
   | content  = ambox-content
   {{Ambox/core
   | style    = ambox-style
   | small      = left
   | merge    = ambox-merge
   | type      = {{{type|}}}
  | notice  = ambox-notice
   | image      = {{#if:{{{smallimage|}}}
   | #default = ambox-notice
                | {{{smallimage}}}
}}">
                | {{{image|}}}
<tr>
                }}
{{#ifeq:{{{image}}}|none
   | imageright = {{#if:{{{smallimageright|}}}
  | <!-- no image cell -->
                | {{{smallimageright}}}
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
                | {{{imageright|}}}
    | serious = [[Image:Stop hand nuvola.svg|40px]]
                }}
    | content  = [[Image:Emblem-important.svg|40px]]
  | style      = {{{style|}}}
    | style    = [[Image:Broom icon.svg|40px]]
  | textstyle = {{{textstyle|}}}
    | merge    = [[Image:Merge-split-transwiki default.svg]]
  | text      = {{#if:{{{smalltext|}}}
    | notice  = [[Image:Info non-talk.png|40px]]
                | {{{smalltext}}}
    | blank    = <!-- empty image cell -->
                | {{{text}}}
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
                }}
   }}</td>
  }}
}}
| #default =  
<td> {{{text}}} </td>
  {{Ambox/core
{{#if:{{{imageright|}}}
  | type      = {{{type|}}}
  <td class="ambox-imageright"> {{{imageright}}} </td>
  | image      = {{{image|}}}
}}
  | imageright = {{{imageright|}}}
</table><noinclude>
   | style      = {{{style|}}}
{{template doc}}
  | textstyle  = {{{textstyle|}}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
  | text      = {{{text}}}
  }}
}}<!--
 
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
 
--><!--{{Ambox}} end--><noinclude>
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 21:29, 18 December 2010

[create] Template documentation