Difference between revisions of "Template:Backpack Item Link"

From Team Fortress Wiki
Jump to: navigation, search
m
(Smarter link label (show serial if there is one and no 3rd param, expanded name otherwise))
Line 1: Line 1:
[http://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}} {{{3|{{steam name|{{{1|76561197960435530}}}}}}}}|/ Inventory}}]<noinclude>
+
[http://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}} {{{3|{{#if: {{{2|}}} | {{{2}}} | {{steam name|{{{1}}}}}}}}}}]<noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===

Revision as of 16:26, 22 May 2013

| /#440_2_ {{dictionary/steam ids/{{{1}}}|nickname}}

Documentation for Backpack Item Link

Usage

  • First parameter is the steam community ID, second is the item serial, third is the player's name.
    • If the serial is omitted, a link only to the inventory is generated.
    • If the third parameter is omitted, a default string of "Inventory" is displayed.
    • Can also use the shorthand {{bpitem}}
  • Steam account information should be entered here.
  • {{bpitem|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates Robin Walker's Rocket Launcher.