Difference between revisions of "Template:Wiki Cap owner"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo edit by Tark (Talk) (3030340))
(Tag: Undo)
m (+ param for deleted Steam accounts)
Line 1: Line 1:
 
<includeonly>| [[User:{{{username}}}|{{{username}}}]]
 
<includeonly>| [[User:{{{username}}}|{{{username}}}]]
 
| style="text-align: center;" | {{flag|{{{flag|World}}}}}
 
| style="text-align: center;" | {{flag|{{{flag|World}}}}}
| style="text-align: center;" | [http://steamcommunity.com/profiles/{{{communityid}}} {{steam name|{{{communityid}}}}}]
+
| style="text-align: center;" | {{#switch: {{{deletedacc|no}}}
 +
| yes = {{tooltip|{{{communityid}}}|{{lang|
 +
  | en = This user has deleted their Steam account.
 +
  | es = Este usuario ha eliminado su cuenta de Steam.
 +
  | pt = A conta Steam deste utilizador foi eliminada.
 +
  | pt-br = A conta Steam deste usuário foi excluída.
 +
  | zh-hans = 该用户注销了自己的Steam账号。
 +
  }}}}
 +
| #default = [https://steamcommunity.com/profiles/{{{communityid}}} {{steam name|{{{communityid}}}}}]
 +
}}
 
| style="text-align: center;" | <span style="display:none">{{{date}}}</span>{{#time: {{lang
 
| style="text-align: center;" | <span style="display:none">{{{date}}}</span>{{#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 132: Line 141:
 
  | date        = Date of acquisition (YYYY-MM-DD)
 
  | date        = Date of acquisition (YYYY-MM-DD)
 
  | serial      = Item serial, available from the Steam Inventory or a third-party backpack viewer
 
  | serial      = Item serial, available from the Steam Inventory or a third-party backpack viewer
 +
| deletedacc  = If the user's Steam account was deleted (yes/no)
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 22:34, 10 September 2021

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
 | flag        = National flag
 | communityid = Community ID of recipient (17 character long numerical string)
 | date        = Date of acquisition (YYYY-MM-DD)
 | serial      = Item serial, available from the Steam Inventory or a third-party backpack viewer
 | deletedacc  = If the user's Steam account was deleted (yes/no)
}}

Parameter descriptions

  • username is the person's username on the Wiki. Required.
  • flag represents the user's native language/region. Uses the "World" flag by default.
  • communityid is a pre-set profile ID number (xxxxxxxxxxxxx). 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