Template:Command Infobox: Difference between revisions
From Blockate Wiki
Content added Content deleted
Megamonsta2 (talk | contribs) m (1 revision imported) |
Megamonsta2 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable infobox" |
|||
! colspan="2" class="infobox_header" | {{{title|{{PAGENAME}}}}} |
|||
<title source="title"> |
|||
|- {{#if: {{{image|}}}||style="display: none"}} |
|||
<default>{{PAGENAME}}</default> |
|||
! colspan="2" | [[File:{{{image}}}|200px]] |
|||
</title> |
|||
|- {{#if: {{{caption|}}}||style="display: none"}}{{#if: {{{image|}}}||style="display: none"}} |
|||
<image source="image"> |
|||
| colspan="2" style="text-align: center" | <small>{{{caption}}}</small> |
|||
<caption source="caption"/> |
|||
|- {{#if: {{{function|}}}||style="display: none"}} |
|||
</image> |
|||
! Function |
|||
<data source="function"> |
|||
| {{{function}}} |
|||
<label>Function</label> |
|||
|- {{#if: {{{amount|}}}||style="display: none"}} |
|||
</data> |
|||
⚫ | |||
<data source="amount"> |
|||
| {{{amount}}} |
|||
⚫ | |||
|- {{#if: {{{permission|}}}||style="display: none"}} |
|||
</data> |
|||
⚫ | |||
<data source="permission"> |
|||
| {{{permission}}} |
|||
⚫ | |||
|} |
|||
</data> |
|||
</infobox> |
|||
<noinclude> |
<noinclude> |
||
Example usage:<pre> |
Example usage:<pre> |
||
Line 27: | Line 27: | ||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Templates]][[Category:Infobox Templates]] |
|||
</noinclude> |
</noinclude> |