Difference between revisions of "Template:Client Patch"
m |
m |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>{{Template Overview |
− | {{ | + | |usedon=client patch |
− | + | |purpose=standardize their look and feel and to make them easier to create | |
− | + | |template=<nowiki>{{Client Patch | |
− | + | ||
− | = | + | |
− | < | + | |
− | {{Client Patch | + | |
|client= | |client= | ||
|otherclient= | |otherclient= | ||
Line 13: | Line 9: | ||
|notes= | |notes= | ||
|patchnotes= | |patchnotes= | ||
+ | }}</nowiki> | ||
}} | }} | ||
− | + | {{Template Parameter | |
− | + | |name=client | |
− | = | + | |usage=mandatory |
− | + | |takes=a two-character code | |
− | = | + | |denotes=the client for which the client patch was issued |
− | + | |generates=the introductory sentence, as well a link back to the corresponding list of client patches in the "See Also" section | |
− | + | |validvalues= "2d" (Classic Client), "en" (Enhanced Client), "kr" (Kingdom Reborn Client), "3d" (Third Dawn Client) | |
− | + | }} | |
− | + | {{Template Parameter | |
− | + | |name=otherclient | |
− | + | |takes=a two-character code | |
− | + | |denotes=a second client for which the client patch was issued | |
− | + | |generates=the introductory sentence, as well a link back to the corresponding list of client patches in the "See Also" section | |
− | + | |othernotes=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. | |
− | + | |validvalues="3d" (Third Dawn Client) | |
− | + | }} | |
− | + | {{Template Parameter | |
− | + | |name=date | |
− | + | |usage=mandatory | |
− | + | |takes=a string | |
− | + | |denotes=the date on which the client patch was issued | |
− | + | |generates=the "Date" bullet point | |
− | + | |validvalues=Any string representing a date. | |
− | + | }} | |
− | + | {{Template Parameter | |
− | + | |name=size | |
− | + | |takes=a string | |
− | + | |denotes=the size, in bytes, of the client patch | |
− | + | |generates=the "Size" bullet point in the "Statistics" section | |
− | + | |defaultvalue=Unknown | |
− | + | |validvalues=A comma-separated number. | |
− | + | }} | |
− | + | {{Template Parameter | |
− | + | |name=notes | |
− | + | |takes=a string or strings | |
− | + | |denotes=any notes or other unofficial commentary on the client patch | |
− | + | |generates=the "Notes" bullet point | |
+ | |defaultvalue=None | ||
+ | |validvalues=Any string or strings. | ||
+ | }} | ||
+ | {{Template Parameter | ||
+ | |name=patchnotes | ||
+ | |usage=mandatory | ||
+ | |takes=a string or strings | ||
+ | |denotes=the official patch notes, or a paraphrasing of the official patch notes, that correspond to the client patch | ||
+ | |generates=the "Patch Notes" section | ||
+ | |validvalues=Any string or strings. | ||
+ | }}</noinclude><includeonly>__NOTOC__ | ||
{{#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]]. |
Revision as of 13:52, 3 October 2009
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
[[Category:{{{category}}} Templates|Client Patch]]
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), "en" (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: Mandatory
- 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.
- Valid Value(s): Any string or strings.