Template:Client Patch

Revision as of 21:05, 2 January 2012 by Cogniac (Talk | contribs)

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=
|current=
|previous=
|next=
|otherclientcurrent=
|otherclientprevious=
|otherclientnext=
}}

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, a link back to the corresponding list of client patches in the "See Also" section, and the category to which the article belongs.
  • 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.

current

  • Usage: Optional
  • Description: The current parameter takes a string denoting the number of the client patch described by the current article, as numbered for the client chosen in the client parameter. This is used to generate the bold patch number in the center of the primary sequence box under. If this parameter is omitted, the template will automatically parse the number out of the article's name.
  • Valid Value(s): Any string corresponding to a valid patch number.

previous

  • Usage: Optional
  • Description: The previous parameter takes a string denoting the number of the client patch that came before the current client patch, as numbered for the client chosen in the client parameter. This is used to generate a link to the previous client patch under the "Previous" heading in the leftmost section of the primary sequence box. 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, as numbered for the client chosen in the client parameter. This is used to generate a link to the next client patch under the "Next" heading in the rightmost section of the primary sequence box. 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.

otherclientcurrent

  • Usage: Optional
  • Description: The otherclientcurrent parameter takes a string denoting the number of the client patch described by the current article, as numbered for the client chosen in the otherclient parameter. This is used to generate the bold patch number in the center of the secondary sequence box. This parameter is meant to be used in situations where the current article describes a patch that applies to two clients, but its number is not synchronized across both. If this parameter is omitted, the template will automatically parse the number out of the article's name.
  • Valid Value(s): Any string corresponding to a valid patch number.

otherclientprevious

  • Usage: Optional
  • Description: The otherclientprevious parameter takes a string denoting the number of the client patch that came before the current client patch, as numbered for the client chosen in the otherclient parameter. This is used to generate a link to the previous client patch under the "Previous" heading in the leftmost section of the secondary sequence box. This parameter is meant to be used in situations where the previous patch applies to two clients, but its number is not synchronized across both. This parameter is only usable if the otherclient parameter is filled in. If this parameter is filled in with the string "none," thus denoting that the current patch is the first in its sequence, there will be no "Previous" in the secondary sequence box. If this parameter is omitted entirely the value defaults to that of the previous parameter.
  • Valid Value(s): Any string corresponding to a valid patch number, or the string "none."

otherclientnext

  • Usage: Optional
  • Description: The otherclientnext parameter takes a string denoting the number of the client patch that came after the current client patch, as numbered for the client chosen in the otherclient parameter. This is used to generate a link to the next client patch under the "Next" heading in the rightmost section of the secondary sequence box. This parameter is meant to be used in situations where the next patch applies to two clients, but its number is not synchronized across both. This parameter is only usable if the otherclient parameter is filled in. If this parameter is filled in with the string "none," thus denoting that the current patch is the last in its sequence, there will be no "Next" in the secondary sequence box. If this parameter is omitted entirely the value defaults to that of the next parameter.
  • Valid Value(s): Any string corresponding to a valid patch number, or the string "none."