Difference between revisions of "Template:Game Info"

m (Testing something.)
m
Line 1: Line 1:
<includeonly><!--
+
<noinclude>{{Template Overview
Enhanced Client Version
+
|usedon=relevant
-->{{#if: {{{ec|}}}
+
|purpose=display the current [[Client Patches|client patch versions]], [[Publish|publish]], and [[Expansion|expansion]]
| '''EC: [[Client Patch 4.0.9.0|4.0.9.0]]'''
+
}}<!--
+
Enhanced Client Date
+
-->{{#if: {{{ecdate|}}} | '' - October 12, 2010''}}<!--
+
Classical Client Version
+
-->{{#if: {{{cc|}}} | '''2D: [[Client Patch 7.0.9.1|7.0.9.1]]'''}}<!--
+
Classical Client Date
+
-->{{#if: {{{ccdate|}}} | '' - October 12, 2010''}}<!--
+
Publish Value
+
-->{{#if: {{{publish|}}} | '''[[Publish 68.2]]'''}}<!--
+
Publish Date
+
-->{{#if: {{{publishdate|}}} | '' - October 15, 2010''}}<!--
+
Expansion
+
-->{{#if: {{{expansion|}}} | '''[[High Seas]]'''}}<!--
+
Expansion Date
+
-->{{#if: {{{expansiondate|}}} | '' - October 12, 2010''}}</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|expansiondate=yes}}</nowiki>
+
|{{Game_Info|expansion=yes|expansiondate=yes}}
+
|}
+
 
+
{{Template Overview
+
|usedon=Pages
+
|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==
+
==Examples==
 +
{{{!}} class="uoguidetable leftalign"
 +
! 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|expansiondate=yes}}</nowiki>
 +
{{!}} {{Game_Info|expansion=yes|expansiondate=yes}}
 +
{{!}}}
 
|template=<nowiki>{{Game_Info
 
|template=<nowiki>{{Game_Info
 
|ec=
 
|ec=
Line 58: Line 36:
 
|expansiondate=
 
|expansiondate=
 
}}</nowiki>
 
}}</nowiki>
|category=Information
+
|category=Content
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 116: Line 94:
 
|validvalues=any value or string
 
|validvalues=any value or string
 
}}
 
}}
</noinclude>
+
</noinclude><includeonly><!--
 +
Enhanced Client Version
 +
-->{{#if: {{{ec|}}} | '''EC: [[Client Patch 4.0.9.0|4.0.9.0]]'''}}<!--
 +
Enhanced Client Date
 +
-->{{#if: {{{ecdate|}}} | '' - October 12, 2010''}}<!--
 +
Classical Client Version
 +
-->{{#if: {{{cc|}}} | '''2D: [[Client Patch 7.0.9.1|7.0.9.1]]'''}}<!--
 +
Classical Client Date
 +
-->{{#if: {{{ccdate|}}} | '' - October 12, 2010''}}<!--
 +
Publish Value
 +
-->{{#if: {{{publish|}}} | '''[[Publish 68.2]]'''}}<!--
 +
Publish Date
 +
-->{{#if: {{{publishdate|}}} | '' - October 15, 2010''}}<!--
 +
Expansion
 +
-->{{#if: {{{expansion|}}} | '''[[High Seas]]'''}}<!--
 +
Expansion Date
 +
-->{{#if: {{{expansiondate|}}} | '' - October 12, 2010''}}</includeonly>

Revision as of 06:51, 19 October 2010

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

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|expansiondate=yes}} Time of Legends - October 8, 2015

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