Manga Wiki
(make metadata optional - this metatemplate 1is used to create content boxes (eg {{listen}}) as well as maintenance templates (ambox-small etc))
m (1 revision: importing some missing templates)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
{{#invoke:Side box|main}}<noinclude>
<table class="{{#ifeq:{{lc:{{{metadata|}}}}}|no||metadata}} mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
{{#if:{{{above|}}}
+
{{documentation}}
  +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}">
 
  +
</noinclude>
{{{above}}}</td></tr>
 
}}
 
<tr>
 
{{#switch:{{{image|}}}
 
|<!--BLANK-->|none={{td}}
 
|#default=<td class="mbox-image">{{{image}}}</td>
 
}}
 
<td class="mbox-text plainlist" style="{{{textstyle|}}}">{{{text}}}</td>
 
{{#if:{{{imageright|}}}
 
| <td class="mbox-imageright">{{{imageright}}}</td>
 
}}
 
</tr>
 
{{#if:{{{below|}}}
 
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}">{{{below}}}</td></tr>
 
}}
 
</table><noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc subpage --></noinclude>
 

Latest revision as of 17:08, 3 July 2016

50px Template documentation[create]