Template:Command Infobox: Difference between revisions

From Blockate Wiki
no edit summary
(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:
<{| 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>
Example usage:<pre>
<pre>
{{Command Infobox
| row1title=Example
 
| title1image=Example
| row2caption=Example
 
| image1function=Example
|amount=Example
 
| caption1permission=Example
 
| row1=Example
 
| row2=Example
 
}}
</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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.