Template:Command Infobox: Difference between revisions
From Blockate Wiki
Content added Content deleted
Megamonsta2 (talk | contribs) (Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...") |
Megamonsta2 (talk | contribs) No edit summary |
||
(7 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="title1"> |
|||
|- {{#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="image1"> |
|||
| colspan="2" style="text-align: center" | <small>{{{caption}}}</small> |
|||
<caption source="caption1"/> |
|||
|- {{#if: {{{function|}}}||style="display: none"}} |
|||
</image> |
|||
! Function |
|||
<data source="row1"> |
|||
| {{{function}}} |
|||
<label>Label</label> |
|||
|- {{#if: {{{amount|}}}||style="display: none"}} |
|||
</data> |
|||
! Amount of Commands |
|||
<data source="row2"> |
|||
| {{{amount}}} |
|||
<label>Label</label> |
|||
|- {{#if: {{{permission|}}}||style="display: none"}} |
|||
</data> |
|||
! Minimum Permission Level |
|||
</infobox> |
|||
| {{{permission}}} |
|||
|} |
|||
<noinclude> |
<noinclude> |
||
Example usage: |
Example usage:<pre> |
||
<pre> |
|||
{{Command Infobox |
{{Command Infobox |
||
⚫ | |||
|image=Example |
|||
⚫ | |||
|function=Example |
|||
|amount=Example |
|||
|permission=Example |
|||
⚫ | |||
⚫ | |||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Templates]][[Category:Infobox Templates]] |
|||
<templatedata> |
|||
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"row1":{"suggested":true},"row2":{"suggested":true}},"sets":[],"maps":{}} |
|||
</templatedata> |
|||
</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 }}