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 Minor tweak to the blogpost param output + template doc
VivaRomania (talk | contribs)
mNo edit summary
 
(8 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: {{{major|}}} |, 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 30: Line 33:


== Parameters ==
== Parameters ==
Parameters not needed on a certain patch note article can be left blank or entirely removed from the template's usage on the article. It is suggested to leave the "next" parameter in, but leave it blank until a new patch is added.
Parameters not needed on a certain patch note article can be left blank or entirely removed from the template's usage on the article. For whichever patch note article is the most recent, it is suggested to leave the "next" parameter in, but leave it blank until a new patch is added.


* '''prev''' - Specify the patch prior to the current patch.
* '''prev''' - Specify the patch prior to the current patch.
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.
** 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>
</noinclude>