Difference between revisions of "Template:User Shard"

m
m
Line 7: Line 7:
 
|display={{Userbox
 
|display={{Userbox
 
|id={{{shard}}}.gif
 
|id={{{shard}}}.gif
|info=This person plays on the [[{{{shard}}}]] shard.
+
|info=This user plays on the [[{{{shard}}}]] shard.
 
}}
 
}}
 
|category=User
 
|category=User
Line 27: Line 27:
 
}}</noinclude><includeonly>{{Userbox
 
}}</noinclude><includeonly>{{Userbox
 
|id=[[Image:{{{shard}}}.gif|50px]]
 
|id=[[Image:{{{shard}}}.gif|50px]]
|info=This person plays on the [[{{{shard}}}]] shard.
+
|info=This user plays on the [[{{{shard}}}]] shard.
 
|category={{#ifeq: {{{category|}}} | true | {{{shard}}} Players }}
 
|category={{#ifeq: {{{category|}}} | true | {{{shard}}} Players }}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:13, 2 April 2010

Template:User Shard is designed for use on user shard template pages to display the fact that a user plays on a particular shard.

Template

{{User Shard
|shard=
}}

Display

{{{shard}}}.gif This user plays on the [[{{{shard}}}]] shard.

Parameters

shard

  • Usage: Mandatory
  • Description: The shard parameter takes a string denoting the shard that the template corresponds to. This is used to generate the displayed image, the indicated shard in the info text, and the category into which a user is placed upon using the derivative user shard template.
  • Valid Value(s): Any string that corresponds to a valid shard name.

category

  • Usage: Optional
  • Description: The category parameter takes the value "true" denoting that the page transcluding this template will be categorized. This is used to generate the category, consisting of "{{{shard}}} Players," where {{{shard}}} is the value placed in the shard parameter.
  • Valid Value(s): "true"