Difference between revisions of "Template:Profession chart/restrictions"
From Pangaea Wiki
MyraMidnight (Talk | contribs) m |
MyraMidnight (Talk | contribs) m |
||
(9 intermediate revisions by the same user not shown) | |||
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 for {{{prof}}} |
|- | |- | ||
− | | {{{leather}}} | + | ! width="150px;" |Leather |
+ | | {{#if: {{{leather|}}} | {{#switch: {{{leather}}} | ||
+ | | no = {{no|Cannot use leather armor|align=left}} | ||
+ | | #default = {{any|{{{leather}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|- | |- | ||
− | | {{{leatherstud}}} | + | ! Studded Leather |
+ | | {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}} | ||
+ | | no = {{no|Cannot use studded leather armor|align=left}} | ||
+ | | #default = {{any|{{{leatherstud}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|- | |- | ||
− | | {{{bone}}} | + | ! Bone |
+ | | {{#if: {{{bone|}}} | {{#switch: {{{bone}}} | ||
+ | | no = {{no|Cannot use bone armor|align=left}} | ||
+ | | #default = {{any|{{{bone}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|- | |- | ||
− | | {{{ringmail}}} | + | ! Ringmail |
+ | | {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}} | ||
+ | | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}} | ||
+ | | no = {{no|Cannot use ringmail armor|align=left}} | ||
+ | | #default = {{any|{{{ringmail}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|- | |- | ||
− | | {{{chainmail}}} | + | ! Chainmail |
− | | | + | | {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}} |
− | | {{{ | + | | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}} |
+ | | no = {{no|Cannot use chainmail armor|align=left}} | ||
+ | | #default = {{any|{{{chainmail}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|- | |- | ||
+ | ! Platemail | ||
+ | | {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}} | ||
+ | | nochest = {{yes|All '''exept''' the chest piece|align=left}} | ||
+ | | no = {{no|Cannot use platemail armor|align=left}} | ||
+ | | #default = {{any|{{{platemail}}}|align=left}} | ||
+ | }} | {{yes|No restrictions|align=left}}}} | ||
|}<noinclude> | |}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 09:46, 13 August 2018
Armor restrictions for {{{prof}}} | |
---|---|
Leather | No restrictions |
Studded Leather | No restrictions |
Bone | No restrictions |
Ringmail | No restrictions |
Chainmail | No restrictions |
Platemail | No restrictions |
Template documentation (
)
)
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
- 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.