No edit summary
(Updated template to automatically check for image files)
Line 3: Line 3:
|colspan=5 align=center|<font color=white><big>''' Dyed {{{Name|??}}} ''' </big></font>
|colspan=5 align=center|<font color=white><big>''' Dyed {{{Name|??}}} ''' </big></font>
|-
|-
|align=center|<font color=white>{{#ifeq:{{{Lapyan}}}|{{{Lapyan|True}}}|[[Image:{{{Name|??}}} Light Blue Icon.png]]|[[Image: Icon.png]]}}<br> Lapyan <br> (Light Blue) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Lapyan Icon.png|[[File:{{strip|{{{1}}}}} Lapyan Icon.png]]
|align=center|<font color=white>{{#ifeq:{{{Colban}}}|{{{Colban|True}}}|[[Image:{{{Name|??}}} Dark Blue Icon.png]]|[[Image: Icon.png]]}}<br> Colban <br> (Dark Blue) </font>
|[[File:Icon.png]]}}<br> Lapyan <br> (Light Blue) </font>
|align=center|<font color=white>{{#ifeq:{{{Verdalim}}}|{{{Verdalim|True}}}|[[Image:{{{Name|??}}} Green Icon.png]]|[[Image: Icon.png]]}}<br> Verdalim<br> (Green) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Colban Icon.png|[[File:{{strip|{{{1}}}}} Colban Icon.png]]
|align=center|<font color=white>{{#ifeq:{{{Minalim}}}|{{{Minalim|True}}}|[[Image:{{{Name|??}}} Mint Green Icon.png]]|[[Image: Icon.png]]}}<br> Minalim <br> (Mint Green)</font>
|[[File:Icon.png]]}}<br> Colban <br> (Dark Blue) </font>
|align=center|<font color=white>{{#ifeq:{{{Relanim}}}|{{{Relanim|True}}}|[[Image:{{{Name|??}}} Purple Icon.png]]|[[Image: Icon.png]]}}<br> Relanim <br> (Purple) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Verdalim Icon.png|[[File:{{strip|{{{1}}}}} Verdalim Icon.png]]
|[[File:Icon.png]]}}<br> Verdalim<br> (Green) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Minalim Icon.png|[[File:{{strip|{{{1}}}}} Minalim Icon.png]]
|[[File:Icon.png]]}}<br> Minalim <br> (Mint Green)</font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Relanim Icon.png|[[File:{{strip|{{{1}}}}} Relanim Icon.png]]
|[[File:Icon.png]]}}<br> Relanim <br> (Purple) </font>
|-
|-
|{{#ifeq:{{{Lapyan}}}|{{{Lapyan|True}}}|[[Image:{{{Name|??}}} Light Blue Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Lapyan Live.jpg|[[File:{{strip|{{{1}}}}} Lapyan Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Colban}}}|{{{Colban|True}}}|[[Image:{{{Name|??}}} Dark Blue Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Colban Live.jpg|[[File:{{strip|{{{1}}}}} Colban Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
| {{#ifeq:{{{Verdalim}}}|{{{Verdalim|True}}}|[[Image:{{{Name|??}}} Green Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Verdalim Live.jpg|[[File:{{strip|{{{1}}}}} Verdalim Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Minalim}}}|{{{Minalim|True}}}|[[Image:{{{Name|??}}} Mint Green Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Minalim Live.jpg|[[File:{{strip|{{{1}}}}} Minalim Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Relanim}}}|{{{Relanim|True}}}|[[Image:{{{Name|??}}} Purple Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Relanim Live.jpg|[[File:{{strip|{{{1}}}}} Relanim Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|-
|-
|align=center|<font color=white>{{#ifeq:{{{Thananim}}}|{{{Thananim|True}}}|[[Image:{{{Name|??}}} Black Icon.png]]|[[Image: Icon.png]]}}<br> Thananim <br> (Black)</font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Thananim Icon.png|[[File:{{strip|{{{1}}}}} Thananim Icon.png]]
|align=center|<font color=white>{{#ifeq:{{{Hennacin}}}|{{{Hennacin|True}}}|[[Image:{{{Name|??}}} Red Icon.png]]|[[Image: Icon.png]]}}<br> Hennacin <br> (Red) </font>
|[[File:Icon.png]]}}<br> Thananim <br> (Black)</font>
|align=center|<font color=white>{{#ifeq:{{{Argenory}}}|{{{Argenory|True}}}|[[Image:{{{Name|??}}} White Icon.png]]|[[Image: Icon.png]]}}<br> Argenory <br> (White) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Hennacin Icon.png|[[File:{{strip|{{{1}}}}} Hennacin Icon.png]]
|align=center|<font color=white>{{#ifeq:{{{Berimphur}}}|{{{Berimphur|True}}}|[[Image:{{{Name|??}}} Yellow Icon.png]]|[[Image: Icon.png]]}}<br> Berimphur <br> (Yellow)</font>
|[[File:Icon.png]]}}<br> Hennacin <br> (Red) </font>
|align=center|<font color=white>{{#ifeq:{{{Fail}}}|{{{Fail|True}}}|[[Image:{{{Name|??}}} Fail Icon.png]]|[[Image: Icon.png]]}}<br> Fail-Dyed</font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Argenory Icon.png|[[File:{{strip|{{{1}}}}} Argenory Icon.png]]
|[[File:Icon.png]]}}<br> Argenory <br> (White) </font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Berimphur Icon.png|[[File:{{strip|{{{1}}}}} Berimphur Icon.png]]
|[[File:Icon.png]]}}<br> Berimphur <br> (Yellow)</font>
|align=center|<font color=white>{{#ifexist:File:{{strip|{{{1}}}}} Fail Icon.png|[[File:{{strip|{{{1}}}}} Fail Icon.png]]
|[[File:Icon.png]]}}<br> Fail-Dyed</font>
|-
|-
|{{#ifeq:{{{Thananim}}}|{{{Thananim|True}}}|[[Image:{{{Name|??}}} Black Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Thananim Live.jpg|[[File:{{strip|{{{1}}}}} Thananim Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Hennacin}}}|{{{Hennacin|True}}}|[[Image:{{{Name|??}}} Red Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Hennacin Live.jpg|[[File:{{strip|{{{1}}}}} Hennacin Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Argenory}}}|{{{Argenory|True}}}|[[Image:{{{Name|??}}} White Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Argenory Live.jpg|[[File:{{strip|{{{1}}}}} Argenory Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Berimphur}}}|{{{Berimphur|True}}}|[[Image:{{{Name|??}}} Yellow Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Berimphur Live.jpg|[[File:{{strip|{{{1}}}}} Berimphur Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|{{#ifeq:{{{Fail}}}|{{{Fail|True}}}|[[Image:{{{Name|??}}} Fail Live.jpg|center|100px]]|[[Image: Live.jpg|center|100px]]}}
|{{#ifexist:File:{{strip|{{{1}}}}} Fail Live.jpg|[[File:{{strip|{{{1}}}}} Fail Live.jpg|center|100px]]|[[File:Live.jpg|center|100px]]}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Page Templates|Armor|Clothing|Dyeing}}
{{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>
== Syntax ==
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>
<pre>
{{Dyed Variations
{{Dyed Variations|<Item Name>}}
  |     Name =
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True


}}
{{Dyed Variations|}}
</pre>
</pre>
== Usage ==
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:
:{|
|
* <tt>Item Name Argenory Icon.png</tt>
* <tt>Item Name Berimphur Icon.png</tt>
* <tt>Item Name Colban Icon.png</tt>
* <tt>Item Name Fail Icon.png</tt>
* <tt>Item Name Hennacin Icon.png</tt>
* <tt>Item Name Lapyan Icon.png</tt>
* <tt>Item Name Minalim Icon.png</tt>
* <tt>Item Name Relanim Icon.png</tt>
* <tt>Item Name Thananim Icon.png</tt>
* <tt>Item Name Verdalim Icon.png</tt>
|width=15|
|
* <tt>Item Name Argenory Live.jpg</tt>
* <tt>Item Name Berimphur Live.jpg</tt>
* <tt>Item Name Colban Live.jpg</tt>
* <tt>Item Name Fail Live.jpg</tt>
* <tt>Item Name Hennacin Live.jpg</tt>
* <tt>Item Name Lapyan Live.jpg</tt>
* <tt>Item Name Minalim Live.jpg</tt>
* <tt>Item Name Relanim Live.jpg</tt>
* <tt>Item Name Thananim Live.jpg</tt>
* <tt>Item Name Verdalim Live.jpg</tt>
|}


=== Example ===
For example:


<pre>
<pre>
{{Dyed Variations
{{Dyed Variations|Dapper Suit}}
  |     Name = Dapper Suit
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True
}}
</pre>
</pre>


displays as:


{{Dyed Variations
{{Dyed Variations|Dapper Suit}}
  |     Name = Dapper Suit
  |    Lapyan = True
  |    Colban = True
  |    Verdalim = True
  |    Minalim = True
  |    Relanim = True
  |    Thananim = True
  |    Hennacin = True
  |    Argenory = True
  |    Berimphur = True
  |    Fail = True
}}


and:


<pre>
<pre>
{{Dyed Variations
{{Dyed Variations|Chicken Hat}}
  |     Name = Chicken Hat
  |    Hennacin = True
}}
</pre>
</pre>


displays as:


{{Dyed Variations
{{Dyed Variations|Chicken Hat}}
  |     Name = Chicken Hat
  |    Hennacin = True
}}


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 12:29, 21 May 2009

Related topics: Page Templates, Armor, Clothing, Dyeing

Syntax

{{Dyed Variations|<Item Name>}}

{{Dyed Variations|}}

Usage

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 Berimphur Icon.png
  • Item Name Colban Icon.png
  • Item Name Fail Icon.png
  • Item Name Hennacin Icon.png
  • Item Name Lapyan Icon.png
  • Item Name Minalim Icon.png
  • Item Name Relanim Icon.png
  • Item Name Thananim Icon.png
  • Item Name Verdalim Icon.png
  • Item Name Argenory Live.jpg
  • Item Name Berimphur Live.jpg
  • Item Name Colban Live.jpg
  • Item Name Fail Live.jpg
  • Item Name Hennacin Live.jpg
  • Item Name Lapyan Live.jpg
  • Item Name Minalim Live.jpg
  • Item Name Relanim Live.jpg
  • Item Name Thananim Live.jpg
  • Item Name Verdalim Live.jpg

For example:

{{Dyed Variations|Dapper Suit}}

displays as:


Dyed ??

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 ??

Lapyan
(Light Blue)

Colban
(Dark Blue)

Verdalim
(Green)

Minalim
(Mint Green)

Relanim
(Purple)

Thananim
(Black)

Hennacin
(Red)

Argenory
(White)

Berimphur
(Yellow)

Fail-Dyed