Difference between revisions of "Template:Skill Table"

From ImperianWiki
Jump to navigation Jump to search
(Changed the widths to percent, because the huge blank space on the right side on some skills makes me nitpicky.)
Line 11: Line 11:
{| class="wikitable" border="0" cellpadding="1" class="toccolours"
{| class="wikitable" border="0" cellpadding="1" class="toccolours"
! style="background:#3333CC; color:#ffffff" align="left" width="20%" | '''Name'''
! style="background:#3333CC; color:#ffffff" align="left" width="20%" | '''Name'''
! style="background:#3333CC; color:#ffffff" align="left" width="10%"  | '''Rank'''
! style="background:#3333CC; color:#ffffff" align="left" width="15%"  | '''Rank'''
! style="background:#3333CC; color:#ffffff" align="left" width="5%"  | '''Percent'''
! style="background:#3333CC; color:#ffffff" align="left" width="5%"  | '''Percent'''
! style="background:#3333CC; color:#ffffff" align="left" width="65%"  | '''Description'''
! style="background:#3333CC; color:#ffffff" align="left" width="60%"  | '''Description'''
|-
|-
{{ #if: {{{1|}}} | {{Skill Table Newrow|{{ #ifeq: {{{1|+}}} | {{{1|-}}} | {{{1}}} |   }}|{{ #ifeq: {{{2|+}}} | {{{2|-}}} | {{{2}}} |   }}|{{ #ifeq: {{{3|+}}} | {{{3|-}}} | {{{3}}} |   }}|{{ #ifeq: {{{4|+}}} | {{{4|-}}} | {{{4}}} |   }} }} }}
{{ #if: {{{1|}}} | {{Skill Table Newrow|{{ #ifeq: {{{1|+}}} | {{{1|-}}} | {{{1}}} |   }}|{{ #ifeq: {{{2|+}}} | {{{2|-}}} | {{{2}}} |   }}|{{ #ifeq: {{{3|+}}} | {{{3|-}}} | {{{3}}} |   }}|{{ #ifeq: {{{4|+}}} | {{{4|-}}} | {{{4}}} |   }} }} }}

Revision as of 16:34, 23 March 2014

Template Documentation

This template is used for listing skills in a skillset. You can see an example at the Weaponry page. It's currently limited to 70 skills in the table, but more can be easily added later if needed. It uses a second template, Template:Skill Table Newrow to display the actual parameters passed.



Name Rank Percent Description