Difference between revisions of "Template:Infobox command"

From QWiki
m
m
Line 24: Line 24:
 
}}<!--
 
}}<!--
  
Type
+
Released year
  
-->{{#if:{{{type|}}}|
+
-->{{#if:{{{year|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Type:</div>
+
<div class="infobox-cell-2 infobox-description">Released:</div>
<div class="infobox-cell-2">{{{type}}}</div>
+
<div class="infobox-cell-2">{{{year}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Released year
+
Type
  
-->{{#if:{{{year|}}}|
+
-->{{#if:{{{type|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Released:</div>
+
<div class="infobox-cell-2 infobox-description">Type:</div>
<div class="infobox-cell-2">{{{year}}}</div>
+
<div class="infobox-cell-2">{{{type}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--

Revision as of 08:29, 16 April 2019

Documentation (view - edit)

[e][h]Template:Infobox command
Creator:
qqshka
Released:
8th March 2009
Type:
command
Sort:
qtv

This template produces an Infobox on a command page.

Parameters

These are the variables in the Player template:

  • image = (optional) Picture
  • creator = (optional) Who created it
  • year = (optional) Released year
  • type = (optional) cvar/command/setting?
  • sort = (optional) cvar/command/setting?


Example

The following code was used to create the infobox on this page.

{{Infobox command
|image=
|creator=qqshka
|year=8th March 2009
|type=command
|sort=qtv
}}

Copy / Paste

{{Infobox command
|image=
|creator=
|year=
|type=
|sort=
}}