Difference between revisions of "User:I-ghost/BPitem/t"

From Team Fortress Wiki
Jump to: navigation, search
m (test against test cases)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}}}} {{#if: {{{3|}}} | {{{3}}} | {{#if: {{{2|}}} | {{{2}}} | {{steam name|{{{1}}}}}}}}}]<noinclude>
+
[http://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}} {{{3|{{steam name|{{{1|76561197960435530}}}}}}}}|/ Inventory}}]<noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===
 
* First parameter is the steam community ID, second is the item serial, third is the player's name.
 
* First parameter is the steam community ID, second is the item serial, third is the player's name.
 +
** To fetch a user's name from the dictionary, both the id and serial must be provided. Use a serial of 0 or {{code|&bnsp}} to use an id with a custom label, but no item serial.
 
** If the serial is omitted, a link only to the inventory is generated.
 
** 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.
 
** If the third parameter is omitted, a default string of "Inventory" is displayed.
Line 8: Line 9:
 
* Steam account information should be [[Template:Dictionary/steam ids|entered here]].
 
* Steam account information should be [[Template:Dictionary/steam ids|entered here]].
 
* {{tlx|bpitem|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates {{bpitem|76561197960435530|162307172|Robin Walker's Rocket Launcher}}.
 
* {{tlx|bpitem|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates {{bpitem|76561197960435530|162307172|Robin Walker's Rocket Launcher}}.
[[Category:Link insertion templates|Backpack item link]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:52, 22 May 2013

Inventory

Documentation for I-ghost/BPitem/t

Usage

  • First parameter is the steam community ID, second is the item serial, third is the player's name.
    • To fetch a user's name from the dictionary, both the id and serial must be provided. Use a serial of 0 or &bnsp to use an id with a custom label, but no item serial.
    • 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.