Difference between revisions of "Template:Mbox"
From Game Detectives Wiki
								
												
				| [unchecked revision] | [unchecked revision] | 
 (testing wikitable code, and changes of logic, do not kill me it if's not working)  | 
				 (restore to html syntax)  | 
				||
| Line 1: | Line 1: | ||
| − | + | <table class="metadata plainlinks ambox {{#switch:{{{type|}}}  | |
   | serious  = ambox-serious  |    | serious  = ambox-serious  | ||
   | content  = ambox-content  |    | content  = ambox-content  | ||
| Line 6: | Line 6: | ||
   | notice   = ambox-notice  |    | notice   = ambox-notice  | ||
   | #default = ambox-notice  |    | #default = ambox-notice  | ||
| − | }}"  | + | }}">  | 
| − | + | <tr>  | |
{{#ifeq:{{{image}}}|none  | {{#ifeq:{{{image}}}|none  | ||
   | <!-- no image cell -->  |    | <!-- no image cell -->  | ||
| − |    |   | + |    | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}  | 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]  |      | serious  = [[Image:Stop hand nuvola.svg|40px]]  | ||
     | content  = [[Image:Emblem-important.svg|40px]]  |      | content  = [[Image:Emblem-important.svg|40px]]  | ||
| Line 18: | Line 18: | ||
     | blank    = <!-- empty image cell -->  |      | blank    = <!-- empty image cell -->  | ||
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}  |      | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}  | ||
| − |    }}  | + |    }}</td>  | 
}}  | }}  | ||
| − | + | <td> {{{text}}} </td>  | |
{{#if:{{{imageright|}}}  | {{#if:{{{imageright|}}}  | ||
| − | + |    <td class="ambox-imageright"> {{{imageright}}} </td>  | |
}}  | }}  | ||
| − | + | </table><noinclude>  | |
{{template doc}}  | {{template doc}}  | ||
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->  | <!-- Add categories and inter-wikis to the /doc subpage, not here! -->  | ||
</noinclude>  | </noinclude>  | ||
Revision as of 23:54, 15 September 2007
| 40px | {{{text}}} |