Difference between revisions of "Template:Item Set"
m |
m |
||
Line 61: | Line 61: | ||
==Components== | ==Components== | ||
− | {| | + | {| |
− | | {{#if: {{{ | + | | {{#if: {{{component1pic|}}} | [[File:{{{component1pic}}}|link={{{component1}}}]] | [[File:Image_Needed.png|link={{{component1}}}]] }} |
| [[{{{component1}}}]] {{#ifeq: {{{component1rare}}} | true | (Rare) | (Common) }} | | [[{{{component1}}}]] {{#ifeq: {{{component1rare}}} | true | (Rare) | (Common) }} | ||
− | | {{#if: {{{ | + | | {{#if: {{{component2pic|}}} | [[File:{{{component2pic}}}|link={{{component2}}}]] | [[File:Image_Needed.png|link={{{component2}}}]] }} |
| [[{{{component2}}}]] {{#ifeq: {{{component2rare}}} | true | (Rare) | (Common) }} | | [[{{{component2}}}]] {{#ifeq: {{{component2rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component3|}}} | {{#if: {{{component3|}}} | ||
− | | {{!}} {{#if: {{{ | + | | {{!}} {{#if: {{{component3pic|}}} | [[File:{{{component3pic}}}|link={{{component3}}}]] | [[File:Image_Needed.png|link={{{component3}}}]] }} |
{{!}} [[{{{component3}}}]] {{#ifeq: {{{component3rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component3}}}]] {{#ifeq: {{{component3rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component4|}}} | {{#if: {{{component4|}}} | ||
| {{!}}- | | {{!}}- | ||
− | {{!}} {{#if: {{{ | + | {{!}} {{#if: {{{component4pic|}}} | [[File:{{{component4pic}}}|link={{{component4}}}]] | [[File:Image_Needed.png|link={{{component4}}}]] }} |
{{!}} [[{{{component4}}}]] {{#ifeq: {{{component4rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component4}}}]] {{#ifeq: {{{component4rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component5|}}} | {{#if: {{{component5|}}} | ||
− | | {{!}} {{#if: {{{ | + | | {{!}} {{#if: {{{component5pic|}}} | [[File:{{{component5pic}}}|link={{{component5}}}]] | [[File:Image_Needed.png|link={{{component5}}}]] }} |
{{!}} [[{{{component5}}}]] {{#ifeq: {{{component5rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component5}}}]] {{#ifeq: {{{component5rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component6|}}} | {{#if: {{{component6|}}} | ||
− | | {{!}} {{#if: {{{ | + | | {{!}} {{#if: {{{component6pic|}}} | [[File:{{{component6pic}}}|link={{{component6}}}]] | [[File:Image_Needed.png|link={{{component6}}}]] }} |
{{!}} [[{{{component6}}}]] {{#ifeq: {{{component6rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component6}}}]] {{#ifeq: {{{component6rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component7|}}} | {{#if: {{{component7|}}} | ||
| {{!}}- | | {{!}}- | ||
− | {{!}} {{#if: {{{ | + | {{!}} {{#if: {{{component7pic|}}} | [[File:{{{component7pic}}}|link={{{component7}}}]] | [[File:Image_Needed.png|link={{{component7}}}]] }} |
{{!}} [[{{{component7}}}]] {{#ifeq: {{{component7rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component7}}}]] {{#ifeq: {{{component7rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component8|}}} | {{#if: {{{component8|}}} | ||
− | | {{!}} {{#if: {{{ | + | | {{!}} {{#if: {{{component8pic|}}} | [[File:{{{component8pic}}}|link={{{component8}}}]] | [[File:Image_Needed.png|link={{{component8}}}]] }} |
{{!}} [[{{{component8}}}]] {{#ifeq: {{{component8rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component8}}}]] {{#ifeq: {{{component8rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component9|}}} | {{#if: {{{component9|}}} | ||
− | | {{!}} {{#if: {{{ | + | | {{!}} {{#if: {{{component9pic|}}} | [[File:{{{component9pic}}}|link={{{component9}}}]] | [[File:Image_Needed.png|link={{{component9}}}]] }} |
{{!}} [[{{{component9}}}]] {{#ifeq: {{{component9rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component9}}}]] {{#ifeq: {{{component9rare}}} | true | (Rare) | (Common) }} | ||
{{#if: {{{component10|}}} | {{#if: {{{component10|}}} | ||
| {{!}}- | | {{!}}- | ||
− | {{!}} {{#if: {{{ | + | {{!}} {{#if: {{{component10pic|}}} | [[File:{{{component10pic}}}|link={{{component10}}}]] | [[File:Image_Needed.png|link={{{component10}}}]] }} |
{{!}} [[{{{component10}}}]] {{#ifeq: {{{component10rare}}} | true | (Rare) | (Common) }} | {{!}} [[{{{component10}}}]] {{#ifeq: {{{component10rare}}} | true | (Rare) | (Common) }} | ||
}} }} }} }} }} }} }} }} | }} }} }} }} }} }} }} }} |
Revision as of 10:46, 3 March 2010
Contents
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= |setname= |numberofpieces= |unofficial= |mondainslegacy= |rareparts= |rarespawns= |othernotes= |totalstats= |component1= |component1rare= |componentpic1= |component2= |component2rare= |componentpic2= |component3= |component3rare= |componentpic3= |component4= |component4rare= |componentpic4= |component5= |component5rare= |componentpic5= |component6= |component6rare= |componentpic6= |component7= |component7rare= |componentpic7= |component8= |component8rare= |componentpic8= |component9= |component9rare= |componentpic9= |component10= |component10rare= |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.