FANDOM


TF2 Items and Weapons

Every class has a seperate wiki page, with each item or weapon following the Template:Tf2item template:

{{Tf2item
|title    = Force-A-Nature
|image    = [[File:Force-A-Nature.png|link=|200x200px]]
|level    = 0-100
|quality  = unique
|{{statpos|+20% damage bonus}}
|{{statpos|+50% faster firing speed}}
|{{statpos|Knockback on the target and shooter}}
|{{statpos|+20% bullets per shot}}
|{{statneg|-66% clip size}}
|{{statneg|No random critical hits}}
|{{statneg|5% slower move speed on wearer}}
|{{statneut|I am a neutral attribute}}
|{{statunusual|I am an unusual effect}}
}}

Title: Name of the item/weapon

Image: Image of the item/weapon

Quality: The quality of the weapon, this sets the color of the title.

Level: Set level of the item, or mininum and maximum level.

Type: The generic type of the weapon, such as flamethrower.


Quality Hex Color
normal #B2B2B2
unique #FFD700
vintage #476291
genuine #4D7455
strange #CF6A32
unusual #8650AC
haunted

#38F3AB

collectors

#AA0000

decorated

#FAFAFA

community

#70B04A

selfmade

#70B04A

developer

#A50F79

customized

#ffffff

paintkitweapon

#4B69FF

completed

#ffffff

The above settings will output this:

Force-A-Nature

0-100
Force-A-Nature
Tf2item attribute plus+20% damage bonus
Tf2item attribute plus+50% faster firing speed
Tf2item attribute plusKnockback on the target and shooter
Tf2item attribute plus+20% bullets per shot
Itemnegative-66% clip size
ItemnegativeNo random critical hits
Itemnegative5% slower move speed on wearer
ItemneutralI am a neutral attribute
ItemunusualI am an unusual effect

Beginners

To get started editing pages, browse to the page you want to edit, right click 'contribute' at the top right, then select 'Edit this page'. You can switch between the 'Visual' and 'Source' tab at the center top right. Source mode gives you direct control of content and where everything goes, and is the suggested method for any complex pages. Visual mode lets you see the page in real-time, and edit accordingly, however it is common for images and text to not place correctly, especially on any pages with customized styling.

HTML Limitations

Most HTML elements are allowed, along with any CSS properties your browser supports, however there are some major elements that are not allowed, unless through a <verbatim tag. Iframe Img

See http://community.wikia.com/wiki/Help:HTML for more information.

Javascript Limitations

Javascript is not allowed in-line, but it can be if used in a <verbatim> tag. However it is better to create your own .js file in MediaWiki storage which is called


3D Infobox

All 3D infoboxes for this wiki do not follow the same system of templating like other wiki's. This is because the infobox requires the <iframe> tag. This is not normally allowed, and can only be activated between a <verbatim> tag that references a code snippet in our 'MediaWiki' storage. This is actually a simple process, though, only administrators have access to create verbatim content, but anyone can use it.

To create a new infobox, go to: "http://vsp.wikia.com/wiki/MediaWiki:Name-Infobox

Replace "name" with the proper name of the hale, making sure to capitalize it and replace spaces with a -

Example: "http://vsp.wikia.com/wiki/MediaWiki:Rainbow-Dash-Infobox"

In the example, you can copy+paste the code through its 'source mode' into your new Mediawiki infobox. Then manually edit the sketchfab source and the textual information. Not all hales will have a 3D version available, so if you're not working with our local 3D modeler, No Name, you should create a portrait instead.

Multi Language Support

Wikia by nature does not have proper multi-language support, so we have had to create our own method. Our MediaWiki:Common.js wikia file contains javascript which accomplishes this for both the page, and the page editor preview. In order to add an element that will only be shown on the selected language, you must apply a specific class to the element. Example:

<!-- This list contains all the currently supported languages -->
<!-- Requires being in 'Source' mode when editing a page -->
 
<p class="japanese-vsplanguage">I am Japanese!</p>
<p class="english-vsplanguage">I am English!</p>
<p class="spanish-vsplanguage">I am Spanish!</p>
<p class="dutch-vsplanguage">I am Dutch</p>
<p class="german-vsplanguage">I am German!</p>
<p class="french-vsplanguage">I am French!</p>
<p class="portuguese-vsplanguage">I am No Name!</p>

By default, the language shown is English. This is controlled by a CSS property, so even users without javascript will see English. However, non-javascript users cannot change between languages.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.