Template:Command Infobox: Difference between revisions

From Blockate Wiki
Content added Content deleted
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...")
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
{| 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
|title=Example

| title1=Example
|image=Example
|caption=Example

| image1=Example
|function=Example
|amount=Example

| caption1=Example
|permission=Example

| row1=Example

| row2=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
[[File:{{{image}}}|200px]]
{{{caption}}}
Function {{{function}}}
Amount of Commands {{{amount}}}
Minimum Permission Level {{{permission}}}


Example usage:

{{Command Infobox
|title=Example
|image=Example
|caption=Example
|function=Example
|amount=Example
|permission=Example
}}