Difference between revisions of "Template:Skill Table"

From ImperianWiki
Jump to navigation Jump to search
Line 10: Line 10:


{| class="wikitable" border="0" cellpadding="1" class="toccolours"
{| class="wikitable" border="0" cellpadding="1" class="toccolours"
! style="background:#0066FF; color:#ffffff" align="left" width="80px" | '''Name'''
! style="background:#3333CC; color:#ffffff" align="left" width="80px" | '''Name'''
! style="background:#0066FF; color:#ffffff" align="left" width="80px"  | '''Rank'''
! style="background:#3333CC; color:#ffffff" align="left" width="80px"  | '''Rank'''
! style="background:#0066FF; color:#ffffff" align="left" width="80px"  | '''Percent'''
! style="background:#3333CC; color:#ffffff" align="left" width="80px"  | '''Percent'''
! style="background:#0066FF; color:#ffffff" align="left" width="80px"  | '''Description'''
! style="background:#3333CC; color:#ffffff" align="left" width="80px"  | '''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:25, 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