Template:Patch layout: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<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; | |||
| groupstyle = font-size: 105%; background: #B2D7E9; | |||
| group1 = [[{{#switch:{{lc:{{{game|}}}}} | |||
| portal = Patches#Full_list_of_Portal_patches | |||
| tools = Patches#Full_list_of_Portal_2_Authoring_Tools_patches | |||
| the lab = Patches#Full_list_of_The_Lab_patches | |||
| narbacular drop = Patches#Full_list_of_Narbacular_Drop_patches | |||
| bridge constructor portal = Patches#Full_list_of_Bridge_Constructor_Portal_patches | |||
| #default = Patches | |||
}}{{if lang}}|{{lang | |||
| en = Patches | |||
| ar = تحديثات | |||
| cs = Patche | |||
| da = Opdateringer | |||
| de = Patches | |||
| es = Parches | |||
| fi = Päivitykset | |||
| fr = Patchs | |||
| hu = Javítások | |||
| it = Patch | |||
| ja = パッチ | |||
| ko = 패치 | |||
| nl = Patches | |||
| no = Oppdateringer | |||
| pl = Aktualizacje | |||
| pt = Atualizações | |||
| pt-br = Atualizações | |||
| ro = Actualizări | |||
| ru = Обновления | |||
| sv = Patchar | |||
| tr = Güncellemeler | |||
| zh-hans = 补丁 | |||
| zh-hant = 更新 | |||
}}]]{{#switch:{{lc:{{{game|}}}}} | |||
| tools = <span style="color:#555;"> ([[{{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;"> ([[{{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 | |||
| bridge constructor portal = {{ns:0}} | |||
| #default = <span style="color:#555;"> ([[{{lang date|force=en|1={{updates|type=portal2-patch-month}}}} {{updates|type=portal2-patch-day}}, {{updates|type=portal2-patch-year}} Patch{{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> | |||
}} | |||
| list1 = {{Navbox with columns|child | |||
| colstyle = background: #DEE8ED; text-align: center; font-size: 105%; | |||
| fullwidth = true | |||
| col1 = ← {{#if: {{{before|}}} | {{{before}}} | {{common string|N/A}}}} | |||
| 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 = {{#if: {{{after|}}} | {{{after}}} | {{common string|N/A}}}} → | |||
}} | |||
}} | |||
<div style="background-color: #FDFAF8; border: 1px solid #aaa; margin: 0.75em 0; padding: 0.75em 1em; padding-bottom: 1em;"> | |||
{{hatnote | |||
| 1 = {{#if:{{{source|}}} | |||
| {{lang | |||
| en = Source | |||
| ar = المصدر | |||
| cs = Zdroj | |||
| da = Kilde | |||
| de = Quelle | |||
| es = Fuente | |||
| fr = Source | |||
| fi = Lähde | |||
| hu = Forrás | |||
| it = Fonte | |||
| ja = ソース | |||
| ko = 출처 | |||
| nl = Bron | |||
| no = Kilde | |||
| pl = Źródło | |||
| pt = Fonte | |||
| pt-br = Fonte | |||
| ro = Sursă | |||
| ru = Источник | |||
| sv = Källa | |||
| tr = Kaynak | |||
| zh-hans = 来源 | |||
| zh-hant = 來源 | |||
}}: [{{{source}}} {{{source-title|{{{source}}}}}}]{{if lang|1=|2= {{lang icon|1={{{source-lang|en}}}}}}}{{#if:{{{source2|}}} | |||
|, [{{{source2}}} {{{source2-title|{{{source2}}}}}}]{{if lang|1=|2= {{lang icon|1={{{source2-lang|en}}}}}}}{{#if:{{{source3|}}} | |||
|, [{{{source3}}} {{{source3-title|{{{source3}}}}}}]{{if lang|1=|2= {{lang icon|1={{{source3-lang|en}}}}}}} | |||
|}} | |||
|}} | |||
| {{lang | |||
| en = Note: No source link has been provided. | |||
| ar = ملاحظة: لم يتم توفير رابط المصدر. | |||
| cs = Poznámka: zdrojový odkaz nebyl poskytnut. | |||
| da = OBS: Intet kildelink er angivet. | |||
| de = Anmerkung: Es wurde keine Quelle angegeben. | |||
| es = Nota: No se ha especificado el enlace de la fuente. | |||
| fi = Huomautus: lähdelinkkiä ei ole annettu. | |||
| fr = Note : Aucun lien n'a été fourni. | |||
| hu = Megjegyzés: nincs forrás megadva. | |||
| it = Nota: non è stata fornita alcuna fonte. | |||
| ja = 注: ソースのリンクは提供されていません。 | |||
| ko = 주석: 출처 링크가 없습니다. | |||
| nl = Opmerking: er is geen bronlink opgegeven. | |||
| no = NB: Ingen kildelenke er gitt. | |||
| pl = Uwaga: nie istnieje źródłowy link do aktualizacji. | |||
| pt = 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. | |||
| ru = Примечание: ссылка на источник отсутствует. | |||
| sv = Obs: ingen källa länk har lämnats. | |||
| tr = Dikkat: Kaynak belirtilmedi. | |||
| zh-hans = 注:未提供任何来源链接。 | |||
| zh-hant = 附註:無提供來源鏈接。 | |||
}}<includeonly>{{#if:{{{no-category|}}} | | [[Category:Patches with no source{{if lang}}]] }}</includeonly> | |||
}} | |||
}}{{#if:{{{updatelink|}}}| | |||
{{hatnote|1={{lang | |||
| en = Official update page | |||
| ar = صفحة تحديث الرسمية | |||
| cs = Oficiální stránka | |||
| da = Officiel opdateringsside | |||
| de = Offizielle Updateseite | |||
| es = Página oficial del parche | |||
| fi = Virallinen päivityssivu | |||
| fr = Lien officiel | |||
| hu = Hivatalos frissítési oldal | |||
| it = Pagina ufficiale dell'aggiornamento | |||
| ja = 公式アップデートページ | |||
| ko = 공식 업데이트 페이지 | |||
| nl = Officiële updatepagina | |||
| no = Offisiell oppdateringsside | |||
| pl = Oficjalna strona aktualizacji | |||
| pt = Página oficial da atualização | |||
| pt-br = Página oficial da atualização | |||
| ro = Pagina oficială a actualizării | |||
| ru = Официальная страница обновления | |||
| sv = Officiella uppdaternigs-sidan | |||
| tr = Resmî güncelleme sayfası | |||
| zh-hans = 官方更新网页 | |||
| zh-hant = 官方更新頁面 | |||
}}: [{{{updatelink}}} {{{update|{{{updatelink}}}}}}]{{if lang|1=|2= {{lang icon|1={{{update-lang|en}}}}}}}}} | |||
|}} __NOEDITSECTION__ | |||
=={{lang | |||
| en = Patch notes | |||
| ar = تفاصيل التحديث | |||
| cs = Poznámky ke změnám | |||
| da = Patchnoter | |||
| de = Patch-Mitschrift | |||
| es = Notas del parche | |||
| fi = Päivityksen tiedot | |||
| fr = Notes de mise à jour | |||
| hu = Változtatások a javításban | |||
| it = Contenuti dell'aggiornamento | |||
| ja = パッチノート | |||
| ko = 패치 노트 | |||
| nl = Patchopmerkingen | |||
| no = Patchnoter | |||
| pl = Lista zmian | |||
| pt = Notas da atualização | |||
| pt-br = Detalhes da atualização | |||
| ro = Notele actualizării | |||
| ru = Содержание обновления | |||
| sv = Patchanteckningar | |||
| tr = Güncelleme notları | |||
| zh-hans = 补丁说明 | |||
| zh-hant = 更新內容 | |||
}}== | |||
{{{notes}}}{{#if: {{{hide-diff|}}} | |||
| {{ns:0}} | |||
|{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 2| | |||
{{Patch layout/Diff header}}<span></span><!-- Necessary to make headers work --> | |||
=== {{lang | |||
| en = Patch 1 | |||
| ar = تحديث ١ | |||
| cs = Patch 1 | |||
| de = Patch 1 | |||
| es = Parche 1 | |||
| fi = Päivitys 1 | |||
| fr = Patch 1 | |||
| ja = パッチ その1 | |||
| 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}} | | |||
{{Patch layout/Diff header}} | |||
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div> | |||
}}}}}} | |||
</div><includeonly>{{#if: {{{no-category|}}} | | {{lang cat|{{#switch:{{lc:{{{game|}}}}} | |||
| portal = Patches (Portal) | |||
| tools = Patches (Tools) | |||
| the lab = Patches (The Lab) | |||
| narbacular drop = Patches (Narbacular Drop) | |||
| bridge constructor portal = Patches (Bridge Constructor Portal) | |||
| #default = Patches | |||
}}}} | | |||
sort = {{#time:Y-m-d|{{{year}}}-{{{month}}}-{{{day}}}}}}}</includeonly><noinclude> | |||
{{translation switching|all}} | |||
{{Template doc}} | |||
[[Category:Formatting templates|Patch layout]] | |||
</noinclude> | |||
Latest revision as of 17:41, 25 May 2024
|
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 (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.