Difference between revisions of "Template:Game Info"

m
m (added infomation for publish)
 
(110 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><!--
+
<noinclude>{{Template Overview
Enhanced Client Version
+
|usedon=relevant
-->{{#if: {{{ec|}}} | '''EC: [[Client Patch 4.0.8.3|4.0.8.3]]'''}}<!--
+
|purpose=display the current [[Client Patches|client patch versions]], [[Publish|publish]], and [[Expansion|expansion]]
Enhanced Client Date
+
-->{{#if: {{{ecdate|}}} | '' - August 4, 2010''}}<!--
+
Classical Client Version
+
-->{{#if: {{{cc|}}} | '''2D: [[Client Patch 7.0.8.2|7.0.8.2]]'''}}<!--
+
Classical Client Date
+
-->{{#if: {{{ccdate|}}} | '' - August 4, 2010''}}<!--
+
Publish Value
+
-->{{#if: {{{publish|}}} | '''[[Publish 67]]'''}}<!--
+
Publish Date
+
-->{{#if: {{{publishdate|}}} | '' - August 4, 2010''}}<!--
+
Expansion
+
-->{{#if: {{{expansion|}}} | '''[[Stygian Abyss]]'''}}<!--
+
Expansion Date
+
-->{{#if: {{{expansiondate|}}} | '' - September 8, 2009''}}</includeonly><noinclude>[[Category:Content Templates|{{PAGENAME}}]]
+
{{Template Overview
+
|usedon=Pages
+
|purpose=Display current client versions and publish number
+
 
|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 31: Line 36:
 
|expansiondate=
 
|expansiondate=
 
}}</nowiki>
 
}}</nowiki>
|category=Information
+
|category=Content
 
}}
 
}}
 
{{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><includeonly><!--
 +
Enhanced Client Version
 +
-->{{#if: {{{ec|}}} | '''EC: [[Client Patch 4.0.58.12|4.0.58.12]]'''}}<!--
 +
Enhanced Client Date
 +
-->{{#if: {{{ecdate|}}} | '' - April 27, 2017''}}<!--
 +
Classical Client Version
 +
-->{{#if: {{{cc|}}} | '''CC: [[Client Patch 7.0.58.12|7.0.58.12]]'''}}<!--
 +
Classical Client Date
 +
-->{{#if: {{{ccdate|}}} | '' - April 27, 2017''}}<!--
 +
Publish Value
 +
-->{{#if: {{{publish|}}} | '''[[Publish 97]]'''}}<!--
 +
Publish Date
 +
-->{{#if: {{{publishdate|}}} | '' - April 27, 2017''}}<!--
 +
Expansion
 +
-->{{#if: {{{expansion|}}} | '''[[Time of Legends]]'''}}<!--
 +
Expansion Date
 +
-->{{#if: {{{expansiondate|}}} | '' - October 8, 2015''}}</includeonly>

Latest revision as of 16:46, 26 April 2017

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