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

User:VivaRomania/Sandbox: Difference between revisions

From TF2 Classified Wiki
VivaRomania (talk | contribs)
mNo edit summary
VivaRomania (talk | contribs)
m This baby is coming along nicely.
Line 1: Line 1:
{{Todo|
<!-- Main patch bar -->
* <strike>Rename "before" and "after" to "prev" and "next" for clarity</strike>
* Add built-in categorization of articles into [[:Category:Patch Notes]] and [[:Category:Updates]]
* Add preformatted introductory paragraph:
** <strike>Conditional check for if "next" param is present</strike>
*** <strike>If "next" is not declared, add "It is the most recent update to the game." to the paragraph.</strike>
** Param system for specifying what type of changes were in the patch;
*** e.g. bug fixes, map changes, weapon changes, etc
** Other params for specifying certain bits of the paragraph;
*** <strike>Patch date</strike>
*** <strike>Link to main update article if it's a major update (e.g. 2.2.0 having a link to Double Down Update.</strike>
*** Link to external patch notes
**** TF2Classic.com for patches post 2.0.0
**** Archived pages for patches pre-2.0.0
 
Special note to me:
* don't rush this, take your time
}}
 
 
{| style="width: 100%; margin: 0 auto; border: 1px solid #583A31 !important;"
{| style="width: 100%; margin: 0 auto; border: 1px solid #583A31 !important;"
! style="width: 25%; font-size: 16px; background-color: #8B6D64; color: white;" | [[Patches|List of patches]]
! style="width: 25%; font-size: 16px; background-color: #8B6D64; color: white;" | [[Patches|List of patches]]
Line 26: Line 7:
|}
|}


<!-- this will all be condensed once finished, I've just newlined everything for the sake of making adding stuff a tad easier -->
<!-- Intro paragraph. This will all be condensed once finished, I've just newlined everything for the sake of making adding stuff a tad easier -->
'''{{BASEPAGENAME}}''' was a {{#if: {{{major|}}} | major | minor }} update for ''Team Fortress 2 Classic'' that was released on {{#if: {{{date|}}} | {{{date}}} | an undefined date }}. {{#if: {{{major|}}} | It was also known as the [[{{{update}}}]]. | }}
'''{{BASEPAGENAME}}''' was {{#if: {{{prev|}}} | a {{#if: {{{major|}}} | major | minor }} update for | the initial release of }} ''Team Fortress 2 Classic''. It was released on {{#if: {{{date|}}} | {{{date}}} | an undefined date }}. {{#if: {{{major|}}} | It was also known as the [[{{{update}}}]]. | }} The patch notes were initially released on the {{{url}}}.
 
<!-- I know this looks like a clusterfuck, but I have intensively tested this and it works like a charm. -->
It featured some {{#if: {{{mapfix|}}} | map changes{{#if: {{{wepfix|}}} {{{genfix|}}} {{{bugfix|}}} | , | . }} | }} {{#if: {{{wepfix|}}} | weapon changes{{#if: {{{genfix|}}} {{{bugfix|}}} | , | . }} | }}  {{#if: {{{genfix|}}} | general changes{{#if: {{{bugfix|}}} | , | . }} | }} {{#if: {{{bugfix|}}} | {{#if: {{{mapfix|}}} {{{wepfix|}}} {{{genfix|}}} | and | }} bug fixes. | }}


It featured changes such as ''<todo: sentence with param structure for what kind of changes happened>''
{{#if: {{{new-weps|}}} | It also featured the addition of {{{num-new-weps}}} new {{#ifeq: {{{num-new-weps}}} | 1 | weapon. | weapons. }}}}


{{#if: {{{next|}}} | | It is the most recent update to the game. }}
{{#if: {{{next|}}} | | It is the most recent update to the game. }}
Line 36: Line 20:




<!-- Dev notes:
<!-- This below code is for testing purposes.
Specifying "|major=" with nothing after the equals sign results in the update being labelled "minor"
{{User:VivaRomania/Sandbox
 
|prev =
Specifying "|major=" with anything after it, such as "|major=1" results in the update being labelled as a major update and allowing use of the "update" parameter to specify an update article to link to.
|next = 2.2.0
 
|date  = January 1, 1970
So far, things are functionally working as they are supposed to.
 
This below code is for testing purposes.
Some parameters have not been hooked up yet.
{{User:VivaRomania/Nav_allweapons_new
|prev = 2.2.0
|next =
|major = yes
|major = yes
  |update = Double Down Update
  |update = Double Down Update
|date  = January 1, 1970
// new parameter layout below
// none of this is currently hooked up
// this is just my idea of how it should be
|url = [https://tf2classic.com/?id=7907 official blog]
|url = [https://tf2classic.com/?id=7907 official blog]
|new-weps = yes
|new-weps = yes
  |num-new-weps = 3
  |num-new-weps = 2
|mapfix = yes
|mapfix =  
|wepfix = yes
|wepfix = yes
|genfix =
|bugfix = yes
|bugfix = yes
|genfix = yes
}}
}}
-->
-->