Difference between revisions of "Template:Infobox command"

From QWiki
m
m
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<div class="fo-nttax-infobox wiki-bordercolor-light">
 
<div class="fo-nttax-infobox wiki-bordercolor-light">
 
<div>
 
<div>
<div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:Infobox_map|h]]<nowiki>]</nowiki></span>{{{name|{{tlpd_map|{{{id}}}|name}}}}}</div>
+
<div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:Infobox_map|h]]<nowiki>]</nowiki></span>{{{name|{{FULLPAGENAME}}}}}</div>
 
</div><!--
 
</div><!--
  
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>
 
}}<!--
 
}}<!--
Line 58: Line 58:
  
 
Categories
 
Categories
--></includeonly><noinclude>{{documentation}}[[Category:Infoboxes]]</noinclude>
+
 
 +
-->[[Category:Commands]]
 +
<!--
 +
 
 +
--></includeonly><noinclude>{{documentation}}[[Category:Infoboxes]][[Category:Commands]]</noinclude>

Latest revision as of 08:41, 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=
}}