Difference between revisions of "Template:User Shard"
m |
m |
||
Line 17: | Line 17: | ||
|generates=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 | |generates=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 | ||
|validvalues=Any string that corresponds to a valid shard name. | |validvalues=Any string that corresponds to a valid shard name. | ||
+ | }} | ||
+ | {{Template Parameter | ||
+ | |name=category | ||
+ | |takes=a string | ||
+ | |denotes=the category into which will be placed pages that transclude this template | ||
+ | |generates=the category | ||
+ | |validvalues=Any string. | ||
}} | }} | ||
[[Category:Information Templates|{{PAGENAME}}]][[Category:Wiki Templates|{{PAGENAME}}]]</noinclude><includeonly>{{Userbox | [[Category:Information Templates|{{PAGENAME}}]][[Category:Wiki Templates|{{PAGENAME}}]]</noinclude><includeonly>{{Userbox | ||
|id=[[Image:{{{shard}}}.gif|50px]] | |id=[[Image:{{{shard}}}.gif|50px]] | ||
|info=This person plays on the [[{{{shard}}}]] shard. | |info=This person plays on the [[{{{shard}}}]] shard. | ||
− | |category={{{shard}}} Players | + | |category={{#if: {{{category|}}} | {{{shard}}} Players }} |
}}</includeonly> | }}</includeonly> |
Revision as of 12:34, 11 December 2009
Contents
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 person plays on the [[{{{shard}}}]] shard. |
---|
Parameters
[[Category:{{{category}}} Templates|User Shard]]
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 a string denoting the category into which will be placed pages that transclude this template. This is used to generate the category.
- Valid Value(s): Any string.