Template:Dmbox: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
(update)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
| <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> {{#if:{{{image|}}}
| <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> {{#if:{{{image|}}}
   | {{{image}}}
   | {{{image}}}
   | [[File:{{#switch:{{{type|}}}
   | [[File:Disambig gray.png|30px|alt=Disambiguation icon]]
    | setindex = List gray.png
    | disambig      <!-- disambig = default -->
    | #default = Disambig gray.png
    }}|30px|alt=Disambiguation icon]]
   }}</td>
   }}</td>
}}
}}
Line 35: Line 31:
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--  
}}<!--  
  Magic word for disambiguation pages:
-->{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}<!--
   Categorization:
   Categorization:
-->{{#switch:{{{type|}}}
-->{{#switch:{{{type|}}}
Line 55: Line 49:
   }}
   }}
}}<noinclude>
}}<noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:31, 30 September 2015

[create] Documentation icon Template documentation