m (→Code for) |
mNo edit summary |
||
Line 1: | Line 1: | ||
Welcome to the Sanddhbox :)<br> | |||
Feel free to leave comments/suggestions in the discussion page. | |||
== Dyeing Template == | |||
== To be achieved Code/Template? == | === To be achieved Code/Template? === | ||
The PAGENAME-thingie works, but the code is ugly as hell. Would be nicer to have a "smooth" template, where one would only have to fill in one parameter (i.e. "Name"), and it would nicely display all the variations and options. | The PAGENAME-thingie works, but the code is ugly as hell. Would be nicer to have a "smooth" template, where one would only have to fill in one parameter (i.e. "Name"), and it would nicely display all the variations and options. | ||
Line 108: | Line 77: | ||
| Name = Dapper Suit | | Name = Dapper Suit | ||
}} | }} | ||
=== Old === | |||
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#404040 align=center | |||
|colspan=5 align=center|<font color=white><big>''' Dyed {{PAGENAME}} ''' </big></font> | |||
|- | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Light Blue Icon.png]]<br> Lapyan <br> (Light Blue) </font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Dark Blue Icon.png]]<br> Colban <br> (Dark Blue) </font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Green Icon.png]]<br> Verdalim <br> (Green)</font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Mint Green Icon.png]]<br> Minalim <br> (Mint Green)</font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Purple Icon.png]]<br> Relanim <br> (Purple) </font> | |||
|- | |||
| [[Image:{{PAGENAME}} Light Blue Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Dark Blue Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Green Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Mint Green Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Purple Live.jpg|center|100px]] | |||
|- | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Black Icon.png]]<br> Thananim <br> (Black)</font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Red Icon.png]]<br> Hennacin <br> (Red) </font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} White Icon.png]]<br> Argenory <br> (White) </font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Yellow Icon.png]]<br> Berimphur <br> (Yellow)</font> | |||
|align=center|<font color=white>[[Image:{{PAGENAME}} Fail Icon.png]]<br> Fail-Dyed</font> | |||
|- | |||
| [[Image:{{PAGENAME}} Black Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Red Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} White Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Yellow Live.jpg|center|100px]] | |||
| [[Image:{{PAGENAME}} Fail Live.jpg|center|100px]] | |||
|} | |||
==== Test ==== | |||
See [[Dapper Suit]] |
Revision as of 20:26, 9 March 2009
Welcome to the Sanddhbox :)
Feel free to leave comments/suggestions in the discussion page.
Dyeing Template
To be achieved Code/Template?
The PAGENAME-thingie works, but the code is ugly as hell. Would be nicer to have a "smooth" template, where one would only have to fill in one parameter (i.e. "Name"), and it would nicely display all the variations and options.
- Possible to use only one parameter (Name) instead of the Pagename-template? Also for icons/live images.
- Options to include/exclude dyed/non-dyed variations available (with ifeq: True/False)? Is this possible when using only one parameter? Or would for every color a separate parameter be defined?
- "Smooth" Template code to be achieved (if possible):
{{Dyed Variations | Name = | Lapyan = True | Colban = True | Verdalim = True | Minalim = True | Relanim = True | Thananim = True | Hennacin = True | Argenory = True | Berimphur = True | Fail = True }}
Code for
{{Dyed Variations | Name = }}
Dyed ?? | ||||
File:?? Light Blue Icon.png Lapyan (Light Blue) |
File:?? Dark Blue Icon.png Colban (Dark Blue) |
File:?? Green Icon.png Verdalim (Green) |
File:?? Mint Green Icon.png Minalim (Mint Green) |
File:?? Purple Icon.png Relanim (Purple) |
File:?? Black Icon.png Thananim (Black) |
File:?? Red Icon.png Hennacin (Red) |
File:?? White Icon.png Argenory (White) |
File:?? Yellow Icon.png Berimphur (Yellow) |
File:?? Fail Icon.png Fail-Dyed |
Example
{{Dyed Variations | Name = Dapper Suit }}
Dyed {{{1}}} | ||||
---|---|---|---|---|
Lapyan (Light Blue) |
Colban (Dark Blue) |
Verdalim (Green) |
Minalim (Mint Green) |
Relanim (Purple) |
Thananim (Black) |
Hennacin (Red) |
Argenory (White) |
Berimphur (Yellow) |
Fail-Dyed |
Old
Dyed Sanddh/Sandbox | ||||
File:Sanddh/Sandbox Light Blue Icon.png Lapyan (Light Blue) |
File:Sanddh/Sandbox Dark Blue Icon.png Colban (Dark Blue) |
File:Sanddh/Sandbox Green Icon.png Verdalim (Green) |
File:Sanddh/Sandbox Mint Green Icon.png Minalim (Mint Green) |
File:Sanddh/Sandbox Purple Icon.png Relanim (Purple) |
File:Sanddh/Sandbox Black Icon.png Thananim (Black) |
File:Sanddh/Sandbox Red Icon.png Hennacin (Red) |
File:Sanddh/Sandbox White Icon.png Argenory (White) |
File:Sanddh/Sandbox Yellow Icon.png Berimphur (Yellow) |
File:Sanddh/Sandbox Fail Icon.png Fail-Dyed |
Test
See Dapper Suit