Difference between revisions of "Template:Client Patch"

m
m
Line 54: Line 54:
 
{{Template Parameter
 
{{Template Parameter
 
|name=patchnotes
 
|name=patchnotes
|usage=mandatory
 
 
|takes=a string or strings
 
|takes=a string or strings
 
|denotes=the official patch notes, or a paraphrasing of the official patch notes, that correspond to the client patch
 
|denotes=the official patch notes, or a paraphrasing of the official patch notes, that correspond to the client patch
 
|generates=the "Patch Notes" section
 
|generates=the "Patch Notes" section
 +
|defaultvalue=No patch notes given.
 
|validvalues=Any string or strings.
 
|validvalues=Any string or strings.
 
}}
 
}}
Line 88: Line 88:
 
}}
 
}}
 
==Patch Notes==
 
==Patch Notes==
{{{patchnotes}}}
+
{{#if: {{{patchnotes|}}}
 +
| {{{patchnotes}}}
 +
| No patch notes given.
 +
}}
 
==See Also==
 
==See Also==
 
{{#ifeq: {{{client|}}} | kr
 
{{#ifeq: {{{client|}}} | kr

Revision as of 09:42, 25 May 2011

Template:Client Patch is designed for use on client patch pages to standardize their look and feel and to make them easier to create.

Template

{{Client Patch
|client=
|otherclient=
|date=
|size=
|notes=
|patchnotes=
}}

Parameters

client

  • Usage: Mandatory
  • Description: The client parameter takes a two-character code denoting the client for which the client patch was issued. This is used to generate the introductory sentence, as well a link back to the corresponding list of client patches in the "See Also" section.
  • Valid Value(s): "2d" (Classic Client), "en" (Enhanced Client), "kr" (Kingdom Reborn Client), "3d" (Third Dawn Client)

otherclient

  • Usage: Optional
  • Description: The otherclient parameter takes a two-character code denoting a second client for which the client patch was issued. This is used to generate the introductory sentence, as well a link back to the corresponding list of client patches in the "See Also" section. At current, the only case in which this can be true is for old patches that were issued for both the Classic and Third Dawn Clients.
  • Valid Value(s): "3d" (Third Dawn Client)

date

  • Usage: Mandatory
  • Description: The date parameter takes a string denoting the date on which the client patch was issued. This is used to generate the "Date" bullet point.
  • Valid Value(s): Any string representing a date.

size

  • Usage: Optional
  • Description: The size parameter takes a string denoting the size, in bytes, of the client patch. This is used to generate the "Size" bullet point in the "Statistics" section. If this parameter is left blank or omitted, a default value of "Unknown" is used.
  • Valid Value(s): A comma-separated number.

notes

  • Usage: Optional
  • Description: The notes parameter takes a string or strings denoting any notes or other unofficial commentary on the client patch. This is used to generate the "Notes" bullet point. If this parameter is left blank or omitted, a default value of "None" is used.
  • Valid Value(s): Any string or strings.

patchnotes

  • Usage: Optional
  • Description: The patchnotes parameter takes a string or strings denoting the official patch notes, or a paraphrasing of the official patch notes, that correspond to the client patch. This is used to generate the "Patch Notes" section. If this parameter is left blank or omitted, a default value of "No patch notes given." is used.
  • Valid Value(s): Any string or strings.