Difference between revisions of "Template:Backpack Item Link"
m (Grammar fix.) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [ | + | [https://steamcommunity.com/profiles/{{{1|76561197960435530}}}/inventory{{#if: {{{2|}}} | /#440_2_{{{2|}}} {{{3|{{steam name|{{{1|76561197960435530}}}}}}}}|/ {{lang |
| en = Inventory | | en = Inventory | ||
| cs = Inventář | | cs = Inventář | ||
Line 26: | Line 26: | ||
=== 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 | + | ** 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 serial is omitted, a link only to the inventory is generated. | ||
− | ** If the third parameter is omitted, a default string of | + | ** 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]]. | |
− | * Steam account information should be [[Template:Dictionary/steam ids|entered here]]. | + | * {{tlx|Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}} generates {{Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}}. |
− | * {{tlx| | ||
[[Category:Link insertion templates|Backpack item link]] | [[Category:Link insertion templates|Backpack item link]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:36, 27 October 2021
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.
- To fetch a user's name from the dictionary, both the ID and item serial must be provided. Use a serial of 0 or
- Steam account information should be entered here.
{{Backpack Item Link|76561197960435530|162307172|Robin Walker's Rocket Launcher}}
generates Robin Walker's Rocket Launcher.