Difference between revisions of "Template:Patch layout"

From Team Fortress Wiki
Jump to: navigation, search
m (wrong param names)
m (TF2 Beta forums' dead, replacing with web archive link)
(24 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{displaytitle|}}}||{{#if:{{{year|}}}|{{DISPLAYTITLE:{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes}}}}}}}}</includeonly>{{Navbox
+
<includeonly>{{#if:{{{displaytitle|}}}||{{#if:{{{year|}}}|{{DISPLAYTITLE:{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes|{{#if:{{{game|}}}|4|void}}={{#switch:{{{game}}}|tf2beta=beta|tfc=classic|xbox=xbox|ps3=ps3}}}}}}}}}}</includeonly>{{Navbox
  
 
| bodystyle  = margin-bottom: 0.75em; border: 1px solid #aaa;
 
| bodystyle  = margin-bottom: 0.75em; border: 1px solid #aaa;
Line 7: Line 7:
 
   | tfc = Patches (Classic)
 
   | tfc = Patches (Classic)
 
   | tf2beta = Patches (Beta)
 
   | tf2beta = Patches (Beta)
 +
  | xbox = Patches (Xbox)
 +
  | ps3 = Patches (PS3)
 
   | #default = Patches
 
   | #default = Patches
 
   }}{{if lang}}|{{lang
 
   }}{{if lang}}|{{lang
Line 29: Line 31:
 
   | sv = Patchar
 
   | sv = Patchar
 
   | tr = Güncellemeler
 
   | tr = Güncellemeler
   | zh-hans = 更新
+
   | zh-hans = 补丁
 
   | zh-hant = 更新
 
   | zh-hant = 更新
 
   }}]]{{#switch:{{lc:{{{game|}}}}}
 
   }}]]{{#switch:{{lc:{{{game|}}}}}
 
   | tfc
 
   | tfc
 +
  | xbox
 +
  | ps3
 
   | tf2beta = {{ns:0}}<!-- Hide this for TFC and TF2 Beta patches -->
 
   | tf2beta = {{ns:0}}<!-- Hide this for TFC and TF2 Beta patches -->
 
   | #default = <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
 
   | #default = <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
Line 65: Line 69:
  
 
  | col1 = ←&nbsp;{{#if: {{{before|}}} | {{{before}}} | {{common string|N/A}}}}
 
  | col1 = ←&nbsp;{{#if: {{{before|}}} | {{{before}}} | {{common string|N/A}}}}
  | col2 = '''{{#if: {{{year|}}}|{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes}}|{{{current|{{BASEPAGENAME}}}}}}}'''
+
  | col2 = '''{{#if:{{{year|}}}|{{patch name|{{{month}}}|{{{day}}}|{{{year}}}|date=true|no-link=yes|{{#if:{{{game|}}}|4|void}}={{#switch:{{{game}}}|tf2beta=beta|tfc=classic|xbox=xbox|ps3=ps3}}}}|{{{current|{{BASEPAGENAME}}}}}}}'''
 
  | col3 = {{#if: {{{after|}}} | {{{after}}} | {{common string|N/A}}}}&nbsp;→
 
  | col3 = {{#if: {{{after|}}} | {{{after}}} | {{common string|N/A}}}}&nbsp;→
  
Line 126: Line 130:
 
     | zh-hans = 来源
 
     | zh-hans = 来源
 
     | zh-hant = 來源
 
     | zh-hant = 來源
     }}:&nbsp;[http://forums.steampowered.com/forums/forumdisplay.php?f=1038 {{lang
+
     }}:&nbsp;[https://web.archive.org/web/20131009174939/http://forums.steampowered.com/forums/forumdisplay.php?f=1038 {{lang
     | en = TF2 Beta forums
+
     | en = TF2 Beta forums (Web Archive)
 +
    | fr = Forum Bêta TF2
 
     | nl = TF2-bètaforums
 
     | nl = TF2-bètaforums
     | pt-br = Fóruns de TF2 Beta
+
    | pt = Fóruns TF2 Beta
 +
     | pt-br = Fóruns do beta do TF2
 +
    | ru = Форум TF2 Бета
 +
    | zh-hans = TF2测试版论坛(网页存档)
 
     }}]{{if lang|1=|2=&nbsp;{{lang icon|en}}}}
 
     }}]{{if lang|1=|2=&nbsp;{{lang icon|en}}}}
 
   | {{lang
 
   | {{lang
Line 139: Line 147:
 
   | 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.
Line 146: Line 154:
 
   | nl = Opmerking: er is geen bronlink opgegeven.
 
   | nl = Opmerking: er is geen bronlink opgegeven.
 
   | 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.
 
   | tr = Dikkat: Kaynak belirtilmedi.
 
   | tr = Dikkat: Kaynak belirtilmedi.
   | zh-hans = 注意:没提供来源连接
+
   | zh-hans = 注意:没有提供来源链接。
   | zh-hant = 附註:無提供來源連結
+
   | zh-hant = 附註:無提供來源鏈接。
 
   }}<includeonly>{{#if:{{{no-category|}}} | | [[Category:Patches with no source{{if lang}}]] }}</includeonly>
 
   }}<includeonly>{{#if:{{{no-category|}}} | | [[Category:Patches with no source{{if lang}}]] }}</includeonly>
 
   }}
 
   }}
Line 163: Line 171:
 
   | cs = Oficiální stránka
 
   | cs = Oficiální stránka
 
   | da = Officiel opdateringsside
 
   | da = Officiel opdateringsside
   | de = Offizielle Update Seite
+
   | de = Offizielle Updateseite
 
   | es = Página oficial del parche
 
   | es = Página oficial del parche
 
   | fi = Virallinen päivityssivu
 
   | fi = Virallinen päivityssivu
Line 179: Line 187:
 
   | sv = Officiella uppdaternigs-sidan
 
   | sv = Officiella uppdaternigs-sidan
 
   | tr = Resmî güncelleme sayfası
 
   | tr = Resmî güncelleme sayfası
   | 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 186: Line 194:
 
   | en = Patch notes
 
   | en = Patch notes
 
   | ar = تفاصيل التحديث
 
   | ar = تفاصيل التحديث
   | cs = Patch poznámky
+
   | cs = Poznámky k patchi
   | da = Opdateringsnoter
+
   | da = Patchnoter
 
   | de = Patch-Mitschrift
 
   | de = Patch-Mitschrift
  | da = Patchnoter
 
 
   | 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 javításban
 
   | hu = Változtatások a javításban
 
   | it = Contenuti dell'aggiornamento
 
   | it = Contenuti dell'aggiornamento
 
   | ja = パッチノート
 
   | ja = パッチノート
   | ko = 패치 내용
+
   | ko = 패치 노트
 
   | nl = Patchopmerkingen
 
   | nl = Patchopmerkingen
 
   | pl = Lista zmian
 
   | pl = Lista zmian
Line 205: Line 212:
 
   | sv = Patchanteckningar  
 
   | sv = Patchanteckningar  
 
   | tr = Güncelleme notları
 
   | tr = Güncelleme notları
   | zh-hans = 更新内容
+
   | zh-hans = 补丁说明
 
   | zh-hant = 更新內容
 
   | zh-hant = 更新內容
 
   }}==
 
   }}==
Line 219: Line 226:
 
     | es = ¡Síguenos en [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] para obtener información actualizada al momento!
 
     | es = ¡Síguenos en [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] para obtener información actualizada al momento!
 
     | fi = Seuraa meitä [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitterissä] saadaksesi reaaliaikaista tietoa päivityksistä!
 
     | fi = Seuraa meitä [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitterissä] saadaksesi reaaliaikaista tietoa päivityksistä!
     | fr = Suivez-nous sur [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] pour être informé en temps réel des dernières infos !
+
     | fr = Suivez-nous sur [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] pour être informé en temps réel des dernières informations !
 
     | hu = Kövess minket a [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitteren] a rendszeres frissítésekhez!
 
     | hu = Kövess minket a [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitteren] a rendszeres frissítésekhez!
 
     | it = Seguiteci su [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] per avere aggiornamenti in diretta!
 
     | it = Seguiteci su [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] per avere aggiornamenti in diretta!
 
     | ja = リアルタイムでニュースを受け取りたい方は [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] をフォローしてください!
 
     | ja = リアルタイムでニュースを受け取りたい方は [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] をフォローしてください!
     | ko = 실시간으로 업데이트 소식을 받고 싶다면, [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/Official팀포위키 트위터]를 팔로우하세요!
+
     | ko = 실시간으로 업데이트 소식을 받고 싶다면, [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter]를 팔로우하세요!
 
     | nl = Volg ons op [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] en mis geen enkele update!
 
     | nl = Volg ons op [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] en mis geen enkele update!
 
     | no = Følg oss på [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] for fremtidige oppdateringer!
 
     | no = Følg oss på [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] for fremtidige oppdateringer!
     | pt-br = Siga-nos no [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] para cobertura da atualização ao vivo! {{lang icon}}
+
    | pt = Segue-nos no [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] para não perderes nenhuma atualização!
     | ru = Читайте нас в [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter], чтобы следить за обновлениями в режиме реальном времени!
+
     | pt-br = Siga-nos no [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] {{lang icon}} para cobertura das atualizações ao vivo!
 +
     | ru = Читайте нас в [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter], чтобы следить за обновлениями в режиме реального времени!
 
     | sv = Följ oss på [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] för live uppdateringsbevakning!
 
     | sv = Följ oss på [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] för live uppdateringsbevakning!
 
     | tr = Canlı güncellemeler için bizi [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter]'dan takip edin!
 
     | tr = Canlı güncellemeler için bizi [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter]'dan takip edin!
 +
    | zh-hans = 在 [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] 关注我们以获取实时更新报道!
 +
    | zh-hant = 在 [http://twitter.com/OfficialTFWiki http://twitter-badges.s3.amazonaws.com/t_mini-a.png] [http://twitter.com/OfficialTFWiki Twitter] 上追蹤我們以觀看更新實況 !
 
   }}
 
   }}
 
   }}
 
   }}
Line 239: Line 249:
 
=== {{lang
 
=== {{lang
 
   |en = Patch 1
 
   |en = Patch 1
 +
  |de = Patch 1
 +
  |es = Parche 1
 
   |fi = Päivitys 1
 
   |fi = Päivitys 1
   |pt-br = 1ª Atualização
+
  |fr = Patch 1
 +
  |ja = パッチ その1
 +
  |ko = 패치 1
 +
  |pt = 1ª atualização
 +
   |pt-br = 1ª atualização
 
   |ru = Обновление 1
 
   |ru = Обновление 1
 +
  |zh-hans = 补丁一
 +
  |zh-hant = 更新 1
 
   }} ===
 
   }} ===
 
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div><span></span><!-- Necessary to make headers work -->
 
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div><span></span><!-- Necessary to make headers work -->
 
=== {{lang
 
=== {{lang
 
   |en = Patch 2
 
   |en = Patch 2
 +
  |de = Patch 2
 +
  |es = Parche 2
 
   |fi = Päivitys 2
 
   |fi = Päivitys 2
   |pt-br = 2ª Atualização
+
  |fr = Patch 2
 +
  |ja = パッチ その2
 +
  |ko = 패치 2
 +
  |pt = 2ª atualização
 +
   |pt-br = 2ª atualização
 
   |ru = Обновление 2
 
   |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 -->
 
<div class="diffname {{BASEPAGENAME}} 2">{{PatchDiff/{{BASEPAGENAME}} 2}}</div>{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 3|<span></span><!-- Necessary to make headers work -->
 
=== {{lang
 
=== {{lang
 
   |en = Patch 3
 
   |en = Patch 3
 +
  |de = Patch 3
 +
  |es = Parche 3
 
   |fi = Päivitys 3
 
   |fi = Päivitys 3
   |pt-br = 3ª Atualização
+
  |fr = Patch 3
 +
  |ja = パッチ その3
 +
  |ko = 패치 3
 +
  |pt = 3ª atualização
 +
   |pt-br = 3ª atualização
 
   |ru = Обновление 3
 
   |ru = Обновление 3
 +
  |zh-hans = 补丁三
 +
  |zh-hant = 更新 3
 
   }} ===
 
   }} ===
 
<div class="diffname {{BASEPAGENAME}} 3">{{PatchDiff/{{BASEPAGENAME}} 3}}</div>}}
 
<div class="diffname {{BASEPAGENAME}} 3">{{PatchDiff/{{BASEPAGENAME}} 3}}</div>}}
Line 265: Line 299:
 
  | tfc = Patches (Classic)
 
  | tfc = Patches (Classic)
 
  | tf2beta = Patches (Beta)
 
  | tf2beta = Patches (Beta)
 +
| xbox = Patches (Xbox 360)
 +
| ps3 = Patches (PlayStation 3)
 
  | #default = Patches
 
  | #default = Patches
 
  }}}} |
 
  }}}} |
  sort = {{#time:Y-m-d|{{{year}}}-{{{month}}}-{{{day}}}}}}}}</includeonly><noinclude>
+
  sort = {{#time:Y-m-d|{{{year}}}-{{{month}}}-{{{day}}}}}}}</includeonly><noinclude>
{{translation switching|fi, pt-br, ru}}
+
{{translation switching|en, de, pt, pt-br, ru}}
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Formatting templates|Patch layout]]
 
[[Category:Formatting templates|Patch layout]]
 
</noinclude>
 
</noinclude>

Revision as of 08:33, 12 July 2021

Note: No source link has been provided.

Patch notes

{{{notes}}}

Template documentation [view] [edit] [history] [purge]

Usage

Please see Help:Patch notes for full instructions on adding patch notes to the wiki.

This template keeps the style of patch note pages consistent. This template supersedes {{Patch}} and {{Succession box}}. This template uses other helper templates for some parts of its translation. See also: {{Patch layout/Diff header}}

Parameters

Parameter Example Required? Description
notes

* Fixed bug that caused a crash.

* Added a new cvar that disables W+M1.

yes The actual patch notes.
game tfc no This isn't necessary for TF2 patches. If set to "tfc", this will change the links and categories accordingly (i.e. link to Patches (Classic)) and categorize into Category:Patches (Classic).
Next / Previous
before August 2, 2010 Patch yes A link to the previous patch.
day, month, year 17. august, 2010 Automatically set by WindBOT The date the current patch was released on. Required for translated patches in order to have DISPLAYTITLE automatically populated.
after August 20, 2010 Patch yes A link to the next patch. If none, put N/A.
Sources
source<n> http://store.steampowered.com/news/4102/ yes The URL of the Steam news article on the patch. Supports up to 3 individual sources.
source<n>-title 22 Jul 2010 – Team Fortress 2 Update Released no Optional name override on source link. Supports up to 3 individual sources.
updatelink http://www.teamfortress.com/war/part1/index.htm no URL of official update page (only for major updates).
update The WAR! Update no Name of major update to be displayed with the link.
Diffs
Nothing If it exists, the page at Template:PatchDiff/Patch page name will be transcluded. If Template:PatchDiff/Patch page name n exists, where n is an integer, it will also be transcluded.
hide-diff | hide-diff = yes no Override to not transclude the patch diff.
Other
displaytitle | displaytitle = no no Template will automatically set the displayed title of the page (i.e. {{DISPLAYTITLE:Title}}) unless this is parameter is defined. The automatic title used is the text of the current parameter; if this is not defined, no display title is set.
no-category | no-category = yes no Disables automatic categorization. Should be used for pages such as user sandboxes.
crowdin | crowdin = yes no Removes automatic {{lang icon}} from patches that have been translated and published on Steam.

Examples

{{Patch layout
| source = http://store.steampowered.com/news/4102/
| source-title = Team Fortress 2 Update Released
| before = [[July 19, 2010 Patch]]
| after  = [[July 23, 2010 Patch]]

| notes  = 

=== Server Browser ===
* Fixed the server browser not saving filter settings properly

=== Team Fortress 2 ===
* Fixed a speed exploit related to benchmarks
* Fixed Parasite hat not being posed correctly on class loadout panels
* Fixed a level change crash

}}