Difference between revisions of "Template:Patch layout/doc"
Moussekateer (talk | contribs) m (updated) |
m (doc) |
||
Line 58: | Line 58: | ||
| If the source is Steam news then this parameter should be unused. Defaults to "en" on non-English pages. Supports all 3 source links. | | If the source is Steam news then this parameter should be unused. Defaults to "en" on non-English pages. Supports all 3 source links. | ||
|- | |- | ||
+ | |||
| {{code|updatelink}} | | {{code|updatelink}} | ||
| {{code|http://www.teamfortress.com/war/part1/index.htm}} | | {{code|http://www.teamfortress.com/war/part1/index.htm}} | ||
Line 72: | Line 73: | ||
| no | | no | ||
| If the update page linked is in a different language. Helpful for some update pages that are offered in different languages. Defaults to "en" on non-English pages. | | If the update page linked is in a different language. Helpful for some update pages that are offered in different languages. Defaults to "en" on non-English pages. | ||
+ | |- | ||
+ | ! colspan="4" style="text-align: left;" | ''Diffs'' | ||
+ | |- | ||
+ | | ''Nothing'' | ||
+ | | | ||
+ | | | ||
+ | | If it exists, the page at <code>Template:PatchDiff/Patch page name</code> will be transcluded and assumed to be the only patch diff on that day. | ||
+ | |- | ||
+ | | <code>diff-<n></code> | ||
+ | | {{code| <nowiki> | diff-1 = August 30, 2011 Patch | diff-2 = August 30, 2011 Patch 2</nowiki>}} | ||
+ | | no | ||
+ | | If there are multiple patches on the same day, list them as their PatchDiff name under multiple <code>diff-<n></code> arguments. | ||
|- | |- | ||
|} | |} |
Revision as of 01:45, 10 September 2011
Usage
Please see Help:Patch notes for full instructions on adding patch notes to the wiki.
This template keeps the style of patch note pages consistent. This template supersedes {{Patch}}
and {{Succession box}}
.
Parameters
Parameter | Example | Required? | Description |
---|---|---|---|
notes
|
|
yes | The actual patch notes. |
game
|
tfc
|
no | This isn't necessary for TF2 patches. If set to "tfc ", this will change the links and categories accordingly (i.e. link to Patches (Classic) and categorize into Category:Patches (Classic).
|
Next / Previous | |||
before
|
August 2, 2010 Patch
|
yes | A link to the previous patch. |
current
|
August 17, 2010 Patch
|
no | The name to display for the current patch, only needed in translated pages. |
after
|
August 20, 2010 Patch
|
yes | A link to the next patch. If none, put N/A. |
Sources | |||
source<n>
|
http://store.steampowered.com/news/4102/
|
yes | The URL of the Steam news article on the patch. Supports up to 3 individual sources. |
source<n>-title
|
22 Jul 2010 – Team Fortress 2 Update Released
|
no | Optional name override on source link. Supports up to 3 individual sources. |
source<n>-lang
|
fr
|
no | If the source is Steam news then this parameter should be unused. Defaults to "en" on non-English pages. Supports all 3 source links. |
updatelink
|
http://www.teamfortress.com/war/part1/index.htm
|
no | URL of official update page (only for major updates). |
update
|
The WAR! Update
|
no | Name of major update to be displayed with the link. |
update-lang
|
fr
|
no | If the update page linked is in a different language. Helpful for some update pages that are offered in different languages. Defaults to "en" on non-English pages. |
Diffs | |||
Nothing | If it exists, the page at Template:PatchDiff/Patch page name will be transcluded and assumed to be the only patch diff on that day.
| ||
diff-<n>
|
| diff-1 = August 30, 2011 Patch | diff-2 = August 30, 2011 Patch 2
|
no | If there are multiple patches on the same day, list them as their PatchDiff name under multiple diff-<n> arguments.
|
Examples
{{Patch layout | source = http://store.steampowered.com/news/4102/ | source-title = Team Fortress 2 Update Released | before = [[July 19, 2010 Patch]] | after = [[July 23, 2010 Patch]] | notes = === Server Browser === * Fixed the server browser not saving filter settings properly === Team Fortress 2 === * Fixed a speed exploit related to benchmarks * Fixed Parasite hat not being posed correctly on class loadout panels * Fixed a level change crash }}