Template:Command Infobox: Difference between revisions

From Blockate Wiki
no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1:
<{| class="wikitable infobox>"
! colspan="2" class="infobox-header" style="background-color: #ff5959;" | {{{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>
! <label>Amount of Commands Types</label>
<data source="amount">
| {{{amount}}}
<label>Amount of Commands Types</label>
|- {{#if: {{{permission|}}}||style="display: none"}}
</data>
! Minimum Permission Level
</infobox>
| {{{permission}}}
|}
 
<noinclude>
Example usage:<pre>
Line 21 ⟶ 24:
|function=Example
|amount=Example
|permission=Example
}}
</pre>
[[Category:Templates]][[Category:Infobox Templates]]
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.