Difference between revisions of "Template:Profession chart"

From Pangaea Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{#if: {{{requirements|}}} | </includeonly>
+
{{Profession chart/requirements
{| border="0" cellpadding="1" cellspacing="1" class="wikitable" style="width: 600px;margin:auto"
+
| prof =
|-
+
| str = {{{reqstrength}}}
! colspan="4" scope="col" style="text-align: center;"|
+
| dex = {{reqdexterity}}}
[[{{{prof|Profession}}}]] Requirements
+
| int = {{{reqintelligence}}}
|-
+
| reqskill = {{{reqskill}}}
!colspan="4" style="text-align: center;"|'''Stats'''
+
| anyskill = {{{anyskill|}}}
|-
+
}}
| style="text-align: center;"|'''Strength'''
+
{{Profession chart/statcaps
| style="text-align: center;"|'''Dexterity'''
+
| str = {{{capstrength}}}
| style="text-align: center;"|'''Intelligence'''
+
| dex = {{{capdexterity}}}
|-
+
| int = {{{capintelligence}}}
| style="text-align: center;"|{{{reqstrength}}}
+
| combined = {{{capcombined}}}
| style="text-align: center;"|{{{reqdexterity}}}
+
| primary = {{{primary}}}
| style="text-align: center;"|{{{reqintelligence}}}
+
| secondary = {{{secondary}}}
|-
+
| tertiary = {{{tertiary}}}
! colspan="4" style="text-align: center;"|'''Skills'''
+
| penalty = {{{penalty}}}
|-
+
}}
| colspan="2" rowspan="1" style="text-align: center;"|'''Required'''
+
{{Profession chart/restrictions
| colspan="2" rowspan="1" style="text-align: center;"|'''and any ONE of the following'''
+
| leather =
|-
+
| leatherstud =
| colspan="2" rowspan="1"|
+
| bone =
{{{reqskill}}}
+
| ringmail =
| colspan="2" rowspan="1"|
+
| chainmail =
{{{anyskill|}}}
+
| platemail =
|}
+
}}
<includeonly>}}
+
{{#if: {{{statcaps|}}} | </includeonly>
+
{| border="0" cellpadding="1" cellspacing="1" class="wikitable" style="width: 600px;margin:auto"
+
!colspan="4" style="text-align: center;"|'''Class Statcap'''
+
|-
+
| style="text-align: center;"|'''Strength'''
+
| style="text-align: center;"|'''Dexterity'''
+
| style="text-align: center;"|'''Intelligence'''
+
| style="text-align: center;"|'''Combined Statcap'''
+
|-
+
| style="text-align: center;"|{{{capstrength}}}
+
| style="text-align: center;"|{{{capdexterity}}}
+
| style="text-align: center;"|{{{capintelligence}}}
+
| style="text-align: center;"|{{{capcombined}}}
+
|-
+
!colspan="4" style="text-align: center;"|'''Skills'''
+
|-
+
| style="text-align: center;"|'''Primary (100%)'''
+
| style="text-align: center;"|'''Secondary (85%)'''
+
| style="text-align: center;"|'''Tertiary (65%)'''
+
| style="text-align: center;"|'''Penalty (40%)'''
+
|-
+
|
+
{{{primary}}}
+
|
+
{{{secondary}}}
+
|
+
{{{tertiary}}}
+
|
+
{{{penalty}}}
+
|-
+
|}
+
<includeonly>}}
+
 
+
{{#if: {{{requirements|}}} | </includeonly>
+
{| border="0" cellpadding="1" cellspacing="1" class="wikitable" style="width: 600px;margin:auto"
+
!Armor restrictions
+
|-
+
| {{{armor}}}
+
|}
+
<includeonly>}}</includeonly>
+
 
<noinclude>
 
<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 11:48, 11 August 2018

Requirements
Stats
Strength Dexterity Intelligence
{{{reqstrength}}} Template:Reqdexterity} {{{reqintelligence}}}
Required Skills
Required and any ONE of the following

{{{reqskill}}}

Class Statcap
Strength Dexterity Intelligence Combined Statcap
{{{capstrength}}} {{{capdexterity}}} {{{capintelligence}}} {{{capcombined}}}
Available Skills
Primary (100%) Secondary (85%) Tertiary (65%) Penalty (40%)

{{{primary}}}

{{{secondary}}}

{{{tertiary}}}

{{{penalty}}}

Armor restrictions for {{{prof}}}
Leather No restrictions
Studded Leather No restrictions
Bone No restrictions
Ringmail No restrictions
Chainmail No restrictions
Platemail No restrictions
Documentation icon Template documentation ( view · talk · edit)

This template simply combines the {{Profession chart/requirements}} and {{Profession chart/statcaps}} templates together so it can be filled out as a single template.

usage

You need to specify each table for it to display: for eample if you do not want to show the "restrictions" table, then simply exclude the restrictions=yes parameter.

parameters

  • prof= name of profession
    reqstrength=
    reqdexterity=
    reqintelligence=
    reqskill= list of required skills
    anyskill= list of any skills
    capstrength=
    capdexterity=
    capintelligence=
    capCombined=
    primary= list of primary skills
    secondary= list of secondary skills
    tertiary= list of tertiary skills
    penalty= list of penalty skills
{{profession chart
 | prof = 
 | reqstrength = 
 | reqdexterity = 
 | reqintelligence = 
 | reqskill = <!--  Required Skills list -->
 | anyskill = <!--  Any Skills list -->
 | capstrength = 
 | capdexterity = 
 | capintelligence = 
 | capcombined = 
 | primary = <!--  Primary Skills list -->
 | secondary = <!-- Secondary Skills list -->
 | tertiary = <!-- Tertiary Skills list -->
 | penalty = <!-- Penalty Skills list -->
}}

See also

{{Profession chart/requirements}}
{{Profession chart/statcaps}}
{{Profession chart/restrictions}}
The above documentation is transcluded from Template:Profession chart/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly> tags.