Difference between revisions of "Template:Client Patch"

m (Wasn't long before I made an error. My past self is too smart for my current self, it seems.)
m (Stupid pipes.)
Line 129: Line 129:
 
|current=[[{{PAGENAME}}|{{#sub: {{PAGENAME}} | 13 }}]]
 
|current=[[{{PAGENAME}}|{{#sub: {{PAGENAME}} | 13 }}]]
 
|date={{{date}}}
 
|date={{{date}}}
|previous={{#if: {{{previous|}}} | Client Patch {{{previous}}}|{{{previous}}} }}
+
|previous={{#if: {{{previous|}}} | Client Patch {{{previous}}} {{!}} {{{previous}}} }}
 
|next={{#if: {{{next|}}} | [[Client Patch {{{previous}}}|{{{previous}}}]] }}
 
|next={{#if: {{{next|}}} | [[Client Patch {{{previous}}}|{{{previous}}}]] }}
 
}}
 
}}
 
{{Categorize|Client Patches}}</includeonly>
 
{{Categorize|Client Patches}}</includeonly>

Revision as of 16:00, 5 December 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=
|previous=
|next=
}}

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): "cc" (Classic Client), "ec" (Enhanced Client), "kr" (Kingdom Reborn Client), "td" (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): "td" (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, as well as the date displayed in the sequence box.
  • 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.

previous

  • Usage: Optional
  • Description: The previous parameter takes a string denoting the number of the client patch that came before the current client patch. This is used to generate the link under the "Previous" heading in the leftmost section of the sequence box that links to the previous client patch. If there is no "Next" client patch, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
  • Valid Value(s): Any string corresponding to a valid patch number.

next

  • Usage: Optional
  • Description: The next parameter takes a string denoting the number of the client patch that came after the current client patch. This is used to generate the link under the "Next" heading in the rightmost section of the sequence box that links to the next client patch. If there is no "Previous" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
  • Valid Value(s): Any string corresponding to a valid patch number.