Template:Patch layout: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (Fixing linking to the Patches page. Well, trying to fix...)
mNo edit summary
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Navbox
<includeonly>{{#if:{{{displaytitle|}}}||{{#if:{{{year|}}}|{{DISPLAYTITLE:{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes|{{#if:{{{game|}}}|4|void}}={{#switch:{{{game}}}|portal=portal|tools=tools|the lab=lab|narbacular drop=narbacular|bridge constructor portal=bridge}}}}}}}}}}</includeonly>{{Navbox


| bodystyle  = margin-bottom: 0.75em; border: 1px solid #aaa;
| bodystyle  = margin-bottom: 0.75em; border: 1px solid #aaa;
Line 5: Line 5:


| group1 = [[{{#switch:{{lc:{{{game|}}}}}
| group1 = [[{{#switch:{{lc:{{{game|}}}}}
| narbacular drop  = Patches{{if lang}}#Narbacular Drop
  | portal = Patches#Full_list_of_Portal_patches
| portal  = Patches{{if lang}}#Portal
  | tools = Patches#Full_list_of_Portal_2_Authoring_Tools_patches
| tools   = Patches{{if lang}}#Tools
  | the lab = Patches#Full_list_of_The_Lab_patches
| #default = Patches{{if lang}}
  | narbacular drop = Patches#Full_list_of_Narbacular_Drop_patches
}}|{{lang
   | bridge constructor portal = Patches#Full_list_of_Bridge_Constructor_Portal_patches
  | #default = Patches
  }}{{if lang}}|{{lang
  | en = Patches
   | ar = تحديثات
   | ar = تحديثات
   | cs = Patche
   | cs = Patche
   | da = Opdateringer
   | da = Opdateringer
   | de = Patches
   | de = Patches
  | en = Patches
   | es = Parches
   | es = Parches
   | fi = Päivitykset
   | fi = Päivitykset
   | fr = Patchs
   | fr = Patchs
   | hu = Patchek
   | hu = Javítások
   | it = Patch
   | it = Patch
   | ja = パッチ
   | ja = パッチ
   | ko = 패치
   | ko = 패치
   | nl = Patches
   | nl = Patches
   | pl = Łatki
  | no = Oppdateringer
   | pl = Aktualizacje
   | pt = Atualizações
   | pt = Atualizações
   | pt-br = Atualizações
   | pt-br = Atualizações
Line 29: Line 32:
   | ru = Обновления
   | ru = Обновления
   | sv = Patchar
   | sv = Patchar
   | zh-hans = 更新
  | tr = Güncellemeler
   | zh-hans = 补丁
   | zh-hant = 更新
   | zh-hant = 更新
   }}]]{{#switch:{{lc:{{{game|}}}}}
   }}]]{{#switch:{{lc:{{{game|}}}}}
  | tools = <span style="color:#555;">&nbsp;([[{{lang date|force=en|1={{updates|type=portal2-tools-patch-month}}}} {{updates|type=portal2-tools-patch-day}}, {{updates|type=portal2-tools-patch-year}} Patch (Tools){{if lang}}|{{lang
    | en = latest
    | ar = آخر
    | cs = nejnovější
    | da = seneste
    | de = neuester
    | es = último
    | fi = viimeisin
    | fr = dernier
    | hu = legutóbbi
    | it = ultima
    | ja = 最新
    | ko = 최신
    | nl = nieuwste
    | no = seneste
    | pl = najnowsza
    | pt = última
    | pt-br = última
    | ro = ultima
    | ru = последнее
    | tr = en son
    | zh-hans = 最新
    | zh-hant = 最新
    }}]])</span>
  | portal = <span style="color:#555;">&nbsp;([[{{lang date|force=en|1={{updates|type=portal-patch-month}}}} {{updates|type=portal-patch-day}}, {{updates|type=portal-patch-year}} Patch (Portal){{if lang}}|{{lang
    | en = latest
    | ar = آخر
    | cs = nejnovější
    | da = seneste
    | de = neuester
    | es = último
    | fi = viimeisin
    | fr = dernier
    | hu = legutóbbi
    | it = ultima
    | ja = 最新
    | ko = 최신
    | nl = nieuwste
    | no = seneste
    | pl = najnowsza
    | pt = última
    | pt-br = última
    | ro = ultima
    | ru = последнее
    | tr = en son
    | zh-hans = 最新
    | zh-hant = 最新
    }}]])</span>
  | the lab
   | narbacular drop
   | narbacular drop
   | portal
   | bridge constructor portal = {{ns:0}}
  | tools = {{ns:0}}<!-- Hide this for Narbacular Drop, Portal and tool patches -->
   | #default = <span style="color:#555;">&nbsp;([[{{lang date|force=en|1={{updates|type=portal2-patch-month}}}} {{updates|type=portal2-patch-day}}, {{updates|type=portal2-patch-year}} Patch{{if lang}}|{{lang
   | <span style="color:#555;">&nbsp;([[{{lang date|force=en|1={{updates|type=patch-month}}}} {{updates|type=patch-day}}, {{updates|type=patch-year}} Patch{{if lang}}|{{lang
    | en = latest
     | ar = أخرى
     | ar = آخر
     | cs = nejnovější
     | cs = nejnovější
     | da = seneste
     | da = seneste
     | de = neuester
     | de = neuester
     | en = latest
     | es = último
     | es = última
     | fi = viimeisin
     | fr = dernier
     | fr = dernier
    | hu = legutóbbi
     | it = ultima
     | it = ultima
     | ja = 最新
     | ja = 最新
    | ko = 최신
     | nl = nieuwste
     | nl = nieuwste
    | no = seneste
     | pl = najnowsza
     | pl = najnowsza
     | pt = última
     | pt = última
Line 51: Line 107:
     | ro = ultima
     | ro = ultima
     | ru = последнее
     | ru = последнее
    | tr = en son
     | zh-hans = 最新
     | zh-hans = 最新
     | zh-hant = 最新
     | zh-hant = 最新
Line 61: Line 118:
  | fullwidth = true
  | fullwidth = true


  | col1 = ←&nbsp;{{{before}}}
  | col1 = ←&nbsp;{{#if: {{{before|}}} | {{{before}}} | {{common string|N/A}}}}
  | col2 = '''{{{current|{{BASEPAGENAME}}}}}'''
  | col2 = '''{{#if:{{{year|}}}|{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes|{{#if:{{{game|}}}|4|void}}={{#switch:{{{game}}}|portal=portal|tools=tools|the lab=lab|narbacular drop=narbacular|bridge constructor portal=bridge}}}}|{{{current|{{BASEPAGENAME}}}}}}}'''
  | col3 = {{{after}}}&nbsp;→
  | col3 = {{#if: {{{after|}}} | {{{after}}} | {{common string|N/A}}}}&nbsp;→


  }}
  }}
Line 71: Line 128:
| 1 = {{#if:{{{source|}}}
| 1 = {{#if:{{{source|}}}
   | {{lang
   | {{lang
    | en = Source
     | ar = المصدر
     | ar = المصدر
     | cs = Zdroj
     | cs = Zdroj
     | da = Kilde
     | da = Kilde
     | de = Quelle
     | de = Quelle
    | en = Source
     | es = Fuente
     | es = Fuente
     | fr = Source
     | fr = Source
Line 82: Line 139:
     | it = Fonte
     | it = Fonte
     | ja = ソース
     | ja = ソース
     | ko = 원본
     | ko = 출처
     | nl = Bron
     | nl = Bron
    | no = Kilde
     | pl = Źródło
     | pl = Źródło
     | pt = Fonte
     | pt = Fonte
Line 90: Line 148:
     | ru = Источник
     | ru = Источник
     | sv = Källa
     | sv = Källa
    | tr = Kaynak
     | zh-hans = 来源
     | zh-hans = 来源
     | zh-hant = 來源
     | zh-hant = 來源
Line 98: Line 157:
       |}}
       |}}
  | {{lang
  | {{lang
   | ar = ملحوظة: لا يوجد رابط ملحق
  | en = Note: No source link has been provided.
   | ar = ملاحظة: لم يتم توفير رابط المصدر.
   | cs = Poznámka: zdrojový odkaz nebyl poskytnut.
   | cs = Poznámka: zdrojový odkaz nebyl poskytnut.
   | da = Note: Der er ikke opgivet nogen kildelink.
   | da = OBS: Intet kildelink er angivet.
   | de = Anmerkung: Es wurde keine Quelle angegeben.
   | de = Anmerkung: Es wurde keine Quelle angegeben.
  | en = Note: No source link has been provided.
   | es = Nota: No se ha especificado el enlace de la fuente.
   | es = Nota: No se ha especificado el enlace de la fuente.
   | fi = Huomautus: lähdelinkkiä ei ole annettu.
   | fi = Huomautus: lähdelinkkiä ei ole annettu.
   | fr = Note: Aucun lien n'a été fourni.
   | fr = Note : Aucun lien n'a été fourni.
   | hu = Megjegyzés: nincs forrás megadva.
   | hu = Megjegyzés: nincs forrás megadva.
   | it = Nota: non è stata fornita alcuna fonte.
   | it = Nota: non è stata fornita alcuna fonte.
   | ja = 注: ソースのリンクは提供されていません。
   | ja = 注: ソースのリンクは提供されていません。
   | ko = 안내: 원본 링크가 없습니다.
   | ko = 주석: 출처 링크가 없습니다.
   | nl = Opmerking: Geen bron is gegeven.
   | nl = Opmerking: er is geen bronlink opgegeven.
  | no = NB: Ingen kildelenke er gitt.
   | pl = Uwaga: nie istnieje źródłowy link do aktualizacji.
   | pl = Uwaga: nie istnieje źródłowy link do aktualizacji.
   | pt = Nota: nenhum link para a fonte foi especificado.
   | pt = Nota: Nenhum link para a fonte foi especificado.
   | pt-br = Nota: nenhum link para a fonte foi especificado.
   | pt-br = Observação: nenhum link para a fonte foi especificado.
   | ro = Notă: nu a fost specificat link-ul sursei.
   | ro = Notă: nu a fost specificat link-ul sursei.
   | ru = Ссылка на источник отсутствует.
   | ru = Примечание: ссылка на источник отсутствует.
   | sv = Obs: ingen källa länk har lämnats.
   | sv = Obs: ingen källa länk har lämnats.
   | zh-hans = 注意:没提供来源连接
  | tr = Dikkat: Kaynak belirtilmedi.
   | zh-hant = 附註:無提供來源連結
   | zh-hans = 注:未提供任何来源链接。
   }}<includeonly>{{if lang
   | zh-hant = 附註:無提供來源鏈接。
    | en = [[Category:Patches with no source]]
   }}<includeonly>{{#if:{{{no-category|}}} | | [[Category:Patches with no source{{if lang}}]] }}</includeonly>
    | non-en = [[Category:Patches with no source/lang|{{SUBPAGENAME}} {{BASEPAGENAME}}]]
    }}</includeonly>
   }}
   }}
}}{{#if:{{{updatelink|}}}|
}}{{#if:{{{updatelink|}}}|
{{hatnote|1={{lang
{{hatnote|1={{lang
  | en = Official update page
   | ar = صفحة تحديث الرسمية
   | ar = صفحة تحديث الرسمية
   | cs = Oficiální stránka
   | cs = Oficiální stránka
   | da = Officielle opdaterings side
   | da = Officiel opdateringsside
   | de = Offizielle Update Seite
   | de = Offizielle Updateseite
  | en = Official update page
   | es = Página oficial del parche
   | es = Página oficial del parche
   | fi = Virallinen päivityssivu
   | fi = Virallinen päivityssivu
Line 138: Line 196:
   | ja = 公式アップデートページ
   | ja = 公式アップデートページ
   | ko = 공식 업데이트 페이지
   | ko = 공식 업데이트 페이지
   | nl = Officiële Update Pagina
   | nl = Officiële updatepagina
  | no = Offisiell oppdateringsside
   | pl = Oficjalna strona aktualizacji
   | pl = Oficjalna strona aktualizacji
   | pt = Página oficial da atualização
   | pt = Página oficial da atualização
Line 144: Line 203:
   | ro = Pagina oficială a actualizării
   | ro = Pagina oficială a actualizării
   | ru = Официальная страница обновления
   | ru = Официальная страница обновления
   | sv = Officiella uppdatera sidan
   | sv = Officiella uppdaternigs-sidan
   | zh-hans = 宫方更新网页
  | tr = Resmî güncelleme sayfası
   | 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}}}}}}}}}
|}} __NOEDITSECTION__
|}} __NOEDITSECTION__
=={{lang
=={{lang
  | en = Patch notes
   | ar = تفاصيل التحديث
   | ar = تفاصيل التحديث
   | cs = Poznámky k patchi
   | cs = Poznámky ke změnám
   | da = Opdaterings noter
   | da = Patchnoter
   | de = Patch Mitschrift
   | de = Patch-Mitschrift
  | en = Patch notes
   | es = Notas del parche
   | es = Notas del parche
   | fi = Päivityksen tiedot
   | fi = Päivityksen tiedot
   | fr = Journal des Modifications
   | fr = Notes de mise à jour
   | hu = Változtatások a patchben
   | hu = Változtatások a javításban
   | it = Contenuti dell'aggiornamento
   | it = Contenuti dell'aggiornamento
   | ja = パッチノート
   | ja = パッチノート
   | ko = 패치 노트
   | ko = 패치 노트
   | nl = Patch notities
   | nl = Patchopmerkingen
  | no = Patchnoter
   | pl = Lista zmian
   | pl = Lista zmian
   | pt = Notas da atualização
   | pt = Notas da atualização
   | pt-br = Notas da Atualização
   | pt-br = Detalhes da atualização
   | ro = Notele actualizării
   | ro = Notele actualizării
   | ru = Содержание обновления
   | ru = Содержание обновления
   | sv = Patch anteckningar
   | sv = Patchanteckningar
   | zh-hans = 更新内容
  | tr = Güncelleme notları
   | zh-hans = 补丁说明
   | zh-hant = 更新內容
   | zh-hant = 更新內容
   }}==
   }}==
{{{notes}}}{{#if: {{{diff-1|}}}|
{{{notes}}}{{#if: {{{hide-diff|}}}
  | {{ns:0}}
  |{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 2|
{{Patch layout/Diff header}}<span></span><!-- Necessary to make headers work -->
{{Patch layout/Diff header}}<span></span><!-- Necessary to make headers work -->
=== Patch 1 ===
=== {{lang
{{PatchDiff/{{{diff-1|}}}}}{{#if: {{{diff-2|}}}|<span></span><!-- Necessary to make headers work -->
  | en = Patch 1
=== Patch 2 ===
  | ar = تحديث ١
{{PatchDiff/{{{diff-2|}}}}}}}{{#if: {{{diff-3|}}}|<span></span><!-- Necessary to make headers work -->
  | cs = Patch 1
=== Patch 3 ===
  | de = Patch 1
{{PatchDiff/{{{diff-3|}}}}}}}{{#if: {{{diff-4|}}}|<span></span><!-- Necessary to make headers work -->
  | es = Parche 1
=== Patch 4 ===
  | fi = Päivitys 1
{{PatchDiff/{{{diff-4|}}}}}}}{{#if: {{{diff-5|}}}|<span></span><!-- Necessary to make headers work -->
  | fr = Patch 1
=== Patch 5 ===
  | ja = パッチ その1
{{PatchDiff/{{{diff-5|}}}}}}}
  | ko = 패치 1
  | nl = Patch 1
  | no = Patch 1
  | pl = 1. Aktualizacja
  | pt = 1ª atualização
  | pt-br = 1ª atualização
  | ru = Обновление 1
  | zh-hans = 补丁一
  | zh-hant = 更新 1
  }} ===
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div><span></span><!-- Necessary to make headers work -->
=== {{lang
  | en = Patch 2
  | ar = تحديث ٢
  | cs = Patch 2
  | de = Patch 2
  | es = Parche 2
  | fi = Päivitys 2
  | fr = Patch 2
  | ja = パッチ その2
  | ko = 패치 2
  | nl = Patch 2
  | no = Patch 2
  | pl = 2. Aktualizacja
  | pt = 2ª atualização
  | pt-br = 2ª atualização
  | ru = Обновление 2
  | zh-hans = 补丁二
  | zh-hant = 更新 2
  }} ===
<div class="diffname {{BASEPAGENAME}} 2">{{PatchDiff/{{BASEPAGENAME}} 2}}</div>{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 3|<span></span><!-- Necessary to make headers work -->
=== {{lang
  | en = Patch 3
  | ar = تحديث ٣
  | cs = Patch 3
  | de = Patch 3
  | es = Parche 3
  | fi = Päivitys 3
  | fr = Patch 3
  | ja = パッチ その3
  | ko = 패치 3
  | nl = Patch 3
  | no = Patch 3
  | pl = 3. Aktualizacja
  | pt = 3ª atualização
  | pt-br = 3ª atualização
  | ru = Обновление 3
  | zh-hans = 补丁三
  | zh-hant = 更新 3
  }} ===
<div class="diffname {{BASEPAGENAME}} 3">{{PatchDiff/{{BASEPAGENAME}} 3}}</div>}}
|{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} |
|{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} |
{{Patch layout/Diff header}}
{{Patch layout/Diff header}}
{{PatchDiff/{{BASEPAGENAME}}}}
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div>
}}}}
}}}}}}
</div><includeonly>{{lang cat|{{#switch:{{lc:{{{game|}}}}}
</div><includeonly>{{#if: {{{no-category|}}} | | {{lang cat|{{#switch:{{lc:{{{game|}}}}}
| narbacular drop = Patches (Narbacular Drop)
  | portal = Patches (Portal)
  | portal = Patches (Portal)
  | tools = Patches (Tools)
  | tools = Patches (Tools)
| the lab = Patches (The Lab)
| narbacular drop = Patches (Narbacular Drop)
| bridge constructor portal = Patches  (Bridge Constructor Portal)
  | #default = Patches
  | #default = Patches
  }}}}</includeonly><noinclude>
  }}}} |
{{translation switching|all languages except: no}}
sort = {{#time:Y-m-d|{{{year}}}-{{{month}}}-{{{day}}}}}}}</includeonly><noinclude>
{{translation switching|all}}
{{Template doc}}
{{Template doc}}
[[Category:Formatting templates|Patch layout]]
[[Category:Formatting templates|Patch layout]]
</noinclude>
</noinclude>

Latest revision as of 17:41, 25 May 2024

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.