Template:Patch layout: Difference between revisions
Jump to navigation
Jump to search
Moussekateer (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
| group1 = [[{{#switch:{{lc:{{{game|}}}}} | | group1 = [[{{#switch:{{lc:{{{game|}}}}} | ||
| narbacular drop = Patches#Narbacular Drop | |||
| portal = Patches#Portal | | portal = Patches#Portal | ||
| tools = Patches#Tools | | tools = Patches#Tools | ||
Line 30: | Line 31: | ||
| zh-hant = 更新 | | zh-hant = 更新 | ||
}}]]{{#switch:{{lc:{{{game|}}}}} | }}]]{{#switch:{{lc:{{{game|}}}}} | ||
| narbacular drop | |||
| portal | | portal | ||
| tools = {{ns:0}}<!-- Hide this for Portal and tool patches --> | | tools = {{ns:0}}<!-- Hide this for Narbacular Drop, Portal and tool patches --> | ||
| <span style="color:#555;"> ([[{{lang date|force=en|1={{updates|type=patch-month}}}} {{updates|type=patch-day}}, {{updates|type=patch-year}} Patch{{if lang}}|{{lang | | <span style="color:#555;"> ([[{{lang date|force=en|1={{updates|type=patch-month}}}} {{updates|type=patch-day}}, {{updates|type=patch-year}} Patch{{if lang}}|{{lang | ||
| ar = أخرى | | ar = أخرى | ||
Line 218: | Line 220: | ||
}} | }} | ||
</div><includeonly>{{lang cat|{{#switch:{{lc:{{{game|}}}}} | </div><includeonly>{{lang cat|{{#switch:{{lc:{{{game|}}}}} | ||
| narbacular drop = Patches (Narbacular Drop) | |||
| portal = Patches (Portal) | | portal = Patches (Portal) | ||
| tools = Patches (Tools) | | tools = Patches (Tools) |
Revision as of 19:27, 29 May 2011
|
Note: No source link has been provided.
Patch notes
{{{notes}}}
![]() | This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Patch layout/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: all languages except: da, no (add) |
Note: portions of the template sample may not be visible without values provided. This is normal.
Documentation for Patch layout
Usage
Please see Help:Updates for full instructions on adding patch notes to the wiki.
This template keeps the style of patch note pages consistent.
Parameters
Parameter | Example | Required? | Description |
---|---|---|---|
notes
|
|
yes | The actual patch notes. |
game
|
portal
|
no | This isn't necessary for Portal 2 patches. If set to "portal ", this will change the categories accordingly (i.e. Categorize into Category:Patches (Portal).
|
Next / Previous | |||
before
|
[[July 21, 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
|
[[November 12, 2010 Patch]]
|
yes | A link to the next patch. If none, put N/A. |
Sources | |||
source<n>
|
http://store.steampowered.com/news/5341/
|
yes | The URL of the Steam news article on the patch. Supports up to 3 individual sources. |
source<n>-title
|
Portal 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. |
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.
|
Example
{{Patch layout | source = http://store.steampowered.com/news/5341/ | source-title = Portal 2 Update Released | before = [[April 19, 2011 Patch]] | after = N/A | notes = === Portal 2 === * Fixed unrecoverable black screen in elevator save * Fixed infinite loop on Mac OSX server * Fixed Mac OSX font rendering and glyph corruption * Fixed GC memory leak * Various localization content improvements * Support for English subtitles in Turkish builds * Minor string/interface glitches * Fixes for multiple crashes * Improved detection and handling for various errors and/or crashes * Activated UI to enable joystick in-game }} {{Languages}}
This documentation is transcluded from Template:Patch layout/doc.