Difference between revisions of "Template:Backpack Item Link"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with '{{#switch:{{{1|}}} | id = [http://www.optf2.com/item/{{{2|}}} {{#if:{{{3|}}} | {{{3|}}} | {{ucfirst:{{{2|Steam Profile}}}}} }}] | #default = [http://www.optf2.com…')
 
m
 
(20 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
[https://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}} {{{3|{{steam name|{{{1|76561197960435530}}}}}}}}|/ {{lang
  | id = [http://www.optf2.com/item/{{{2|}}} {{#if:{{{3|}}}
+
| en = Inventory
    | {{{3|}}}
+
| cs = Inventář
    | {{ucfirst:{{{2|Steam Profile}}}}}
+
| da = Inventar
    }}]
+
| de = Inventar
  | #default = [http://www.optf2.com/item/{{{1|}}} {{{3|{{{2|Link to item}}}}}}]
+
| es = Inventario
}}<noinclude>
+
| fi = Tavaraluettelo
* {{tlx|bpitem|id|162307172|Robin Walker's Rocket Launcher on OPTF2}} generates {{bpitem|id|162307172|Robin Walker's Rocket Launcher on OPTF2}}.
+
| fr = Inventaire
* {{tlx|bpitem|162307172|User's item}} generates {{bpitem|162307172|User's item}}.
+
| hu = Leltár
 +
| it = Inventario
 +
| ja = インベントリ
 +
| ko = 보관함
 +
| no = Lager
 +
| nl = Inventaris
 +
| pl = Ekwipunek
 +
| pt = Inventário
 +
| pt-br = inventário
 +
| ro = Inventar
 +
| ru = Инвентарь
 +
| sv = Förråd
 +
| tr = Envanter
 +
| zh-hans = 库存
 +
| zh-hant = 物品欄
 +
}}}}]<noinclude>
 +
{{doc begin}}
 +
=== 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 item 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 third parameter is omitted, a default string of “Inventory” is displayed.
 +
* Steam account information should be [[Template:Dictionary/steam ids/id_list|entered here]].
 +
* {{tlx|Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates {{Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}}.
 +
[[Category:Link insertion templates|Backpack item link]]
 +
</noinclude>

Latest revision as of 21:36, 27 October 2021

Inventory

Documentation for Backpack Item Link

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 item 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.
  • Steam account information should be entered here.
  • {{Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates Robin Walker's Rocket Launcher.