Difference between revisions of "Template:Item Set"

m
m
Line 66: Line 66:
  
 
The [[{{PAGENAME}}]] is a {{{numberofpieces}}}-piece [[Item Set]].
 
The [[{{PAGENAME}}]] is a {{{numberofpieces}}}-piece [[Item Set]].
* {{#ifeq: {{{source}}} | ml | This set was introduced in the [[Ultima Online: Mondain's Legacy|Mondain's Legacy]] expansion. | {{{source}}} }}
+
* {{#ifeq: {{{source}}} | ml | This set was introduced in the [[Ultima Online: Mondain's Legacy|Mondain's Legacy]] expansion. | {{{source}}} }}{{#ifeq: {{{setbonus}}} | true |
{{#ifeq: {{{setbonus}}} | true | * The parts of this set impart additional benefits when the entire set is equipped.
+
* The parts of this set impart additional benefits when the entire set is equipped.
 
* The parts of this set change their hue when the entire set is equipped. }}
 
* The parts of this set change their hue when the entire set is equipped. }}
 
{{#if: {{{othernotes|}}} | {{{othernotes}}} }}
 
{{#if: {{{othernotes|}}} | {{{othernotes}}} }}

Revision as of 10:41, 24 March 2010

Template:Item Set is designed for use on Item Set pages to standardize their look and feel and to make them easier to create.

Template

{{Item Set
|image=
|numberofpieces=
|source=
|setbonus=
|othernotes=
|totalstats=
|component1=
|componentpic1=
|component2=
|componentpic2=
|component3=
|componentpic3=
|component4=
|componentpic4=
|component5=
|componentpic5=
|component6=
|componentpic6=
|component7=
|componentpic7=
|component8=
|componentpic8=
|component9=
|componentpic9=
|component10=
|componentpic10=
}}

Parameters

image

  • Usage: Mandatory
  • Description: The image parameter takes a string denoting the name of an image of the item set. This is used to generate the image of the item set when equipped in the upper-left corner of the article. Although this parameter is marked as "Optional," if this parameter is not supplied a value an image will be displayed that says "IMAGE NEEDED" and the page will be put into Category:Image Needed so that it may be given a valid image as soon as possible.
  • Valid Value(s): Any string that corresponds to the name of a valid image on UOGuide.

numberofpieces

  • Usage: Mandatory
  • Description: The numberofpieces parameter takes a number denoting the number of pieces in the item set. This is used to generate the number at the end of the first sentence.
  • Valid Value(s): Any integer equal to or greater than 2.

source

  • Usage: Mandatory
  • Description: The source parameter takes a string or strings denoting what expansion or event the set came from. This is used to generate the first bullet point after the introductory sentence.
  • Valid Value(s): Any string or strings.

setbonus

  • Usage: Optional
  • Description: The setbonus parameter takes the value "true" denoting whether the items in the set impart an official set bonus and change their hue when the entire set is equipped. This is used to generate two bulletpoints indicating that the items in the set impart additional benefits and also change their hue when the entire set is equipped.
  • Valid Value(s): "true"