Difference between revisions of "Template:Skill Table"

From ImperianWiki
Jump to navigation Jump to search
m (Created page with '<noinclude> <div class="template-documentation"> ==Template Documentation== This template is used for listing skills in a skillset. You can see an example at the Weaponry pa…')
 
m (background colours and border)
Line 8: Line 8:


</noinclude>
</noinclude>
{| class="wikitable"
{| class="wikitable" border="1"
| '''Name'''
! style="background: #efefef;" | '''Name'''
| '''Rank'''
! style="background: #efefef;" | '''Rank'''
| '''Percent'''
! style="background: #efefef;" | '''Percent'''
| '''Description'''
! style="background: #efefef;" | '''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; }} }} }}

Revision as of 11:06, 13 November 2011

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