Difference between revisions of "Template:Profession chart/restrictions"
From Pangaea Wiki
MyraMidnight (Talk | contribs) m |
MyraMidnight (Talk | contribs) m |
||
| Line 4: | Line 4: | ||
! width="150px;" |Leather | ! width="150px;" |Leather | ||
| {{#if: {{{leather|}}} | {{#switch: {{{leather}}} | | {{#if: {{{leather|}}} | {{#switch: {{{leather}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| − | | #default = {{any|{{{leather}}}}} | + | | #default = {{any|{{{leather}}}|align=left}} |
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
|- | |- | ||
! Studded Leather | ! Studded Leather | ||
| {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}} | | {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| − | | #default = {{any|{{{leatherstud}}}}} | + | | #default = {{any|{{{leatherstud}}}|align=left}} |
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
|- | |- | ||
! Bone | ! Bone | ||
| {{#if: {{{bone|}}} | {{#switch: {{{bone}}} | | {{#if: {{{bone|}}} | {{#switch: {{{bone}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| #default = {{any|{{{bone}}}}} | | #default = {{any|{{{bone}}}}} | ||
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
| Line 22: | Line 22: | ||
! Ringmail | ! Ringmail | ||
| {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}} | | {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| − | | #default = {{any|{{{ringmail}}}}} | + | | #default = {{any|{{{ringmail}}}|align=left}} |
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
|- | |- | ||
! Chainmail | ! Chainmail | ||
| {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}} | | {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| − | | #default = {{any|{{{chainmail}}}}} | + | | #default = {{any|{{{chainmail}}}|align=left}} |
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
|- | |- | ||
! Platemail | ! Platemail | ||
| {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}} | | {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}} | ||
| − | | no = {{no}} | + | | no = {{no|align=left}} |
| − | | #default = {{any|{{{platemail}}}}} | + | | #default = {{any|{{{platemail}}}|align=left}} |
}} | {{yes|align=left}}}} | }} | {{yes|align=left}}}} | ||
|}<noinclude> | |}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 15:22, 12 August 2018
| Armor restrictions | |
|---|---|
| Leather | Yes |
| Studded Leather | Yes |
| Bone | Yes |
| Ringmail | Yes |
| Chainmail | Yes |
| Platemail | Yes |
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.