Difference between revisions of "Template:Wiki Cap owner"

From Team Fortress Wiki
Jump to: navigation, search
(Added conditionals.)
Line 1: Line 1:
<includeonly>{{!}} [[User:{{{username}}}|{{{username}}}]] {{!!}} style="text-align: center;" {{!}} [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}} {{{steamname}}}] {{!!}} style="text-align: center;" {{!}} {{#time: F j, Y | {{{date}}}}} {{!!}} {{#if: {{{notes|}}} {{!}} {{{notes}}}}} {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://optf2.com/{{{communityid}}}/{{{serial}}} Item] | N/A }}{{!!}} style="text-align: center;" {{!}} [[Special:Contributions/{{{username}}}|Contributions]] {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://optf2.com/user/{{{communityid}}} Backpack] | Private. }} {{!!}} style="text-align: center;" {{!}} [[User_talk:{{{username}}}{{!}}Talk]]
+
<includeonly>{{!}} [[User:{{{username}}}|{{{username}}}]] {{!!}} style="text-align: center;" {{!}} [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}} {{{steamname}}}] {{!!}} style="text-align: center;" {{!}} {{#time: F j, Y | {{{date}}}}} {{!!}} {{#if: {{{notes|}}} {{!}} {{{notes}}}}} {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://optf2.com/item/{{{communityid}}}/{{{serial}}} Item] | N/A }}{{!!}} style="text-align: center;" {{!}} [[Special:Contributions/{{{username}}}|Contributions]] {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://optf2.com/user/{{{communityid}}} Backpack] | Private. }} {{!!}} style="text-align: center;" {{!}} [[User_talk:{{{username}}}{{!}}Talk]]
 
{{!}}-</includeonly><noinclude>{{doc begin}}
 
{{!}}-</includeonly><noinclude>{{doc begin}}
  
Line 9: Line 9:
 
{{Wiki Cap owner
 
{{Wiki Cap owner
 
  | username    = Wiki username
 
  | username    = Wiki username
  | communityid = Community ID for steamcommunity.com (excluding the steamcommunity.com/id/ bit)
+
  | communityid = Community ID for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
 
  | type        = Accepts 'id' or 'profiles'. Defaults to 'profiles'.
 
  | 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
Line 18: Line 18:
 
</pre>
 
</pre>
  
All fields are required, except ''notes''.
+
== Parameter descriptions ==
 +
 
 +
*''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.
 +
*''type'' is explained above. Required if it is ''id''.
 +
*''steamname'' is the user's visible Steam name. Required.
 +
*''notes'' is for any notes that are relevant. The colour of paint, or the user's mod status is ''not'' relevant.
 +
*''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 [http://optf2.com optf2.com]. Click the item, and you get the option to see the serial. 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.

Revision as of 19:52, 6 November 2010

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 for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
 | type        = Accepts 'id' or 'profiles'. Defaults to 'profiles'.
 | steamname   = Name on STEAM at the time of addition
 | notes       = Notes
 | date        = Date of acquisition (YYYY-MM-DD)
 | serial      = Link to item (optf2.com)
}}

Parameter descriptions

  • 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.
  • type is explained above. Required if it is id.
  • steamname is the user's visible Steam name. Required.
  • notes is for any notes that are relevant. The colour of paint, or the user's mod status is not relevant.
  • 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 optf2.com. Click the item, and you get the option to see the serial. 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.