Difference between revisions of "Template:Skill detail"

added 'unique' tag to color the skill differently when the ability is shared, but the skill is unique to one class
(added 'unique' tag to color the skill differently when the ability is shared, but the skill is unique to one class)
Line 1: Line 1:
{| cellpadding=2 cellspacing=0 style="border:1px solid black;border-collapse:collapse;font-size:12px;margin-bottom:2px" width="100%"
{| cellpadding=2 cellspacing=0 style="border:1px solid black;border-collapse:collapse;font-size:12px;margin-bottom:2px" width="100%"
| bgcolor=#999999 style="text-align:center;font-weight:bold;font-size:14px;width:150px;border:1px solid black;" | {{{skill}}}
| {{#if: {{{unique|}}} | bgcolor=#536878| bgcolor=#999999}} style="text-align:center;font-weight:bold;font-size:14px;width:150px;border:1px solid black;" | {{{skill}}}
| bgcolor=#999999 style="text-align:left;font-size:14px;border:1px solid black;" | {{{description}}}
| {{#if: {{{unique|}}} | bgcolor=#536878| bgcolor=#999999}} style="text-align:left;font-size:14px;border:1px solid black;" | {{{description}}}
{{#if:{{{lessons}}}|
{{#if:{{{lessons}}}|
{{!}} bgcolor=#999999 style="text-align:center;width:100px;border:1px solid black;" {{!}} '''Lessons:''' {{{lessons}}}
{{!}} {{#if: {{{unique|}}} | bgcolor=#536878| bgcolor=#999999}}  style="text-align:center;width:100px;border:1px solid black;" {{!}} '''Lessons:''' {{{lessons}}}
|}}
|}}
|-
|-
| bgcolor=#c9c9c9 style="text-align:right;vertical-align:top;font-weight:bold" | Syntax:
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} style="text-align:right;vertical-align:top;font-weight:bold" | Syntax:
| bgcolor=#c9c9c9 colspan="2" style="text-align:left; " | {{{syntax}}}
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} colspan="2" style="text-align:left; " | {{{syntax}}}
|- {{#if: {{{required}}} | | style="display: none;" }}
|- {{#if: {{{required}}} | | style="display: none;" }}
| bgcolor=#c9c9c9 style="text-align:right;vertical-align:top;font-weight:bold" | Required:
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} style="text-align:right;vertical-align:top;font-weight:bold" | Required:
| bgcolor=#c9c9c9 colspan="2" style="text-align:left;" | {{{required}}}
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} colspan="2" style="text-align:left;" | {{{required}}}
|- {{#if: {{{target}}} | | style="display: none;" }}
|- {{#if: {{{target}}} | | style="display: none;" }}
| bgcolor=#c9c9c9 style="text-align:right;vertical-align:top;font-weight:bold" | Works against:
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} style="text-align:right;vertical-align:top;font-weight:bold" | Works against:
| bgcolor=#c9c9c9 colspan="2" style="text-align:left;" | {{{target}}}
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} colspan="2" style="text-align:left;" | {{{target}}}
|- {{#if: {{{cooldown}}} | | style="display: none;" }}
|- {{#if: {{{cooldown}}} | | style="display: none;" }}
| bgcolor=#c9c9c9 style="text-align:right;vertical-align:top;font-weight:bold" | Cooldown:
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} style="text-align:right;vertical-align:top;font-weight:bold" | Cooldown:
| bgcolor=#c9c9c9 colspan="2" style="text-align:left;" | {{{cooldown}}}
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} colspan="2" style="text-align:left;" | {{{cooldown}}}
|-
|-
| bgcolor=#c9c9c9 style="text-align:right;vertical-align:top;font-weight:bold" | Details:
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} style="text-align:right;vertical-align:top;font-weight:bold" | Details:
| bgcolor=#c9c9c9 colspan="2" style="text-align:left; " | {{{detail}}}
| {{#if: {{{unique|}}} | bgcolor=#708090| bgcolor=#999999}} colspan="2" style="text-align:left; " | {{{detail}}}
|}
|}
784

edits