Difference between revisions of "Template:NewInfobox GameMode"

From comp.tf
Jump to navigation Jump to search
(Fixing more issues with templates in categories, reworked an earlier fix to be more compact, and fixed a bunch of names I goofed on.)
(I had broke it again, trying a new fix.)
Line 135: Line 135:
 
Category
 
Category
  
-->{{#if: {{{Category}}} | |[[Category:Game Modes]]
+
-->{{#ifeq:{{NAMESPACENUMBER}}|0|
}}<!--
+
[[Category:Game Modes]]}}<!--
  
 
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>
 
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>

Revision as of 14:30, 21 June 2017

(view - edit) Documentation

[e][h] NewInfobox GameMode
Badlands.jpg
Badlands
Mode Information
Full name:
5 Control Point
First Released:
2007
Official Mode:
CorrectIcon.png
Competitive Information
Game Modes:
League Popularity:
Staple
Links
Steam Workshop Page Official Team Fortress Wiki Page Official Team Fortress Wiki Page (Competitive)
This is just a test

This is a template to be used on game modes.

Example

The code:

{{NewInfobox GameMode

|image= badlands.jpg
|caption= Badlands

|fullname= 5 Control Point
|released= 2007
|official= 1

|gamemode1= 6v6
|gamemode2= 4v4
|gamemode3= Hl
|popularity= staple

|workshop= comp.tf
|officialwiki= badlands
|officialwiki2= 5cp

|footnotes= This is just a test }}