No edit summary
(moved styling to style sheet, page tidy up)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#404040 align=center
[[Category:Dyeable]]
|colspan=5 align=center|<font color=white><big>''' Dyed {{{Name|??}}} ''' </big></font>
{|class="dyedvariations columnscenter"
!colspan=5|Dyed {{{1}}}
|-
|-
|align=center|<font color=white>{{#ifeq:{{{Lapyan}}}|{{{Lapyan|True}}}|[[Image:{{{Name|??}}} Light Blue Icon.png]]|[[Image: Icon.png]]}}<br> Lapyan <br> (Light Blue) </font>
|{{#ifexist:File:{{{1}}} Lapyan Icon.png|[[File:{{{1}}} Lapyan Icon.png]]|[[File:Icon.png|link={{{1}}} Lapyan Icon.png]]}}<br> Lapyan<br>(Light Blue)
|align=center|<font color=white>{{#ifeq:{{{Colban}}}|{{{Colban|True}}}|[[Image:{{{Name|??}}} Dark Blue Icon.png]]|[[Image: Icon.png]]}}<br> Colban <br> (Dark Blue) </font>
|{{#ifexist:File:{{{1}}} Colban Icon.png|[[File:{{{1}}} Colban Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Lapyan Icon.png]]}}<br> Colban<br>(Dark Blue)
|align=center|<font color=white>{{#ifeq:{{{Verdalim}}}|{{{Verdalim|True}}}|[[Image:{{{Name|??}}} Green Icon.png]]|[[Image: Icon.png]]}}<br> Verdalim<br> (Green) </font>
|{{#ifexist:File:{{{1}}} Verdalim Icon.png|[[File:{{{1}}} Verdalim Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Verdalim Icon.png]]}}<br> Verdalim<br> (Green)
|align=center|<font color=white>{{#ifeq:{{{Minalim}}}|{{{Minalim|True}}}|[[Image:{{{Name|??}}} Mint Green Icon.png]]|[[Image: Icon.png]]}}<br> Minalim <br> (Mint Green)</font>
|{{#ifexist:File:{{{1}}} Minalim Icon.png|[[File:{{{1}}} Minalim Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Minalim Icon.png]]}}<br> Minalim<br>(Mint Green)
|align=center|<font color=white>{{#ifeq:{{{Relanim}}}|{{{Relanim|True}}}|[[Image:{{{Name|??}}} Purple Icon.png]]|[[Image: Icon.png]]}}<br> Relanim <br> (Purple) </font>
|{{#ifexist:File:{{{1}}} Relanim Icon.png|[[File:{{{1}}} Relanim Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Relanim Icon.png]]}}<br> Relanim<br>(Purple)
|-
|-
|{{#ifeq:{{{Lapyan}}}|{{{Lapyan|True}}}|[[Image:{{{Name|??}}} Light Blue Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Lapyan Live.jpg|[[File:{{{1}}} Lapyan Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Lapyan Live.jpg|100px]]}}
|{{#ifeq:{{{Colban}}}|{{{Colban|True}}}|[[Image:{{{Name|??}}} Dark Blue Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Colban Live.jpg|[[File:{{{1}}} Colban Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Colban Live.jpg|100px]]}}
| {{#ifeq:{{{Verdalim}}}|{{{Verdalim|True}}}|[[Image:{{{Name|??}}} Green Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Verdalim Live.jpg|[[File:{{{1}}} Verdalim Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Verdalim Live.jpg|100px]]}}
|{{#ifeq:{{{Minalim}}}|{{{Minalim|True}}}|[[Image:{{{Name|??}}} Mint Green Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Minalim Live.jpg|[[File:{{{1}}} Minalim Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Minalim Live.jpg|100px]]}}
|{{#ifeq:{{{Relanim}}}|{{{Relanim|True}}}|[[Image:{{{Name|??}}} Purple Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Relanim Live.jpg|[[File:{{{1}}} Relanim Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Relanim Live.jpg|100px]]}}
|-
|-
|align=center|<font color=white>{{#ifeq:{{{Thananim}}}|{{{Thananim|True}}}|[[Image:{{{Name|??}}} Black Icon.png]]|[[Image: Icon.png]]}}<br> Thananim <br> (Black)</font>
|{{#ifexist:File:{{{1}}} Thananim Icon.png|[[File:{{{1}}} Thananim Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Thananim Icon.png]]}}<br> Thananim<br>(Black)
|align=center|<font color=white>{{#ifeq:{{{Hennacin}}}|{{{Hennacin|True}}}|[[Image:{{{Name|??}}} Red Icon.png]]|[[Image: Icon.png]]}}<br> Hennacin <br> (Red) </font>
|{{#ifexist:File:{{{1}}} Hennacin Icon.png|[[File:{{{1}}} Hennacin Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Hennacin Icon.png]]}}<br> Hennacin<br>(Red)
|align=center|<font color=white>{{#ifeq:{{{Argenory}}}|{{{Argenory|True}}}|[[Image:{{{Name|??}}} White Icon.png]]|[[Image: Icon.png]]}}<br> Argenory <br> (White) </font>
|{{#ifexist:File:{{{1}}} Argenory Icon.png|[[File:{{{1}}} Argenory Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Argenory Icon.png]]}}<br> Argenory<br>(White)
|align=center|<font color=white>{{#ifeq:{{{Berimphur}}}|{{{Berimphur|True}}}|[[Image:{{{Name|??}}} Yellow Icon.png]]|[[Image: Icon.png]]}}<br> Berimphur <br> (Yellow)</font>
|{{#ifexist:File:{{{1}}} Berimphur Icon.png|[[File:{{{1}}} Berimphur Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Berimphur Icon.png]]}}<br> Berimphur<br>(Yellow)
|align=center|<font color=white>{{#ifeq:{{{Fail}}}|{{{Fail|True}}}|[[Image:{{{Name|??}}} Fail Icon.png]]|[[Image: Icon.png]]}}<br> Fail-Dyed</font>
|{{#ifexist:File:{{{1}}} Fail Icon.png|[[File:{{{1}}} Fail Icon.png]]|[[File:Icon.png|link=File:{{{1}}} Fail Icon.png]]}}<br> Fail-Dyed
|-
|-
|{{#ifeq:{{{Thananim}}}|{{{Thananim|True}}}|[[Image:{{{Name|??}}} Black Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Thananim Live.jpg|[[File:{{{1}}} Thananim Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Thananim Live.jpg|100px]]}}
|{{#ifeq:{{{Hennacin}}}|{{{Hennacin|True}}}|[[Image:{{{Name|??}}} Red Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Hennacin Live.jpg|[[File:{{{1}}} Hennacin Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Hennacin Live.jpg|100px]]}}
|{{#ifeq:{{{Argenory}}}|{{{Argenory|True}}}|[[Image:{{{Name|??}}} White Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Argenory Live.jpg|[[File:{{{1}}} Argenory Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Argenory Live.jpg|100px]]}}
|{{#ifeq:{{{Berimphur}}}|{{{Berimphur|True}}}|[[Image:{{{Name|??}}} Yellow Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Berimphur Live.jpg|[[File:{{{1}}} Berimphur Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Berimphur Live.jpg|100px]]}}
|{{#ifeq:{{{Fail}}}|{{{Fail|True}}}|[[Image:{{{Name|??}}} Fail Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{{1}}} Fail Live.jpg|[[File:{{{1}}} Fail Live.jpg|100px]]|[[File:Live.jpg|link=File:{{{1}}} Fail Live.jpg|100px]]}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude>
 
{{Related|Page Templates|Armor|Clothing|Dyeing}}
 
This template can be used to add a table with variations when dyeing Quest and Store-bought Armor and Clothing.<br>
Often these items display different effects than when dyeing looted armor or clothing.<br>
 
To make sure the table does not show dead links, '''remove''' any of the line containing the name of the dye plant. This will ensure the result will show the standard "Image needed" image.<br>
 
This template is '''in progress'''. See [[User:Sanddh/Sandbox]] for try-outs and goals. Any help/suggestions appreciated.<br>
 
The final version will have the names of the dye plants in it for the icon & image files. For now, for testing and because of earlier uploaded image files, a more ambiguous color name is used.
 
 
== Wiki Code ==
 
<pre>
{{Dyed Variations
  |    Name =
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True
 
}}
</pre>
 
 
 
=== Example ===
 
<pre>
{{Dyed Variations
  |    Name = Dapper Suit
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True
}}
</pre>
 
 
{{Dyed Variations
  |    Name = Dapper Suit
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True
}}
 
 
<pre>
{{Dyed Variations
  |    Name = Chicken Hat
  |    Hennacin = True
}}
</pre>
 
 
{{Dyed Variations
  |    Name = Chicken Hat
  |    Hennacin = True
}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 09:38, 15 October 2015

Template Documentation: Variations| |_}}/Doc?action=edit Edit Documentation

Related topics: Page Templates, Armor, Clothing, Dyeing

Syntax Edit

{{Dyed Variations|<Item Name>}}

{{Dyed Variations|{{PAGENAME}}}}

Usage Edit

This template can be used to add a table with variations when dyeing Quest and Store-bought Armor and Clothing. Often quest items display different effects than when dyeing looted armor or clothing.


Live images should be around 250x500 pixels, though do not have to be exact. Use this format in naming the image files where "Item Name" is the exact in-game name:

Item Name Argenory Icon.png     Item Name Argenory Live.jpg
Item Name Berimphur Icon.png     Item Name Berimphur Live.jpg
Item Name Colban Icon.png     Item Name Colban Live.jpg
Item Name Fail Icon.png     Item Name Fail Live.jpg
Item Name Hennacin Icon.png     Item Name Hennacin Live.jpg
Item Name Lapyan Icon.png     Item Name Lapyan Live.jpg
Item Name Minalim Icon.png     Item Name Minalim Live.jpg
Item Name Relanim Icon.png     Item Name Relanim Live.jpg
Item Name Thananim Icon.png     Item Name Thananim Live.jpg
Item Name Verdalim Icon.png     Item Name Verdalim Live.jpg

For example:

{{Dyed Variations|Dapper Suit}}

displays as:

Dyed Dapper Suit

Lapyan
(Light Blue)

Colban
(Dark Blue)

Verdalim
(Green)

Minalim
(Mint Green)

Relanim
(Purple)

Thananim
(Black)

Hennacin
(Red)

Argenory
(White)

Berimphur
(Yellow)

Fail-Dyed

and:

{{Dyed Variations|Chicken Hat}}

displays as:

Dyed Chicken Hat

Lapyan
(Light Blue)

Colban
(Dark Blue)

Verdalim
(Green)

Minalim
(Mint Green)

Relanim
(Purple)

Thananim
(Black)

Hennacin
(Red)

Argenory
(White)

Berimphur
(Yellow)

Fail-Dyed