Difference between revisions of "Template:Demo Header"

From Team Fortress Wiki
Jump to: navigation, search
m (to make my life a bit easier)
m (Undo edit by Ashe (Talk) (3813155) nvm looks ugly)
(Tag: Undo)
 
Line 1: Line 1:
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{size|16px}}}|link={{{1}}}]]|{{Item icon|{{{1}}}|{{{size|16px}}}}}}} [[{{{1}}}]] '''([[:File:Weapon Demonstration thumb {{lc:{{{1}}}}}.png|D]])''' {{anchor|.7B.7BDemo_Header.7C{{{1}}}.7D.7D}}<noinclude>{{Doc begin}}
+
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{size|16px}}}|link={{{1}}}]]|{{Item icon|{{{1}}}|{{{size|16px}}}}}}} [[{{{1}}}]] {{anchor|.7B.7BDemo_Header.7C{{{1}}}.7D.7D}}<noinclude>{{Doc begin}}
 
Used on [[Team Fortress Wiki talk:Weapon Demonstration]] for topic headers.
 
Used on [[Team Fortress Wiki talk:Weapon Demonstration]] for topic headers.
  

Latest revision as of 01:24, 16 September 2024

[[File:Item icon {{{1}}}.png|link={{{1}}}|16px|{{{1}}}]] [[{{{1}}}]]

Documentation for Demo Header

Used on Team Fortress Wiki talk:Weapon Demonstration for topic headers.

Usage

{{Demo Header|1|size}}

Parameters

1
Name of the item
icon
Optional, changes the icon. Defaults to {{Item icon}}.
size
Optional, used to increase/decrease size of the icon. Defaults to 16px and should only be used if 16px produces a thumbnail error.