Difference between revisions of "Template:Community item owner"

From Team Fortress Wiki
Jump to: navigation, search
(added support for finnish)
m (test: change to tf2b, retiring 'type' as we should use the community id to avoid vanity name change shenanigans)
Line 1: Line 1:
<includeonly>{{!}} [http://steamcommunity.com/{{#if: {{{type|}}} | {{{type}}} | profiles }}/{{{communityid}}} {{{steamname}}}] {{!!}} style="text-align: center;" {{!}} {{Item link|{{{weapon}}}}}{{#if: {{{weapon2|}}} | ,{{nbsp}}{{Item link|{{{weapon2}}}}}}}{{#if: {{{weapon3|}}} | ,{{nbsp}}{{Item link|{{{weapon3}}}}}}}{{#if: {{{weapon4|}}} | ,{{nbsp}}{{Item link|{{{weapon4}}}}}}}{{#if: {{{weapon5|}}} | ,{{nbsp}}{{Item link|{{{weapon5}}}}}}} {{!!}} {{{reason}}} {{!!}} {{#if: {{{notes|}}} | {{{notes}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://optf2.com/item/{{{serial}}} {{Item name|{{{weapon}}}}}] {{#if: {{{serial2|}}} | ,{{nbsp}}[http://optf2.com/item/{{{serial2}}} {{Item name|{{{weapon2}}}}}] }}{{#if: {{{serial3|}}} | ,{{nbsp}}[http://optf2.com/item/{{{serial3}}} {{Item name|{{{weapon3}}}}}] }}{{#if: {{{serial4|}}} | ,{{nbsp}}[http://optf2.com/item/{{{serial4}}} {{Item name|{{{weapon4}}}}}] }}{{#if: {{{serial5|}}} | ,{{nbsp}}[http://optf2.com/item/{{{serial4}}} {{Item name|{{{weapon5}}}}}] }} | {{lang
+
<includeonly>{{!}} [http://steamcommunity.com/{{{communityid}}} {{{steamname}}}] {{!!}} style="text-align: center;" {{!}} {{Item link|{{{weapon}}}}}{{#if: {{{weapon2|}}} | ,{{nbsp}}{{Item link|{{{weapon2}}}}}}}{{#if: {{{weapon3|}}} | ,{{nbsp}}{{Item link|{{{weapon3}}}}}}}{{#if: {{{weapon4|}}} | ,{{nbsp}}{{Item link|{{{weapon4}}}}}}}{{#if: {{{weapon5|}}} | ,{{nbsp}}{{Item link|{{{weapon5}}}}}}} {{!!}} {{{reason}}} {{!!}} {{#if: {{{notes|}}} | {{{notes}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{serial|}}} | [http://tf2b.com/item/{{{communityid}}}/{{{serial}}} {{Item name|{{{weapon}}}}}] {{#if: {{{serial2|}}} | ,{{nbsp}}[http://tf2b.com/item/{{{communityid}}}/{{{serial2}}} {{Item name|{{{weapon2}}}}}] }}{{#if: {{{serial3|}}} | ,{{nbsp}}[http://tf2b.com/item/{{{communityid}}}/{{{serial3}}} {{Item name|{{{weapon3}}}}}] }}{{#if: {{{serial4|}}} | ,{{nbsp}}[http://tf2b.com/item/{{{communityid}}}/{{{serial4}}} {{Item name|{{{weapon4}}}}}] }}{{#if: {{{serial5|}}} | ,{{nbsp}}[http://tf2b.com/item/{{{communityid}}}/{{{serial4}}} {{Item name|{{{weapon5}}}}}] }} | {{lang
 
     | ar = لا يوجد
 
     | ar = لا يوجد
 
     | en = N/A
 
     | en = N/A
Line 68: Line 68:
 
  | reason      = Why does the person have (a) Community Weapon(s)?
 
  | reason      = Why does the person have (a) Community Weapon(s)?
 
  | communityid = Community ID of receipient for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
 
  | communityid = Community ID of receipient for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
| type        = Accepts 'id' or 'profiles'. Defaults to 'profiles'.
 
 
  | notes      = Notes, other information, if relevant.
 
  | notes      = Notes, other information, if relevant.
  
  | serial      = Item serial for weapon 1, available off optf2.com
+
  | serial      = Item serial for weapon 1, available off tf2b.com
  | serial2    = Item serial for weapon 2, available off optf2.com
+
  | serial2    = Item serial for weapon 2, available off tf2b.com
  | serial3    = Item serial for weapon 3, available off optf2.com
+
  | serial3    = Item serial for weapon 3, available off tf2b.com
  | serial4    = Item serial for weapon 4, available off optf2.com
+
  | serial4    = Item serial for weapon 4, available off tf2b.com
  | serial5    = Item serial for weapon 5, available off optf2.com
+
  | serial5    = Item serial for weapon 5, available off tf2b.com
  
 
  | wiki        = Wiki username, if any
 
  | wiki        = Wiki username, if any

Revision as of 13:50, 5 October 2011

Documentation for Community item owner


This template is for use with List of Community Weapon owners.

Syntax

{{Community Weapon owner
 | steamname   = Name on STEAM at the time of addition

 | weapon      = Full name of weapon 1; Wiki links are automatically added.
 | weapon2     = Full name of weapon 2; Wiki links are automatically added.
 | weapon3     = Full name of weapon 3; Wiki links are automatically added.
 | weapon4     = Full name of weapon 4; Wiki links are automatically added.
 | weapon5     = Full name of weapon 5; Wiki links are automatically added.

 | reason      = Why does the person have (a) Community Weapon(s)?
 | communityid = Community ID of receipient for steamcommunity.com (excluding the steamcommunity.com/id|profiles/ bit)
 | notes       = Notes, other information, if relevant.

 | serial      = Item serial for weapon 1, available off tf2b.com
 | serial2     = Item serial for weapon 2, available off tf2b.com
 | serial3     = Item serial for weapon 3, available off tf2b.com
 | serial4     = Item serial for weapon 4, available off tf2b.com
 | serial5     = Item serial for weapon 5, available off tf2b.com

 | wiki        = Wiki username, if any
}}

See also