Difference between revisions of "Template:Item Set"

m
m
Line 77: Line 77:
 
{{#ifeq: {{{setbonus}}} | true | * The parts of this set impart additional benefits when the entire set is equipped. }}
 
{{#ifeq: {{{setbonus}}} | true | * The parts of this set impart additional benefits when the entire set is equipped. }}
 
{{#ifeq: {{{changeshue}}} | true | * The parts of this set change their hue when the entire set is equipped. }}
 
{{#ifeq: {{{changeshue}}} | true | * The parts of this set change their hue when the entire set is equipped. }}
{{#if: {{{othernotes|}}} | * {{{othernotes}}} }}
+
{{#ifeq: {{{othernotes}}} | {{{othernotes}}} | {{{othernotes}}} }}
  
 
==Total Stats==
 
==Total Stats==

Revision as of 15:00, 4 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
|picture=
|numberofpieces=
|official=
|introduced=
|changeshue=
|othernotes=
|totalstats=
|component1=
|componentpic1=
|component2=
|componentpic2=
|component3=
|componentpic3=
|component4=
|componentpic4=
|component5=
|componentpic5=
|component6=
|componentpic6=
|component7=
|componentpic7=
|component8=
|componentpic8=
|component9=
|componentpic9=
|component10=
|componentpic10=
}}

Parameters

picture

  • Usage: Mandatory
  • Description: The picture parameter takes a string denoting the name of an image of the item set. This is used to generate the picture of the item set 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. This is used to generate a bulletpoint indicating that the items in the set impart additional benefits when the entire set is equipped.
  • Valid Value(s): "true"

changeshue

  • Usage: Optional
  • Description: The changeshue parameter takes the value "true" denoting whether the items in the item set change their hue when all are equipped at once. This is used to generate a bullet point indicating that the items in the set change their hue when the entire set is equipped.
  • Valid Value(s): "true"