Difference between revisions of "Template:Client Patch"

m
m (Testing something.)
Line 61: Line 61:
 
}}
 
}}
 
</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
 
</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
{{#ifeq: {{{client|}}} | kr
+
{{#ifeq: {{{client}}} | kr
 
| This patch was for the [[Ultima Online: Kingdom Reborn|Kingdom Reborn Client]].
 
| This patch was for the [[Ultima Online: Kingdom Reborn|Kingdom Reborn Client]].
| {{#ifeq: {{{client|}}} | ec
+
| {{#ifeq: {{{client}}} | ec
 
   | This patch was for the [[Enhanced Client]].
 
   | This patch was for the [[Enhanced Client]].
   | {{#ifeq: {{{client|}}} | 2d
+
   | {{#ifeq: {{{client}}} | 2d
     | {{#ifeq: {{{otherclient|}}} | 3d
+
     | {{#ifeq: {{{otherclient}}} | 3d
 
       | This patch was for the [[Classic Client]] and the [[Ultima Online: Third Dawn|Third Dawn Client]].
 
       | This patch was for the [[Classic Client]] and the [[Ultima Online: Third Dawn|Third Dawn Client]].
 
       | This patch was for the [[Classic Client]].
 
       | This patch was for the [[Classic Client]].
 
       }}
 
       }}
     | {{#ifeq: {{{client|}}} | 3d
+
     | {{#ifeq: {{{client}}} | 3d
 
       | This patch was for the [[Ultima Online: Third Dawn|Third Dawn Client]].
 
       | This patch was for the [[Ultima Online: Third Dawn|Third Dawn Client]].
 
       | ERROR: Must supply client code.
 
       | ERROR: Must supply client code.
Line 93: Line 93:
 
}}
 
}}
 
==See Also==
 
==See Also==
{{#ifeq: {{{client|}}} | kr
+
{{#ifeq: {{{client}}} | kr
 
| * [[List of Kingdom Reborn Client Patches]]
 
| * [[List of Kingdom Reborn Client Patches]]
| {{#ifeq: {{{client|}}} | ec
+
| {{#ifeq: {{{client}}} | ec
 
   | * [[List of Enhanced Client Patches]]
 
   | * [[List of Enhanced Client Patches]]
   | {{#ifeq: {{{client|}}} | 2d
+
   | {{#ifeq: {{{client}}} | 2d
     | {{#ifeq: {{{otherclient|}}} | 3d
+
     | {{#ifeq: {{{otherclient}}} | 3d
 
       | * [[List of Classic Client Patches]]
 
       | * [[List of Classic Client Patches]]
 
* [[List of Third Dawn Client Patches]]
 
* [[List of Third Dawn Client Patches]]
 
       | * [[List of Classic Client Patches]]
 
       | * [[List of Classic Client Patches]]
 
       }}
 
       }}
     | {{#ifeq: {{{client|}}} | 3d
+
     | {{#ifeq: {{{client}}} | 3d
 
       | * [[List of Third Dawn Client Patches]]
 
       | * [[List of Third Dawn Client Patches]]
 
       | ERROR: Must supply client code.
 
       | ERROR: Must supply client code.

Revision as of 13:09, 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=
}}

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), "ec" (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.