Difference between revisions of "Template:Patch layout"

From Team Fortress Wiki
Jump to: navigation, search
m (Almost perfect FR translation.)
m (Pass patch month to diff header, update SNS nag)
 
Line 228: Line 228:
 
   | zh-hant = 更新內容
 
   | zh-hant = 更新內容
 
   }}==
 
   }}==
{{#ifeq:{{LOCALYEAR}}.{{LOCALMONTH}}.{{LOCALDAY}}
+
{{#ifexpr: {{age in days|{{updates|type=patch-year}}|{{updates|type=patch-month}}|{{updates|type=patch-day}}}} <= 2
| {{updates|type=patch-year}}.{{updates|type=patch-month}}.{{updates|type=patch-day}}
 
 
| {{Blockquote
 
| {{Blockquote
 
   |class=plainlinks
 
   |class=plainlinks
 
   |1={{lang
 
   |1={{lang
     | en = Follow us on [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] for live update coverage!
+
     | en = Follow us on [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk?kawaii=true https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] for live update coverage!
     | cs = Sledujte nás na [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Blueskyu] pro živé informace o aktualizacích!
+
     | cs = Sledujte nás na [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Blueskyu] pro živé informace o aktualizacích!
     | da = Følg os på [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] for direkte dækning af opdateringer!
+
     | da = Følg os på [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] for direkte dækning af opdateringer!
     | de = Folge uns auf [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] und verpasse keine Änderungen!
+
     | de = Folge uns auf [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] und verpasse keine Änderungen!
     | es = ¡Síguenos en [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] para obtener información actualizada al momento!
+
     | es = ¡Síguenos en [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] para obtener información actualizada al momento!
     | fi = Seuraa meitä [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Blueskyissä] saadaksesi reaaliaikaista tietoa päivityksistä!
+
     | fi = Seuraa meitä [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Blueskyissä] saadaksesi reaaliaikaista tietoa päivityksistä!
     | fr = Suivez-nous sur [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] pour être informé en temps réel des dernières informations !
+
     | fr = Suivez-nous sur [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] pour être informé en temps réel des dernières informations !
     | hu = Kövess minket a [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Blueskyen] a rendszeres frissítésekhez!
+
     | hu = Kövess minket a [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Blueskyen] a rendszeres frissítésekhez!
     | it = Seguiteci su [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] per avere aggiornamenti in diretta!
+
     | it = Seguiteci su [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] per avere aggiornamenti in diretta!
     | ja = リアルタイムでニュースを受け取りたい方は [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] をフォローしてください!
+
     | ja = リアルタイムでニュースを受け取りたい方は [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] をフォローしてください!
     | ko = 실시간으로 업데이트 소식을 받고 싶다면, [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky]를 팔로우하세요!
+
     | ko = 실시간으로 업데이트 소식을 받고 싶다면, [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky]를 팔로우하세요!
     | nl = Volg ons op [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] en mis geen enkele update!
+
     | nl = Volg ons op [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] en mis geen enkele update!
     | no = Følg oss på [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] for direkte nyheter om oppdateringer!
+
     | no = Følg oss på [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] for direkte nyheter om oppdateringer!
     | pl = Śledź nas na [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Blueskyze]{{lang icon|en}} dla bieżących relacji o aktualizacjach!
+
     | pl = Śledź nas na [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Blueskyze]{{lang icon|en}} dla bieżących relacji o aktualizacjach!
     | pt = Segue-nos no [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] para não perderes nenhuma atualização!
+
     | pt = Segue-nos no [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] para não perderes nenhuma atualização!
     | pt-br = Siga-nos no [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] {{lang icon}} para cobertura ao vivo das atualizações!
+
     | pt-br = Siga-nos no [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] {{lang icon}} para cobertura ao vivo das atualizações!
     | ru = Читайте нас в [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky], чтобы следить за обновлениями в режиме реального времени!
+
     | ru = Читайте нас в [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky], чтобы следить за обновлениями в режиме реального времени!
     | sv = Följ oss på [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] för live uppdateringsbevakning!
+
     | sv = Följ oss på [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] för live uppdateringsbevakning!
     | tr = Canlı güncellemeler için bizi [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky]'dan takip edin!
+
     | tr = Canlı güncellemeler için bizi [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky]'dan takip edin!
     | zh-hans = 在 [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] 关注我们以获取实时更新报道!
+
     | zh-hans = 在 [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] 关注我们以获取实时更新报道!
     | zh-hant = 在 [https://bsky.app/profile/officialtfwiki.bsky.social https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/officialtfwiki.bsky.social Bluesky] 上追蹤我們以觀看更新實況 !
+
     | zh-hant = 在 [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk https://bsky.app/static/favicon-16x16.png] [https://bsky.app/profile/did:plc:uvprfd4bbvrgdum4nxpft6pk Bluesky] 上追蹤我們以觀看更新實況 !
 
   }}
 
   }}
 
   }}
 
   }}
Line 260: Line 259:
 
   | {{ns:0}}
 
   | {{ns:0}}
 
   |{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 2|
 
   |{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} 2|
{{Patch layout/Diff header|{{{year}}}|{{{game|tf2}}}}}<span></span><!-- Necessary to make headers work -->
+
{{Patch layout/Diff header|{{{year}}}-{{{month}}}|{{{game|tf2}}}}}<span></span><!-- Necessary to make headers work -->
 
=== {{lang
 
=== {{lang
 
   | en = Patch 1
 
   | en = Patch 1
Line 322: Line 321:
 
<div class="diffname {{BASEPAGENAME}} 3">{{PatchDiff/{{BASEPAGENAME}} 3}}</div>}}
 
<div class="diffname {{BASEPAGENAME}} 3">{{PatchDiff/{{BASEPAGENAME}} 3}}</div>}}
 
|{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} |
 
|{{#ifexist:Template:PatchDiff/{{BASEPAGENAME}} |
{{Patch layout/Diff header|{{{year}}}|{{{game|tf2}}}}}
+
{{Patch layout/Diff header|{{{year}}}-{{{month}}}|{{{game|tf2}}}}}
 
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div>
 
<div class="diffname {{BASEPAGENAME}}">{{PatchDiff/{{BASEPAGENAME}}}}</div>
 
}}}}}}
 
}}}}}}

Latest revision as of 16:58, 27 December 2024

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

}}