Difference between revisions of "Template:Wiki Cap owner"

From Team Fortress Wiki
Jump to: navigation, search
(Fix item links in preparation for removing the ability to use "custom URL" profile aliases (which involves undoing this, actually))
(Remove "type" parameter and update documentation to force template users to specify Steam community numeric profile IDs, not aliases (Custom URL))
Line 1: Line 1:
 
<includeonly>| [[User:{{{username}}}|{{{username}}}]]
 
<includeonly>| [[User:{{{username}}}|{{{username}}}]]
| style="text-align: center;" | [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}} {{{steamname}}}]
+
| style="text-align: center;" | [http://steamcommunity.com/profiles/{{{communityid}}} {{{steamname}}}]
 
| style="text-align: center;" | {{#time: {{lang
 
| style="text-align: center;" | {{#time: {{lang
 
<!-- Please visit http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time  to get full information about wiki date formatting -->
 
<!-- Please visit http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time  to get full information about wiki date formatting -->
Line 21: Line 21:
 
     | zh-hant = Y年m月d日
 
     | zh-hant = Y年m月d日
 
     }}| {{{date}}}}}  
 
     }}| {{{date}}}}}  
| style="text-align: center;" | {{#if: {{{serial|}}} | [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}}/inventory/#440_2_{{{serial}}} {{lang
+
| style="text-align: center;" | {{#if: {{{serial|}}} | [http://steamcommunity.com/profiles/{{{communityid}}}/inventory/#440_2_{{{serial}}} {{lang
 
     | ar = البند
 
     | ar = البند
 
     | da = Genstand
 
     | da = Genstand
Line 76: Line 76:
 
     | zh-hant = 貢獻
 
     | zh-hant = 貢獻
 
     }}]]
 
     }}]]
| style="text-align: center;" | {{#if: {{{serial|}}} | [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}}/inventory/ {{lang
+
| style="text-align: center;" | {{#if: {{{serial|}}} | [http://steamcommunity.com/profiles/{{{communityid}}}/inventory/ {{lang
 
     | ar = الباكباك
 
     | ar = الباكباك
 
     | da = Rygsæk
 
     | da = Rygsæk
Line 141: Line 141:
 
{{Wiki Cap owner
 
{{Wiki Cap owner
 
  | username    = Wiki username
 
  | username    = Wiki username
  | communityid = Community ID for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
+
  | communityid = Community ID number (not "Custom URL" ID) for steamcommunity.com (excluding the steamcommunity.com/profiles/ bit)
| type        = Accepts 'id' or 'profiles'. Defaults to 'profiles'.
 
 
  | steamname  = Name on STEAM at the time of addition
 
  | steamname  = Name on STEAM at the time of addition
 
  | date        = Date of acquisition (YYYY-MM-DD)
 
  | date        = Date of acquisition (YYYY-MM-DD)
Line 152: Line 151:
  
 
*''username'' is the person's username on the Wiki. Required.
 
*''username'' is the person's username on the Wiki. Required.
*''communityid'' is either a self-set ID or pre-set profile ID link (xxxxxxxxxxxxx). If it's the former, specify ''type'' to ''id'', if the latter, specify ''profiles'' or leave blank. Required.
+
*''communityid'' is a pre-set profile ID number (xxxxxxxxxxxxx). Required.
*''type'' is explained above. Required if it is ''id''.
 
 
*''steamname'' is the user's visible Steam name. Required.
 
*''steamname'' is the user's visible Steam name. Required.
 
*''date'' is the date of acquisiton of the hat, in the format yyyy-mm-dd (2010-11-04 for 4th of November, 2010). Required.
 
*''date'' is the date of acquisiton of the hat, in the format yyyy-mm-dd (2010-11-04 for 4th of November, 2010). Required.

Revision as of 11:46, 3 November 2011

Documentation for Wiki Cap owner


This template is used to add new names to the List of Wiki Cap owners.

Usage

{{Wiki Cap owner
 | username    = Wiki username
 | communityid = Community ID number (not "Custom URL" ID) for steamcommunity.com (excluding the steamcommunity.com/profiles/ bit)
 | steamname   = Name on STEAM at the time of addition
 | date        = Date of acquisition (YYYY-MM-DD)
 | serial      = Item serial, available from the Steam Inventory or a third-party backpack viewer
}}

Parameter descriptions

  • username is the person's username on the Wiki. Required.
  • communityid is a pre-set profile ID number (xxxxxxxxxxxxx). Required.
  • steamname is the user's visible Steam name. Required.
  • date is the date of acquisiton of the hat, in the format yyyy-mm-dd (2010-11-04 for 4th of November, 2010). Required.
  • serial is the serial number of the hat in question. It can be found on the user's backpack page on the Steam Inventory. Drag and drop the item into your URL bar, and the serial will be the last few numbers at the end. This field is not possible to fill out if the user's backpack is set to private, in which case leave it blank, and the software will note that the backpack is private.

See also