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)
m Gonna modify this so that the update param isn't contingent on the major param being specified.
VivaRomania (talk | contribs)
mNo edit summary
 
(5 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|}}} | It {{ #if: {{{mapfix|}}}{{{wepfix|}}}{{{genfix|}}}{{{bugfix|}}} | also | }} featured the addition of {{{new-weps}}} new {{ #ifeq: {{{new-weps}}} | 1 | weapon. | weapons. }}}}{{ #if: {{{next|}}} | | It is the most recent update to the game. }}
'''{{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. }}
 
<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>
{{doc begin}}
{{doc begin}}
This template was created to help expedite the process of creating new patch articles and their intro paragraphs.
This template was created to help expedite the process of creating new patch articles and their intro paragraphs.
Line 22: Line 24:
|archives =  
|archives =  
|new-weps = 7
|new-weps = 7
|new-maps = 5
|mapfix = yes
|mapfix = yes
|wepfix = yes
|wepfix = yes
Line 40: 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 47: Line 51:
** This parameter is only intended to be used on patch note articles from [[1.0.0]] up to [[2.0.0 (BETA 4)]] as patch notes for that range were released on pages that are no longer available without cached copies.
** This parameter is only intended to be used on patch note articles from [[1.0.0]] up to [[2.0.0 (BETA 4)]] as patch notes for that range were released on pages that are no longer available without cached copies.
* '''new-weps''' - Specify the amount of new weapons in the patch.
* '''new-weps''' - Specify the amount of new weapons in the patch.
** If no weapons 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.
* '''new-maps''' - Specify the amount of new maps in the patch.
** '''Do not use "0" as a value for no weapons as this will result in "0 weapons".'''
** 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/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 54: 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>