Difference between revisions of "Template:Client Patch"

m
m
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
|current=
 
|current=
 
|previous=
 
|previous=
 +
|previousactual=
 
|next=
 
|next=
 +
|nextactual=
 
|otherclientcurrent=
 
|otherclientcurrent=
 
|otherclientprevious=
 
|otherclientprevious=
 +
|ocpreviousactual=
 
|otherclientnext=
 
|otherclientnext=
 +
|ocnextactual=
 
}}</nowiki>
 
}}</nowiki>
|category=Page
+
|category=Article
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 80: Line 84:
 
|generates=a link to the previous client patch under the "Previous" heading in the leftmost section of the primary sequence box
 
|generates=a link to the previous client patch under the "Previous" heading in the leftmost section of the primary sequence box
 
|othernotes=If there is no "Next" client patch, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
 
|othernotes=If there is no "Next" client patch, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
 +
|validvalues=Any string corresponding to a valid patch number.
 +
}}
 +
{{Template Parameter
 +
|name=previousactual
 +
|takes=a string
 +
|denotes=the actual number of the client patch page to link to for the client chosen in the {{Monospace|client}} parameter
 +
|generates=the actual link to the previous client patch under the "Previous" heading in the leftmost section of the primary sequence box, reducing the value supplied for the {{Monospace|previous}} parameter to be only the displayed value
 +
|othernotes=This parameter is meant to be used when the previous client patch is shared with the secondary client, but the patch number for the primary client is not the patch number used on the actual linked page.
 
|validvalues=Any string corresponding to a valid patch number.
 
|validvalues=Any string corresponding to a valid patch number.
 
}}
 
}}
Line 88: Line 100:
 
|generates=a link to the next client patch under the "Next" heading in the rightmost section of the primary sequence box
 
|generates=a link to the next client patch under the "Next" heading in the rightmost section of the primary sequence box
 
|othernotes=If there is no "Previous" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
 
|othernotes=If there is no "Previous" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-patch sequence.
 +
|validvalues=Any string corresponding to a valid patch number.
 +
}}
 +
{{Template Parameter
 +
|name=nextactual
 +
|takes=a string
 +
|denotes=the actual number of the client patch page to link to for the client chosen in the {{Monospace|client}} parameter
 +
|generates=the actual link to the next client patch under the "Next" heading in the rightmost section of the primary sequence box, reducing the value supplied for the {{Monospace|next}} parameter to be only the displayed value
 +
|othernotes=This parameter is meant to be used when the next client patch is shared with the secondary client, but the patch number for the primary client is not the patch number used on the actual linked page.
 
|validvalues=Any string corresponding to a valid patch number.
 
|validvalues=Any string corresponding to a valid patch number.
 
}}
 
}}
Line 105: Line 125:
 
|othernotes=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 {{Monospace|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 {{Monospace|previous}} parameter.
 
|othernotes=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 {{Monospace|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 {{Monospace|previous}} parameter.
 
|validvalues=Any string corresponding to a valid patch number, or the string "none."
 
|validvalues=Any string corresponding to a valid patch number, or the string "none."
 +
}}
 +
{{Template Parameter
 +
|name=ocpreviousactual
 +
|takes=a string
 +
|denotes=the actual number of the client patch page to link to for the client chosen in the {{Monospace|otherclient}} parameter
 +
|generates=the actual link to the previous client patch under the "Previous" heading in the leftmost section of the secondary sequence box, reducing the value supplied for the {{Monospace|otherclientprevious}} parameter to be only the displayed value
 +
|othernotes=This parameter is meant to be used when the previous client patch is shared with the primary client, but the patch number for the secondary client is not the patch number used on the actual linked page.
 +
|validvalues=Any string corresponding to a valid patch number.
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 113: Line 141:
 
|othernotes=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 {{Monospace|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 {{Monospace|next}} parameter.
 
|othernotes=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 {{Monospace|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 {{Monospace|next}} parameter.
 
|validvalues=Any string corresponding to a valid patch number, or the string "none."
 
|validvalues=Any string corresponding to a valid patch number, or the string "none."
 +
}}
 +
{{Template Parameter
 +
|name=ocnextactual
 +
|takes=a string
 +
|denotes=the actual number of the client patch page to link to for the client chosen in the {{Monospace|otherclient}} parameter
 +
|generates=the actual link to the next client patch under the "Next" heading in the leftmost section of the secondary sequence box, reducing the value supplied for the {{Monospace|otherclientprevious}} parameter to be only the displayed value
 +
|othernotes=This parameter is meant to be used when the next client patch is shared with the primary client, but the patch number for the secondary client is not the patch number used on the actual linked page.
 +
|validvalues=Any string corresponding to a valid patch number.
 
}}</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
 
}}</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
 
{{#ifeq: {{{client}}} | cc
 
{{#ifeq: {{{client}}} | cc

Latest revision as of 11:11, 7 April 2012

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=
|previousactual=
|next=
|nextactual=
|otherclientcurrent=
|otherclientprevious=
|ocpreviousactual=
|otherclientnext=
|ocnextactual=
}}

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.

previousactual

  • Usage: Optional
  • Description: The previousactual parameter takes a string denoting the actual number of the client patch page to link to for the client chosen in the client parameter. This is used to generate the actual link to the previous client patch under the "Previous" heading in the leftmost section of the primary sequence box, reducing the value supplied for the previous parameter to be only the displayed value. This parameter is meant to be used when the previous client patch is shared with the secondary client, but the patch number for the primary client is not the patch number used on the actual linked page.
  • 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.

nextactual

  • Usage: Optional
  • Description: The nextactual parameter takes a string denoting the actual number of the client patch page to link to for the client chosen in the client parameter. This is used to generate the actual link to the next client patch under the "Next" heading in the rightmost section of the primary sequence box, reducing the value supplied for the next parameter to be only the displayed value. This parameter is meant to be used when the next client patch is shared with the secondary client, but the patch number for the primary client is not the patch number used on the actual linked page.
  • 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."

ocpreviousactual

  • Usage: Optional
  • Description: The ocpreviousactual parameter takes a string denoting the actual number of the client patch page to link to for the client chosen in the otherclient parameter. This is used to generate the actual link to the previous client patch under the "Previous" heading in the leftmost section of the secondary sequence box, reducing the value supplied for the otherclientprevious parameter to be only the displayed value. This parameter is meant to be used when the previous client patch is shared with the primary client, but the patch number for the secondary client is not the patch number used on the actual linked page.
  • Valid Value(s): Any string corresponding to a valid patch number.

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."

ocnextactual

  • Usage: Optional
  • Description: The ocnextactual parameter takes a string denoting the actual number of the client patch page to link to for the client chosen in the otherclient parameter. This is used to generate the actual link to the next client patch under the "Next" heading in the leftmost section of the secondary sequence box, reducing the value supplied for the otherclientprevious parameter to be only the displayed value. This parameter is meant to be used when the next client patch is shared with the primary client, but the patch number for the secondary client is not the patch number used on the actual linked page.
  • Valid Value(s): Any string corresponding to a valid patch number.