Difference between revisions of "Template:Client Patch"
m (Spelling helps.) |
m (So does remembering how Category works.) |
||
Line 134: | Line 134: | ||
{{#ifeq: {{{client}}} | cc | {{#ifeq: {{{client}}} | cc | ||
| {{#ifeq: {{{otherclient}}} | td | | {{#ifeq: {{{otherclient}}} | td | ||
− | | [[Category | + | | [[Category:Classic Client Patches]][[Category:Third Dawn Client Patches]] |
− | | [[Category | + | | [[Category:Classic Client Patches]] |
}} | }} | ||
| {{#ifeq: {{{client}}} | ec | | {{#ifeq: {{{client}}} | ec | ||
− | | [[Category | + | | [[Category:Enhanced Client Patches]] |
| {{#ifeq: {{{client}}} | kr | | {{#ifeq: {{{client}}} | kr | ||
− | | [[Category | + | | [[Category:Kingdom Reborn Client Patches]] |
| {{#ifeq: {{{client}}} | td | | {{#ifeq: {{{client}}} | td | ||
− | | [[Category | + | | [[Category:Third Dawn Client Patches]] |
| ERROR: Must supply client code. | | ERROR: Must supply client code. | ||
}} | }} |
Revision as of 16:13, 19 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, 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.
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.