User:Klaxxin: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Created page with "==Ye Olde Sandbox== {{#switch:{{{type}}} | Main Hand = rowspan="4" style="text-align:right; vertical-align:top;" | Off Hand = rowspan="4" style="text-align:right; vertical-...")
 
No edit summary
Line 1: Line 1:
==Ye Olde Sandbox==
<!--
Template coding notes:
"name of page to pull data from" = {{{1}}}
"data from page" = {{:{{{1}}}|<data name>}}


{{#switch:{{{type}}}
todo - add error checking here for "<nowiki>{{{</nowiki>name}}}".
| Main Hand = rowspan="4" style="text-align:right; vertical-align:top;"
-->
| Off Hand = rowspan="4" style="text-align:right; vertical-align:top;"
 
| Helmet = rowspan="4" style="text-align:right; vertical-align:top;"
<onlyinclude><includeonly>
| Chest = rowspan="4" style="text-align:right; vertical-align:top;"
{| style="width:60%;color:white; background:#333; vertical-align:top; -moz-border-radius:0.5em;"
| Gloves = rowspan="4" style="text-align:right; vertical-align:top;"
|- style="vertical-align:top"
| Pants = rowspan="4" style="text-align:right; vertical-align:top;"
|style="text-align:left;"|{{quality|{{:{{{1}}}|quality}} |'''{{#if:{{:{{{1}}}|name}}|{{:{{{1}}}|name}}|{{{1}}}}}''' }}
| Boots = rowspan="4" style="text-align:right; vertical-align:top;"
|style="text-align:right; text-transform:uppercase; color:#4ac;"|'''{{type|{{:{{{1}}}|type}}}}'''
| Sidekicks = rowspan="4" style="text-align:right; vertical-align:top;"
|- style="vertical-align:top"
  | Trinkets = rowspan="4" style="text-align:right; vertical-align:top;"
|{{#if:{{:{{{1}}}|quality}}    |Quality: {{quality|{{:{{{1}}}|quality}}|{{ucfirst: {{:{{{1}}}|quality}} }} }}<br>
| Utilities = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|attack}}        |<span style="color:red;">Raid Attack Value: </span>{{#iferror:{{#expr:{{:{{{1}}}|attack}}+{{:{{{1}}}|defense}}/{{#ifeq:{{lc:{{:{{{1}}}|type}}}}|general|5|4}}round1}}}}<br>
| Tactics = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|attack}}    |<span style="color:yellow;">Attack:      </span>{{:{{{1}}}|attack}} {{#ifeq:{{lc:{{:{{{1}}}|type}}}}|general|(+4 at level 5)}}<br>
| Consumables = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|defense}}  |<span style="color:yellow;">Defense:      </span>{{:{{{1}}}|defense}} {{#ifeq:{{lc:{{:{{{1}}}|type}}}}|general|(+4 at level 5)}}<br>
| Ships = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|perception}}|<span style="color:yellow;">Perception:  </span>{{:{{{1}}}|perception}}<br>
| Officers = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|generals}} |<span style="color:skyblue;">{{:{{{1}}}|generals}} </span><br>
| Crew = rowspan="4" style="text-align:right; vertical-align:top;"
}}{{#if:{{:{{{1}}}|troops}}    |<span style="color:skyblue;">{{:{{{1}}}|troops}}  </span><br>
}}{{#if:{{:{{{1}}}|race}}      |<span style="color:yellow;">{{:{{{1}}}|race}}      </span><br>
}}{{#if:{{:{{{1}}}|role}}      |<span style="color:cyan;">{{:{{{1}}}|role}}        </span><br>
}}{{#if:{{:{{{1}}}|attribute}} |<span style="color:red;">{{:{{{1}}}|attribute}}    </span><br>
}}{{#if:{{:{{{1}}}|ability}}  |<span style="color:#E55B0A;">{{:{{{1}}}|ability}}  </span><br>
}}{{#if:{{:{{{1}}}|powerbonus}}  |<span style="color:#E55B0A;">Power Bonus: {{:{{{1}}}|powerbonus}}  </span><br>
}}
}}
|style="text-align:right; vertical-align:top;"|
{{#if:{{:{{{1}}}|image}}|{{image|{{:{{{1}}}|image}}|{{:{{{1}}}|image}}}}
|{{image|{{{1}}}.png|{{{1}}}}} }}
|-
{{#if:{{:{{{1}}}|text}}|
{{!}}colspan=2{{!}}<span style="font-style: italic;">{{:{{{1}}}|text}}</span>}}
|-
{{#if:{{:{{{1}}}|obtained}} |{{!}}colspan=2{{!}}'''Obtained By:''' {{:{{{1}}}|obtained}}}}
|-
{{#if:{{:{{{1}}}|info}}  |{{!}}colspan=2{{!}}'''Additional Info:''' {{:{{{1}}}|info}}}}
|-
{{#if:{{:{{{1}}}|reference}} |{{!}}colspan=2{{!}}'''Reference:''' {{:{{{1}}}|reference}}}}
|-
{{#if:{{:{{{1}}}|set}}  |{{!}}colspan=2{{!}}'''Part of [[{{:{{{1}}}|set}}]]'''<br>}}
|}
</includeonly>

Revision as of 14:19, 8 August 2012