Difference between revisions of "Template:HueInfo"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
{{#vardefine: hue | {{#replace:{{PAGENAME}}|Hue |}}}}<nowiki> | {{#vardefine: hue | {{#replace:{{PAGENAME}}|Hue |}}}}<nowiki> | ||
− | </nowiki><!-- GET OFFICIAL NAME(S) -- | + | </nowiki><!-- GET OFFICIAL NAME(S) -->{{#vardefine: officialName | {{#switch: {{#var:hue}} |
| 0 = Default<br/>Plain | | 0 = Default<br/>Plain | ||
| 1 = Black | | 1 = Black | ||
Line 127: | Line 127: | ||
| #default = none | | #default = none | ||
}} }}<nowiki> | }} }}<nowiki> | ||
− | </nowiki><!-- GET UNOFFICIALS NAME(S) -- | + | </nowiki><!-- GET UNOFFICIALS NAME(S) -->{{#vardefine: unofficialName | {{#switch: {{#var:hue}} |
| 1 = Jet Black<br/>True Black | | 1 = Jet Black<br/>True Black | ||
| 11 = Sigil | | 11 = Sigil | ||
Line 230: | Line 230: | ||
| #default = none | | #default = none | ||
}} }}<nowiki> | }} }}<nowiki> | ||
− | </nowiki><!-- GET INTERNAL NAME -- | + | </nowiki><!-- GET INTERNAL NAME -->{{#vardefine: intName | none}}<nowiki> |
</nowiki>{{#ifeq: {{RangeCheck|{{#var:hue}} | 1002 | 1058 }} | 1 | {{#vardefine: intName | SkinHue #{{#expr: {{#var:hue}} - 1001 }} }} }}<nowiki> | </nowiki>{{#ifeq: {{RangeCheck|{{#var:hue}} | 1002 | 1058 }} | 1 | {{#vardefine: intName | SkinHue #{{#expr: {{#var:hue}} - 1001 }} }} }}<nowiki> | ||
</nowiki>{{#ifeq: {{RangeCheck|{{#var:hue}} | 1102 | 1149 }} | 1 | {{#vardefine: intName | HairHue #{{#expr: {{#var:hue}} - 1101 }} }} }}<nowiki> | </nowiki>{{#ifeq: {{RangeCheck|{{#var:hue}} | 1102 | 1149 }} | 1 | {{#vardefine: intName | HairHue #{{#expr: {{#var:hue}} - 1101 }} }} }}<nowiki> | ||
Line 531: | Line 531: | ||
| #default = none | | #default = none | ||
}} }} }}<nowiki> | }} }} }}<nowiki> | ||
− | </nowiki><!-- GET DYE TUB NAME(S) -- | + | </nowiki><!-- GET DYE TUB NAME(S) -->{{#vardefine: dyeTub | none}}<nowiki> |
</nowiki>{{#ifeq: {{#var:hue}} | 0 | {{#vardefine: dyeTub | NPC-purchased [[UO:Dye Tub]]<br/>[[UO:Furniture Dye Tub]] }} }}<nowiki> | </nowiki>{{#ifeq: {{#var:hue}} | 0 | {{#vardefine: dyeTub | NPC-purchased [[UO:Dye Tub]]<br/>[[UO:Furniture Dye Tub]] }} }}<nowiki> | ||
</nowiki>{{#ifeq: {{#var:hue}} | 1 | {{#vardefine: dyeTub | [[UO:Black Dye Tub]] }} }}<nowiki> | </nowiki>{{#ifeq: {{#var:hue}} | 1 | {{#vardefine: dyeTub | [[UO:Black Dye Tub]] }} }}<nowiki> |
Revision as of 02:27, 11 June 2016
none
none
none
none