Difference between revisions of "Template:Weapon demonstration line"

From Team Fortress Wiki
Jump to: navigation, search
m (mc)
(Removed thumb, again.)
Line 1: Line 1:
<includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image-size|x24px}}}|link={{{image-link|{{{link|{{{1}}}}}}}}}]]|{{icon item|{{{1}}}|{{{image-size|x24px}}}}}}} '''[[{{{link|{{{1}}}}}}|{{{name|{{{1}}}}}}]]''' ('''[[{{{talk|Team Fortress Wiki talk:Weapon Demonstration#{{{1}}}}}}|T]]''' • '''[[:File:Weapon Demonstration thumb {{lc:{{{thumb|{{{1}}}}}}}}.png|D]]''' • '''<span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile=Weapon_Demonstration_thumb_{{urlencode:{{lc:{{{thumb|{{{1}}}}}}}}|QUERY}}.png&wpUploadDescription=%7B%7B{{urlencode:Weapon Demonstration thumbnail{{!}}{{{thumb|{{{1}}}}}}|QUERY}}%7D%7D}} U]</span>''')</includeonly><noinclude>
+
<includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image-size|x24px}}}|link={{{image-link|{{{link|{{{1}}}}}}}}}]]|{{icon item|{{{1}}}|{{{image-size|x24px}}}}}}} '''[[{{{link|{{{1}}}}}}|{{{name|{{{1}}}}}}]]''' ('''[[{{{talk|Team Fortress Wiki talk:Weapon Demonstration#{{{1}}}}}}|T]]''' • '''[[:File:Weapon Demonstration thumb {{lc:{{{1}}}}}.png|D]]''' • '''<span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile=Weapon_Demonstration_thumb_{{urlencode:{{lc:{{{1}}}}}|QUERY}}.png&wpUploadDescription=%7B%7B{{urlencode:Weapon Demonstration thumbnail{{!}}{{{1}}}|QUERY}}%7D%7D}} U]</span>''')</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
== Usage ==
 
== Usage ==
Line 19: Line 19:
  
 
; name
 
; name
: Changes the name.
+
: Changes the displayed text on the link.
  
 
; talk
 
; talk

Revision as of 19:47, 6 December 2024

Documentation for Weapon demonstration line

Usage

{{Weapon demonstration line|Scattergun}} produces: Scattergun Scattergun (TDU)

{{Weapon demonstration line|Dispenser|image=Lvl3dispenser.png}} produces: Lvl3dispenser.png Dispenser (TDU)

Parameters

1
First unnamed parameter, determines default image link as well as default input for the item icon and link.
image
Determines the image, requires extension. Defaults to {{item icon}} with 1 as its input.
image-size
Determines image size in pixels (px).
name
Changes the displayed text on the link.
talk
Used to override the talk page link.