Category:Template:Item Set
From UO Excelsior Wiki - Ultima Online Free Shard
is designed for use on Item Set pages to standardize their look and feel and to make them easier to create. {{#if: | {{{othernotes}}} | }}
Template
{{#switch: {{Item Set |image= |numberofpieces= |source= |setbonus= |changeshue= |othernotes= |totalstats= |component1= |componentpic1= |component2= |componentpic2= |component3= |componentpic3= |component4= |componentpic4= |component5= |componentpic5= |component6= |componentpic6= |component7= |componentpic7= |component8= |componentpic8= |component9= |componentpic9= |component10= |componentpic10= }} | {{Item Set |image= |numberofpieces= |source= |setbonus= |changeshue= |othernotes= |totalstats= |component1= |componentpic1= |component2= |componentpic2= |component3= |componentpic3= |component4= |componentpic4= |component5= |componentpic5= |component6= |componentpic6= |component7= |componentpic7= |component8= |componentpic8= |component9= |componentpic9= |component10= |componentpic10= }} }}
{{#if: | {{#ifeq: {{{display}}} | yes
| ==Display==
| ==Display==
{{{display}}}
}}
}}
Parameters
{{#switch: {{{parameters}}} | none = This template has no parameters. | | #default = }} {{#fornumargs: key | value | [[Category:{{#var: value}}|Template:Item Set]] }}
image
- Usage: {{#ifeq: mandatory | mandatory | Mandatory | Optional}}
- 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using. }} }} {{#if: 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. | 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: {{#ifeq: mandatory | mandatory | Mandatory | Optional}}
- 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using. }} }} {{#if: | {{{othernotes}}} }}
- Valid Value(s): Any integer equal to or greater than 2.
source
- Usage: {{#ifeq: mandatory | mandatory | Mandatory | Optional}}
- 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using. }} }} {{#if: | {{{othernotes}}} }}
- Valid Value(s): Any string or strings.
setbonus
- Usage: {{#ifeq: | mandatory | Mandatory | 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using. }} }} {{#if: | {{{othernotes}}} }}
- Valid Value(s): "true"
changeshue
- Usage: {{#ifeq: | mandatory | Mandatory | 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using. }} }} {{#if: | {{{othernotes}}} }}
- Valid Value(s): "true"