Difference between revisions of "Template:Profession chart/restrictions"

From Pangaea Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{| border="0" cellpadding="1" cellspacing="1" class="wikitable" style="width: 600px;margin:auto"
 
{| border="0" cellpadding="1" cellspacing="1" class="wikitable" style="width: 600px;margin:auto"
!Armor restrictions
+
!colspan=2|Armor restrictions
 
|-
 
|-
| {{{leather}}}
+
! width=100px; |Leather
 +
| {{#if: {{{leather|}}} | {{#switch: {{{leather}}}
 +
| no = {{no}}
 +
| #default = {{any|{{{leather}}}}}
 +
}} | {{yes|align=left}}}}
 
|-
 
|-
| {{{leatherstud}}}
+
! Studded Leather
 +
| {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}}
 +
| no = {{no}}
 +
| #default = {{any|{{{leatherstud}}}}}
 +
}} | {{yes|align=left}}}}
 
|-
 
|-
| {{{bone}}}
+
! Bone
 +
| {{#if: {{{bone|}}} | {{#switch: {{{bone}}}
 +
| no = {{no}}
 +
| #default = {{any|{{{bone}}}}}
 +
}} | {{yes|align=left}}}}
 
|-
 
|-
| {{{ringmail}}}
+
! Ringmail
 +
| {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}}
 +
| no = {{no}}
 +
| #default = {{any|{{{ringmail}}}}}
 +
}} | {{yes|align=left}}}}
 
|-
 
|-
| {{{chainmail}}}
+
! Chainmail
|-
+
| {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}}
| {{{platemail}}}
+
| no = {{no}}
 +
| #default = {{any|{{{chainmail}}}}}
 +
}} | {{yes|align=left}}}}
 
|-
 
|-
 +
! Platemail
 +
| {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}}
 +
| no = {{no}}
 +
| #default = {{any|{{{platemail}}}}}
 +
}} | {{yes|align=left}}}}
 
|}<noinclude>
 
|}<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 15:00, 12 August 2018

Armor restrictions
Leather Yes
Studded Leather Yes
Bone Yes
Ringmail Yes
Chainmail Yes
Platemail Yes
Documentation icon Template documentation ( view · talk · edit)

This template easily displays the different armor restrictions each profession might have.

parameters

  • | prof = name of profession that these restrictions apply to
  • | leather =
  • | leatherstud =
  • | bone =
  • | ringmail =
  • | chainmail =
  • | platemail =
write accepted in parameters results
all No restrictions
no all Cannot use this armor
meditation ringmail, chainmail Spellcasting/Musicianship is restricted by meditation
nochest platemail All exept the chest piece
anything else all whatever you wrote
If you leave the parameter empty or simply omit it completely, then it will default as "no restrictions".

Example

{{Profession chart/restrictions
 | prof=ballerina
 | leather=sometimes
 | chainmail=meditation 
 | platemail=no
}}
Armor restrictions for ballerina
Leather sometimes
Studded Leather No restrictions
Bone No restrictions
Ringmail No restrictions
Chainmail Spellcasting/Musicianship is restricted by meditation
Platemail Cannot use platemail armor


See also

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