Template:Patch layout/doc: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created page with "== Usage == {{hatnote|'''Please see Help:Patch notes for full instructions on adding patch notes to the wiki.'''}} This template keeps the style of patch note pag...")
 
m (Help:Patch notes -> Help:Updates)
Line 1: Line 1:
== Usage ==
== Usage ==
{{hatnote|'''Please see [[Help:Patch notes]] for full instructions on adding patch notes to the wiki.'''}}
{{hatnote|'''Please see [[Help:Updates]] for full instructions on adding patch notes to the wiki.'''}}
This template keeps the style of [[Patches|patch note]] pages consistent.
This template keeps the style of [[Patches|patch note]] pages consistent.



Revision as of 17:07, 29 April 2011

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

* Fixed bug that caused a crash.

* Added a new hat.

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.

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}}