Template:Command Infobox: Difference between revisions
From Blockate Wiki
Content added Content deleted
Megamonsta2 (talk | contribs) No edit summary |
Megamonsta2 (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | 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> |
|||
⚫ | |||
<data source="amount"> |
|||
| {{{amount}}} |
|||
⚫ | |||
|- {{#if: {{{permission|}}}||style="display: none"}} |
|||
</data> |
|||
! Minimum Permission Level |
|||
</infobox> |
|||
| {{{permission}}} |
|||
|} |
|||
<noinclude> |
<noinclude> |
||
Example usage:<pre> |
Example usage:<pre> |
||
{{ |
{{Command Infobox |
||
|title=Example |
|title=Example |
||
|image=Example |
|image=Example |
||
Line 21: | Line 24: | ||
|function=Example |
|function=Example |
||
|amount=Example |
|amount=Example |
||
|permission=Example |
|||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Templates]][[Category:Infobox Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 17:10, 24 October 2022
Command Infobox |
---|
Example usage:
{{Command Infobox |title=Example |image=Example |caption=Example |function=Example |amount=Example |permission=Example }}