Template:Patch layout: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
m (zh-hans, zh-hant)
Line 29: Line 29:
   | ru = Обновления
   | ru = Обновления
   | sv = Patchar
   | sv = Patchar
   | zh-hans = 更新
   | zh-hans = 补丁
   | zh-hant = 更新
   | zh-hant = 更新
   }}]]{{#switch:{{lc:{{{game|}}}}}
   }}]]{{#switch:{{lc:{{{game|}}}}}
Line 117: Line 117:
   | ru = Ссылка на источник отсутствует.
   | ru = Ссылка на источник отсутствует.
   | sv = Obs: ingen källa länk har lämnats.
   | sv = Obs: ingen källa länk har lämnats.
   | zh-hans = 注意:没提供来源连接
   | zh-hans = 注意:无提供来源链接。
   | zh-hant = 附註:無提供來源連結
   | zh-hant = 附註:無提供來源連結。
   }}<includeonly>{{if lang
   }}<includeonly>{{if lang
     | en = [[Category:Patches with no source]]
     | en = [[Category:Patches with no source]]
Line 145: Line 145:
   | ru = Официальная страница обновления
   | ru = Официальная страница обновления
   | sv = Officiella uppdatera sidan
   | sv = Officiella uppdatera sidan
   | zh-hans = 宫方更新网页
   | zh-hans = 官方更新页面
   | zh-hant = 官方更新頁面
   | zh-hant = 官方更新頁面
   }}:&nbsp;[{{{updatelink}}} {{{update|{{{updatelink}}}}}}]{{if lang|1=|2=&nbsp;{{lang icon|1={{{update-lang|en}}}}}}}}}
   }}:&nbsp;[{{{updatelink}}} {{{update|{{{updatelink}}}}}}]{{if lang|1=|2=&nbsp;{{lang icon|1={{{update-lang|en}}}}}}}}}
Line 169: Line 169:
   | ru = Содержание обновления
   | ru = Содержание обновления
   | sv = Patch anteckningar  
   | sv = Patch anteckningar  
   | zh-hans = 更新内容
   | zh-hans = 补丁说明
   | zh-hant = 更新內容
   | zh-hant = 更新內容
   }}==
   }}==

Revision as of 14:39, 15 October 2014

Note: No source link has been provided.

Patch notes

{{{notes}}}

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

* 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.
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}}
Template info.png This documentation is transcluded from Template:Patch layout/doc.