Difference between revisions of "Template:Patch layout"
Magicalpony (talk | contribs) (/de) |
m (Fix updatelink, add crowdin) |
||
Line 100: | Line 100: | ||
| zh-hans = 来源 | | zh-hans = 来源 | ||
| zh-hant = 來源 | | zh-hant = 來源 | ||
− | }}: [{{{source}}} {{{source-title|{{{source}}}}}}]{{#if:{{{source2|}}} | + | }}: [{{{source}}} {{{source-title|{{{source}}}}}}]{{if lang|1=|2={{#ifeq:{{{crowdin|}}}|yes|| {{lang icon|1={{{source-lang|en}}}}}}}}}{{#if:{{{source2|}}} |
− | |, [{{{source2}}} {{{source2-title|{{{source2}}}}}}]{{#if:{{{source3|}}} | + | |, [{{{source2}}} {{{source2-title|{{{source2}}}}}}]{{if lang|1=|2={{#ifeq:{{{crowdin|}}}|yes|| {{lang icon|1={{{source2-lang|en}}}}}}}}}{{#if:{{{source3|}}} |
− | |, [{{{source3}}} {{{source3-title|{{{source3}}}}}}] | + | |, [{{{source3}}} {{{source3-title|{{{source3}}}}}}]{{if lang|1=|2={{#ifeq:{{{crowdin|}}}|yes|| {{lang icon|1={{{source3-lang|en}}}}}}}}} |
|}} | |}} | ||
|}} | |}} | ||
Line 138: | Line 138: | ||
| pl = Fora Bety TF2 | | pl = Fora Bety TF2 | ||
| pt = Fóruns TF2 Beta | | pt = Fóruns TF2 Beta | ||
− | | pt-br = Fóruns do beta do TF2 | + | | pt-br = Fóruns do beta do TF2 (arquivo) |
| ru = Форум TF2 Бета | | ru = Форум TF2 Бета | ||
| zh-hans = TF2测试版论坛(网页存档) | | zh-hans = TF2测试版论坛(网页存档) | ||
Line 168: | Line 168: | ||
}} | }} | ||
}} | }} | ||
− | }} | + | }}{{#if:{{{updatelink|}}}| |
{{hatnote|1={{lang | {{hatnote|1={{lang | ||
| en = Official update page | | en = Official update page | ||
Line 192: | Line 192: | ||
| zh-hans = 官方更新网页 | | zh-hans = 官方更新网页 | ||
| zh-hant = 官方更新頁面 | | zh-hant = 官方更新頁面 | ||
− | }}: [{{{updatelink}}} {{{update|{{{updatelink}}}}}}] | + | }}: [{{{updatelink}}} {{{update|{{{updatelink}}}}}}]{{if lang|1=|2= {{lang icon|1={{{update-lang|en}}}}}}}}} |
|}} __NOEDITSECTION__ | |}} __NOEDITSECTION__ | ||
=={{lang | =={{lang |
Revision as of 15:17, 29 September 2022
|
Note: No source link has been provided.
Contents
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: en, fr, de, pl, pt, pt-br, ru (add) |
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
|
|
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 }}