Difference between revisions of "Template:Profession chart/restrictions/doc"
From Pangaea Wiki
MyraMidnight (Talk | contribs) |
MyraMidnight (Talk | contribs) m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{documentation subpage}} | ||
This template easily displays the different armor restrictions each profession might have. | This template easily displays the different armor restrictions each profession might have. | ||
===parameters=== | ===parameters=== | ||
Line 8: | Line 9: | ||
*<code>| chainmail =</code> | *<code>| chainmail =</code> | ||
*<code>| platemail =</code> | *<code>| platemail =</code> | ||
− | + | ||
− | + | {|class=wikitable | |
− | + | !write ||accepted in parameters || results | |
− | + | |- | |
+ | |<code></code> | ||
+ | |all || {{yes|No restrictions|align=left}} | ||
+ | |- | ||
+ | |<code>no</code> | ||
+ | |all || {{no|Cannot use this armor|align=left}} | ||
+ | |- | ||
+ | |<code>meditation</code> | ||
+ | |<code>ringmail</code>, <code>chainmail</code> ||{{yes|Spellcasting/Musicianship is restricted by meditation|align=left}} | ||
+ | |- | ||
+ | |<code>nochest</code> | ||
+ | |<code>platemail</code> || {{yes|All '''exept''' the chest piece|align=left}} | ||
+ | |- | ||
+ | |anything else | ||
+ | |all ||{{any|whatever you wrote|align=left}} | ||
+ | |} | ||
+ | :If you leave the parameter empty or simply omit it completely, then it will default as "no restrictions". | ||
===Example=== | ===Example=== | ||
<pre>{{Profession chart/restrictions | <pre>{{Profession chart/restrictions | ||
| prof=ballerina | | prof=ballerina | ||
| leather=sometimes | | leather=sometimes | ||
− | | chainmail= | + | | chainmail=meditation |
− | | platemail= | + | | platemail=no |
}}</pre> | }}</pre> | ||
− | {{Profession chart/restrictions|leather=sometimes|chainmail= | + | {{Profession chart/restrictions|leather=sometimes|chainmail=meditation |platemail=no| prof=ballerina}} |
+ | |||
+ | |||
+ | == See also == | ||
+ | :{{tl|Profession chart}} | ||
+ | :{{tl|Profession chart/requirements}} | ||
+ | :{{tl|Profession chart/statcaps}} | ||
+ | |||
+ | <includeonly>[[category:template-forms]]</includeonly> |
Latest revision as of 13:24, 13 August 2018
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