Difference between revisions of "Template:Game Info"

m
m
Line 16: Line 16:
 
Expansion Date  
 
Expansion Date  
 
-->{{#if: {{{expansiondate|}}} | '' - September 8, 2009''}}</includeonly><noinclude>[[Category:Content Templates|{{PAGENAME}}]]
 
-->{{#if: {{{expansiondate|}}} | '' - September 8, 2009''}}</includeonly><noinclude>[[Category:Content Templates|{{PAGENAME}}]]
 +
 +
===Examples===
 +
{| class="wikitable"
 +
!Inside Page
 +
!Output
 +
|-
 +
|<nowiki>{{Game Info|cc=yes}}</nowiki>
 +
|{{Game_Info|cc=yes}}
 +
|-
 +
|<nowiki>{{Game Info|publish=yes}}</nowiki>
 +
|{{Game_Info|publish=yes}}
 +
|-
 +
|<nowiki>{{Game Info|ec=yes|ecdate=yes}}</nowiki>
 +
|{{Game_Info|ec=yes|ecdate=yes}}
 +
|-
 +
|<nowiki>{{Game Info|cc=yes|ccdate=yes}}</nowiki>
 +
|{{Game_Info|cc=yes|ccdate=yes}}
 +
|-
 +
|<nowiki>{{Game Info|publish=yes|publishdate=yes}}</nowiki>
 +
|{{Game_Info|publish=yes|publishdate=yes}}
 +
|-
 +
|<nowiki>{{Game Info|expansion=yes|expansiodate=yes}}</nowiki>
 +
|{{Game_Info|expansion=yes|expansiondate=yes}}
 +
|}
 +
 
{{Template Overview
 
{{Template Overview
 
|usedon=Pages
 
|usedon=Pages
|purpose=Display current client versions and publish number
+
|purpose=Displays the current [[Client Patches|client patch versions]], [[Publish|publish]] and [[Expansion|expansion]]
 
|othernotes=It is designed to display the [[Classic Client]], [[Enhanced Client]], [[Publish]] and [[Expansion]] information.
 
|othernotes=It is designed to display the [[Classic Client]], [[Enhanced Client]], [[Publish]] and [[Expansion]] information.
 
==Notes on Usage==
 
==Notes on Usage==
Line 35: Line 60:
 
{{Template Parameter
 
{{Template Parameter
 
|name=ec
 
|name=ec
|takes=a string
+
|takes=any value or string
 
|denotes=the current version of the [[Enhanced Client]]
 
|denotes=the current version of the [[Enhanced Client]]
|othernotes=
+
|generates=the text and the link: '''EC:''Current Enhanced Client Version Link'''''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=cc
 
|name=cc
|takes=a string
+
|takes=any value or string
|denotes=the current version of the [[Classical Client]]
+
|denotes=the current version of the [[Classic Client]]
|othernotes=
+
|generates=the text and the link: '''2D:''Current Classic Client Version Link'''''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=publish
 
|name=publish
|takes=a string
+
|takes=any value or string
 
|denotes=the current [[Publish]]
 
|denotes=the current [[Publish]]
|othernotes=
+
|generates=the text and the link: '''Publish ''Current Publish'''''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=expansion
 
|name=expansion
|takes=a string
+
|takes=any value or string
 
|denotes=the current [[Expansion]]
 
|denotes=the current [[Expansion]]
|othernotes=
+
|generates=the text and the link: ''Expansion''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=ecdate
 
|name=ecdate
|takes=a string
+
|takes=any value or string
 
|denotes=the release date of the current version of the [[Enhanced Client]]
 
|denotes=the release date of the current version of the [[Enhanced Client]]
|othernotes=
+
|generates=the text: ''Latest Enhanced Client Release Date''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=ccdate
 
|name=ccdate
|takes=a string
+
|takes=any value or string
|denotes=the release date of the current version of the [[Classical Client]]
+
|denotes=the release date of the current version of the [[Classic Client]]
|othernotes=
+
|generates=the text: ''Latest Classic Client Release Date''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=publishdate
 
|name=publishdate
|takes=condition
+
|takes=any value or string
|displays=the release date of the current [[Publish]]
+
|denotes=the release date of the current [[Publish]]
|othernotes=
+
|generates=the text: ''Latest Publish Release Date''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
 
|name=expansiondate
 
|name=expansiondate
|takes=yes
+
|takes=any value or string
 
|denotes=the release date of the current [[Expansion]]
 
|denotes=the release date of the current [[Expansion]]
|othernotes=
+
|generates=the text: ''Latest Expansion Release Date''
|validvalues=
+
|validvalues=any value or string
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 18:28, 11 October 2010


Examples

Inside Page Output
{{Game Info|cc=yes}} CC: 7.0.58.12
{{Game Info|publish=yes}} Publish 97
{{Game Info|ec=yes|ecdate=yes}} EC: 4.0.58.12 - April 27, 2017
{{Game Info|cc=yes|ccdate=yes}} CC: 7.0.58.12 - April 27, 2017
{{Game Info|publish=yes|publishdate=yes}} Publish 97 - April 27, 2017
{{Game Info|expansion=yes|expansiodate=yes}} Time of Legends - October 8, 2015


Template:Game Info is designed for use on Pages pages to Displays the current client patch versions, publish and expansion. It is designed to display the Classic Client, Enhanced Client, Publish and Expansion information.

Notes on Usage

Template

{{Game_Info
|ec=
|ecdate=
|cc=
|ccdate=
|publish=
|publishdate=
|expansion=
|expansiondate=
}}

Parameters

ec

  • Usage: Optional
  • Description: The ec parameter takes any value or string denoting the current version of the Enhanced Client. This is used to generate the text and the link: EC:Current Enhanced Client Version Link.
  • Valid Value(s): any value or string

cc

  • Usage: Optional
  • Description: The cc parameter takes any value or string denoting the current version of the Classic Client. This is used to generate the text and the link: 2D:Current Classic Client Version Link.
  • Valid Value(s): any value or string

publish

  • Usage: Optional
  • Description: The publish parameter takes any value or string denoting the current Publish. This is used to generate the text and the link: Publish Current Publish.
  • Valid Value(s): any value or string

expansion

  • Usage: Optional
  • Description: The expansion parameter takes any value or string denoting the current Expansion. This is used to generate the text and the link: Expansion.
  • Valid Value(s): any value or string

ecdate

  • Usage: Optional
  • Description: The ecdate parameter takes any value or string denoting the release date of the current version of the Enhanced Client. This is used to generate the text: Latest Enhanced Client Release Date.
  • Valid Value(s): any value or string

ccdate

  • Usage: Optional
  • Description: The ccdate parameter takes any value or string denoting the release date of the current version of the Classic Client. This is used to generate the text: Latest Classic Client Release Date.
  • Valid Value(s): any value or string

publishdate

  • Usage: Optional
  • Description: The publishdate parameter takes any value or string denoting the release date of the current Publish. This is used to generate the text: Latest Publish Release Date.
  • Valid Value(s): any value or string

expansiondate

  • Usage: Optional
  • Description: The expansiondate parameter takes any value or string denoting the release date of the current Expansion. This is used to generate the text: Latest Expansion Release Date.
  • Valid Value(s): any value or string