Difference between revisions of "Template:Attribute"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{dictionary/attributes/{{lc:{{{class|{{{1|error}}}}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}|2={{{2}}}|3={{{3}}}|4={{{4}}}|5={{{5}}}|6={{{6}}}}}
+
<includeonly>{{dictionary/attributes/{{lc:{{{class|{{{1|error}}}}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}|2={{{2|VALUE 1 NOT SET}}}|3={{{3|VALUE 2 NOT SET}}}}}
 
</includeonly><noinclude>{{doc begin}}
 
</includeonly><noinclude>{{doc begin}}
 
{{dictionary/wrapper}}
 
{{dictionary/wrapper}}

Revision as of 00:54, 9 February 2023

Documentation for Attribute

This is a wrapper template for a {{dictionary}} entry. No individual language strings are stored here.

Example

{{attribute|StickiesDetonateStickies}} generates Able to destroy enemy stickybombs
{{attribute|ReducedCloakFromAmmo}} generates VALUE 1 NOT SET% cloak meter from ammo boxes
{{attribute|MedicRegenBonus|20}} generates +20% natural regen rate
{{attribute|SaxxyAward|Best Extended|2023}} generates Winner: Best Extended 2023

Syntax

{{attribute|arg1|arg2}}

arg1
Attribute. See File:Tf english.txt for a list of attributes.
arg2
Value 1
arg3
Value 2