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.)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:


</noinclude>
</noinclude>
{| 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}}} | &nbsp; }}|{{ #ifeq: {{{2|+}}} | {{{2|-}}} | {{{2}}} | &nbsp; }}|{{ #ifeq: {{{3|+}}} | {{{3|-}}} | {{{3}}} | &nbsp; }}|{{ #ifeq: {{{4|+}}} | {{{4|-}}} | {{{4}}} | &nbsp; }} }} }}
{{ #if: {{{1|}}} | {{Skill Table Newrow|{{ #ifeq: {{{1|+}}} | {{{1|-}}} | {{{1}}} | &nbsp; }}|{{ #ifeq: {{{2|+}}} | {{{2|-}}} | {{{2}}} | &nbsp; }}|{{ #ifeq: {{{3|+}}} | {{{3|-}}} | {{{3}}} | &nbsp; }}|{{ #ifeq: {{{4|+}}} | {{{4|-}}} | {{{4}}} | &nbsp; }} }} }}

Latest revision as of 03:17, 21 October 2017

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