Difference between revisions of "Template:ItemLine"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{!}}align=center{{!}}{{#if:{{{Name|}}}|{{#ifeq:{{lc:{{{gemw}}}}}|no|[[File:{{{Image|1x1-pixel.png}}}{{!}}link={{{Name}}}]]|{{Icon|{{{Name}}}}}}}| }}
<includeonly>{{!}}align=center{{!}}{{#if:{{{Name|}}}|{{#ifeq:{{lc:{{{gemw}}}}}|no|[[File:{{{Image|Gil.png}}}{{!}}link={{{Name}}}]]|{{#if:{{{Image|}}}|{{{Image}}}|{{Icon|{{{Name}}}}}}}}}|&nbsp;}}
{{!}}align=left{{!}}{{#if:{{{Namenotes|}}}|[[{{{Name}}}]] {{{Namenotes}}}|[[{{{Name|RuneScape:No page{{!}}Unknown}}}]]}}
{{!}}align=left{{!}}[[{{{Name|??}}}|{{{DisplayName|{{{Name}}}}}}]]
{{!}}{{formatnum:{{#replace:{{#if:{{{Quantity|}}}|{{{Quantity}}}|Unknown}}|-|&ndash;}}}} {{{Quantitynotes|}}}
{{!}}{{formatnum:{{,|{{{Sell|??}}}}}}}
{{!}}style=background:#{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=AFEEEE|common=56E156|uncommon=FFED4C|rare=FF863C|very rare=FF6262|varies|random=FFA3FF|discontinued=DBFF4C|unknown|#default=FFFFFF}}; color:#000000;"{{!}}<span style="display:none;">{{#switch:{{lc:{{{Rarity|unknown}}}}}|always=1|common=2|uncommon=3|rare=4|very rare=5|varies|random=6|discontinued=7|unknown|#default=8}}</span> {{#if:{{{Rarity|}}}|{{ucfirst:{{#replace:{{lc:{{{Rarity|Unknown}}}}}|random|varies}}}}|Unknown}} {{{Raritynotes|}}}
{{!}}{{formatnum:{{,|{{{Buy|??}}}}}}}
{{!}}{{#if:{{{Name|}}}|{{#ifeq:{{lc:{{{gemw}}}}}|no|{{#ifeq:{{{AltValue|}}}||Not sold|{{formatnum:{{{AltValue}}}}} <ref name="DropsLineAltValueRef">This item has a distinct value, even if it cannot be traded over the [[Grand Exchange]].</ref>}}|title="{{GEPrice|{{{Name}}}}} coins each"{{!}}{{DropsLine/qty|{{{Quantity}}}|{{{Name}}}}}}}}}{{mainonly|{{#if:{{{Rarity|}}}||[[Category:Needs drop rarity added]]}}{{#if:{{{Quantity|}}}||[[Category:Needs drop quantity added]]}}{{#ifeq:{{lc:{{{Name}}}}}|starved ancient effigy|[[Category:Effigy droppers]]}}{{#ifeq:{{lc:{{#explode:{{{Name}}}||0}} {{#explode:{{{Name}}}||1}}}}|clue scroll|[[Category:Clue Drop Monsters]]}}}}
{{!}}-</includeonly><noinclude>{{documentation}}</noinclude>
{{!}}-{{PreloadPage}}

Latest revision as of 18:49, 3 November 2014

Template documentation(for the above template, sometimes hidden or invisible)


Visit Template:ItemLine/doc to edit this text! (How does this work?)