Difference between revisions of "Template:Item Set"

m
m
Line 4: Line 4:
 
|template=<nowiki>{{Item Set
 
|template=<nowiki>{{Item Set
 
|picture=
 
|picture=
|setname=
 
 
|numberofpieces=
 
|numberofpieces=
 
|unofficial=
 
|unofficial=
Line 43: Line 42:
 
|othernotes=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.
 
|othernotes=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.
 
|validvalues=Any string that corresponds to the name of a valid image on UOGuide.
 
|validvalues=Any string that corresponds to the name of a valid image on UOGuide.
 +
}}
 +
{{Template Parameter
 +
|name=numberofpieces
 +
|usage=mandatory
 +
|takes=a number
 +
|denotes=the number of pieces in the item set
 +
|generates=the number at the end of the first sentence
 +
|validvalues=Any integer equal to or greater than 2.
 
}}</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__{{#if: {{{picture|}}} | [[File:{{{picture}}}|frame]] | [[File:Image_Needed.png|right]] }}
 
}}</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__{{#if: {{{picture|}}} | [[File:{{{picture}}}|frame]] | [[File:Image_Needed.png|right]] }}
  
The [[{{{setname}}} Set]] is a {{{numberofpieces}}}-piece [[Item Set]]. {{#ifeq: {{{unofficial}}} | true | It is an unofficial set - I.e. a collection of equippable items which visually and/or thematically go together but grant nothing other than bragging rights should a person manage to assemble all of them together. |  }} {{#ifeq: {{{mondainslegacy}}} | true | It was introduced with the [[Ultima Online: Mondain's Legacy|Mondain's Legacy expansion]]. The parts of this set change their hue when the entire set is equipped.}}{{#if: {{{rareparts|}}} | {{#ifeq: {{{rareparts}}} | true | {{Line Break}}{{Line Break}}Some or all parts of this set are considered "rare" and should spawn only from {{#if: {{{rarespawns|}}} | {{{rarespawns}}} | [[Peerless|Peerlesses]], bosses in the [[Doom]] Gauntlet, named [[Ultima Online: Mondain's Legacy|Mondain's Legacy]] monsters, and certain event specific monsters such as the ethereal forms of the [[Shadowlords]]. }} }} }}{{#if: {{{othernotes|}}} | {{Line Break}}{{Line Break}}{{{othernotes}}} }}
+
The [[{{PAGENAME}}]] is a {{{numberofpieces}}}-piece [[Item Set]]. {{#ifeq: {{{unofficial}}} | true | It is an unofficial set - I.e. a collection of equippable items which visually and/or thematically go together but grant nothing other than bragging rights should a person manage to assemble all of them together. |  }} {{#ifeq: {{{mondainslegacy}}} | true | It was introduced with the [[Ultima Online: Mondain's Legacy|Mondain's Legacy expansion]]. The parts of this set change their hue when the entire set is equipped.}}{{#if: {{{rareparts|}}} | {{#ifeq: {{{rareparts}}} | true | {{Line Break}}{{Line Break}}Some or all parts of this set are considered "rare" and should spawn only from {{#if: {{{rarespawns|}}} | {{{rarespawns}}} | [[Peerless|Peerlesses]], bosses in the [[Doom]] Gauntlet, named [[Ultima Online: Mondain's Legacy|Mondain's Legacy]] monsters, and certain event specific monsters such as the ethereal forms of the [[Shadowlords]]. }} }} }}{{#if: {{{othernotes|}}} | {{Line Break}}{{Line Break}}{{{othernotes}}} }}
  
 
==Total Stats==
 
==Total Stats==

Revision as of 12:48, 3 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=
|unofficial=
|mondainslegacy=
|rareparts=
|rarespawns=
|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.