Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Patch: Difference between revisions

Template page
VivaRomania (talk | contribs)
mNo edit summary
VivaRomania (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
|}
|}


'''{{BASEPAGENAME}}''' was {{ #if: {{{prev|}}} | a {{ #if: {{{major|}}} | major | minor }} update for  | the initial release of }} ''Team Fortress 2 Classic''{{ #if: {{{update|}}} |, also known as the '''{{{update}}}''' | }}. It was released on {{ #if: {{{date|}}} | {{{date}}} | an undefined date }}. The patch notes {{ #if: {{{archives|}}} | can be found on the {{{archives}}} | were initially released on the {{ #if: {{{blogpost|}}} | {{{blogpost}}} | official blog }} }}. {{ #if: {{{mapfix|}}}{{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | It featured some {{ #if: {{{mapfix|}}} | map changes{{ #if: {{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | , {{ #ifexpr: {{ #if: {{{wepfix|}}} | 1 | 0 }} + {{ #if: {{{genfix|}}} | 1 | 0 }} + {{ #if: {{{bugfix|}}} | 1 | 0 }} = 1 | and | }} | . }} }} {{ #if: {{{wepfix|}}} | weapon changes{{ #if: {{{genfix|}}}{{{bugfix|}}} | , {{ #ifexpr: {{ #if: {{{genfix|}}} | 1 | 0 }} + {{ #if: {{{bugfix|}}} | 1 | 0 }} = 1 | and | }} | . }} }} {{ #if: {{{genfix|}}} | general changes{{ #if: {{{bugfix|}}} | , and | . }} }} {{ #if: {{{bugfix|}}} | bug fixes. }} | }} {{ #if: {{{new-weps|}}}{{{new-maps|}}} | It {{ #if: {{{mapfix|}}}{{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | also | }} featured the addition of {{ #if: {{{new-weps|}}} | {{{new-weps}}} new {{ #ifeq: {{{new-weps}}} | 1 | weapon | weapons }}{{ #if: {{{new-maps|}}} | , and | . }} | }} {{ #if: {{{new-maps|}}} |  
'''{{BASEPAGENAME}}''' was {{ #if: {{{prev|}}} | a {{ #if: {{{major|}}} | major | minor }} update for  | the initial release of }} ''Team Fortress 2 Classic''{{ #if: {{{update|}}} |, also known as the '''{{{update}}}''' | }}. It was released on {{ #if: {{{date|}}} | {{{date}}} | an undefined date }}. The patch notes {{ #if: {{{archives|}}} | can be found on the {{{archives}}} | were initially released on the {{ #if: {{{blogpost|}}} | {{{blogpost}}} | official blog }} }}. {{ #if: {{{mapfix|}}}{{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | It featured some {{ #if: {{{mapfix|}}} | map changes{{ #if: {{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | , {{ #ifexpr: {{ #if: {{{wepfix|}}} | 1 | 0 }} + {{ #if: {{{genfix|}}} | 1 | 0 }} + {{ #if: {{{bugfix|}}} | 1 | 0 }} = 1 | and | }} | . }} }} {{ #if: {{{wepfix|}}} | weapon changes{{ #if: {{{genfix|}}}{{{bugfix|}}} | , {{ #ifexpr: {{ #if: {{{genfix|}}} | 1 | 0 }} + {{ #if: {{{bugfix|}}} | 1 | 0 }} = 1 | and | }} | . }} }} {{ #if: {{{genfix|}}} | general changes{{ #if: {{{bugfix|}}} | , and | . }} }} {{ #if: {{{bugfix|}}} | bug fixes. }} | }} {{ #if: {{{new-weps|}}}{{{new-maps|}}} | It {{ #if: {{{mapfix|}}}{{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | also | }} featured the addition of {{ #if: {{{new-weps|}}} | {{{new-weps}}} new {{ #ifeq: {{{new-weps}}} | 1 | weapon | weapons }}{{ #if: {{{new-maps|}}} | , and | . }} | }} {{ #if: {{{new-maps|}}} | {{{new-maps}}} new {{ #ifeq: {{{new-maps}}} | 1 | map. | maps. }} | }}}} {{ #if: {{{next|}}} | | It is the most recent update to the game. }}
{{{new-maps}}} new {{ #ifeq: {{{new-maps}}} | 1 | map. | maps. }} | }}
 
}} {{ #if: {{{next|}}} | | It is the most recent update to the game. }}


<includeonly>[[Category:Patch notes]] [[Category:Updates]] {{ #if: {{{major|}}} | [[Category:Major updates]] | [[Category:Minor updates]] }}</includeonly><noinclude>
<includeonly>[[Category:Patch notes]] [[Category:Updates]] {{ #if: {{{major|}}} | [[Category:Major updates]] | [[Category:Minor updates]] }}</includeonly><noinclude>
Line 46: Line 43:
* '''major''' - Specify if the patch note is for a major update or not.
* '''major''' - Specify if the patch note is for a major update or not.
** If not specified or left blank, it will default to labelling the patch as a minor update.
** If not specified or left blank, it will default to labelling the patch as a minor update.
* '''update''' - Specify a link to the related major update page.
* '''update''' - Specify a formal update name or a link to the related formal update page.
** This parameter is mostly only useful for major updates but can now be specified for minor updates as well.
** Any text entered will be made bold.
** Link brackets are not built-in, so be sure to add them when linking to an article.
* '''blogpost''' - Specify a link to the official blog post for the update.
* '''blogpost''' - Specify a link to the official blog post for the update.
** If not specified or left blank, it will default to writing "official blog" without a link.
** If not specified or left blank, it will default to writing "official blog" without a link.
Line 54: Line 52:
* '''new-weps''' - Specify the amount of new weapons in the patch.
* '''new-weps''' - Specify the amount of new weapons in the patch.
* '''new-maps''' - Specify the amount of new maps in the patch.
* '''new-maps''' - Specify the amount of new maps in the patch.
** If no weapons or maps were added, either remove the parameter from the template's usage, or leave the paremeter blank. The template will omit the sentence about new weapon additions.
** If no weapons or maps were added, either remove the parameter from the template's usage, or leave the paremeter blank. The template will omit the sentence about new weapon/map additions.
** '''Do not use "0" as a value for no weapons as this will result in "0 weapons" or "0 maps".'''
** '''Do not use "0" as a value for no weapons/maps as this will result in "0 weapons" or "0 maps".'''
* '''mapfix''' - Specify if the patch came with any mapping changes/fixes.
* '''mapfix''' - Specify if the patch came with any mapping changes/fixes.
* '''wepfix''' - Specify if the patch came with any weapon changes/fixes.
* '''wepfix''' - Specify if the patch came with any weapon changes/fixes.
Line 61: Line 59:
* '''bugfix''' - Specify if the patch came with any bug fixes.
* '''bugfix''' - Specify if the patch came with any bug fixes.
** The four fix parameters are part of some sentence structure building that this template does.
** The four fix parameters are part of some sentence structure building that this template does.
** If any of the four fix types are not needed for a patch, simply remove the parameter from the template' usage or leave it blank.
** If any of the four fix types are not needed for a patch, simply remove the parameter from the template's usage or leave it blank.
** Leaving them blank or not specifying them results in them being left out of the sentence structure.
[[Category:Layout templates]]</noinclude>
[[Category:Layout templates]]</noinclude>