Difference between revisions of "Template:Weapon demonstration line"
GrampaSwood (talk | contribs) (Removed thumb, again.) |
Slimyboi500 (talk | contribs) m |
||
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:{{{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> | + | <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image-size|x24px}}}|link={{{image-link|{{{link|{{{1}}}}}}}}}]]|{{icon item|{{{1}}}|{{{image-size|x24px}}}|link={{{image-link|{{{link|{{{1}}}}}}}}}}}}} '''[[{{{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 == |
Revision as of 20:51, 6 December 2024
Documentation for Weapon demonstration line
Usage
{{Weapon demonstration line|Scattergun}}
produces:
Scattergun (T • D • U)
{{Weapon demonstration line|Dispenser|image=Lvl3dispenser.png}}
produces:
Dispenser (T • D • U)
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}}
with1
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.