Difference between revisions of "Template:Mbox"
From Game Detectives Wiki
								
												
				| [unchecked revision] | [unchecked revision] | 
|  (Planned new version from /sandbox. Many new additions and fixes. See discussions at Wikipedia talk:Article message boxes.) |  (steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}}) | ||
| Line 1: | Line 1: | ||
| − | + | {{ {{#switch:{{NAMESPACE}} | |
| − | {{#switch:{{ | + |  |{{ns:0}}=ambox | 
| − | + |  |{{ns:Image}}=imbox | |
| − | + |  |{{ns:Category}}=cmbox | |
| − | + |  |#default=ambox | |
| − | + |  }} | |
| − | + | |{{#if:{{{type|}}}|type|}}={{{type|}}} | |
| − | + | |{{#if:{{{image|}}}|image|}}={{{image|}}} | |
| − | + | |{{#if:{{{style|}}}|style|}}={{{style|}}} | |
| − | + | |{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}} | |
| − | + | |{{#if:{{{text|}}}|text|}}={{{text|}}} | |
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | {{# | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | {{#if:{{{ | ||
| − | |||
| }} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 10:44, 20 May 2008
|  | 

