Difference between revisions of "Template:User Shard"
m (Protected "Template:User Shard" [edit=sysop:move=sysop]) |
m |
||
(14 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|shard= | |shard= | ||
}}</nowiki> | }}</nowiki> | ||
+ | |display={{Userbox | ||
+ | |id={{{shard}}}.gif | ||
+ | |info=This user plays on the [[{{{shard}}}]] shard. | ||
+ | }} | ||
+ | |category=User | ||
}} | }} | ||
{{Template Parameter | {{Template Parameter | ||
Line 14: | Line 19: | ||
|validvalues=Any string that corresponds to a valid shard name. | |validvalues=Any string that corresponds to a valid shard name. | ||
}} | }} | ||
− | + | {{Template Parameter | |
− | + | |name=category | |
− | |id=[[Image:{{{ | + | |takes=the value "none" |
− | |info=This | + | |denotes=that the page transcluding this template will not be categorized |
− | + | |generates=a blanking of the category, as opposed to the default generated category, which consists of "{{{shard}}} Players," where {{{shard}}} is the value placed in the {{Monospace|shard}} parameter | |
− | + | |othernotes=This parameter should be utilized when using this template as some sort of example, so as to not erroneously categorize the example page on which it is used. | |
+ | |validvalues="none" | ||
+ | }}</noinclude><includeonly>{{Userbox | ||
+ | |id=[[Image:{{{shard}}}.gif|50px]] | ||
+ | |info=This user plays on the [[{{{shard}}}]] shard. | ||
+ | |category={{#ifeq:{{{category}}}|none||{{{shard}}} Players}} | ||
+ | }}</includeonly> |
Latest revision as of 12:40, 13 March 2011
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 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 "none" denoting that the page transcluding this template will not be categorized. This is used to generate a blanking of the category, as opposed to the default generated category, which consists of "{{{shard}}} Players," where {{{shard}}} is the value placed in the shard parameter. This parameter should be utilized when using this template as some sort of example, so as to not erroneously categorize the example page on which it is used.
- Valid Value(s): "none"