Difference between revisions of "Template:Profession chart/restrictions/doc"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (Created page with " <pre>{{Profession chart/restrictions|leather=sometimes|chainmail=no}}</pre> {{Profession chart/restrictions|leather=sometimes|chainmail=no}}") |
MyraMidnight (Talk | contribs) m |
||
(7 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. | ||
+ | ===parameters=== | ||
+ | *<code>| prof =</code> name of profession that these restrictions apply to | ||
+ | *<code>| leather =</code> | ||
+ | *<code>| leatherstud =</code> | ||
+ | *<code>| bone =</code> | ||
+ | *<code>| ringmail =</code> | ||
+ | *<code>| chainmail =</code> | ||
+ | *<code>| platemail =</code> | ||
− | <pre>{{Profession chart/restrictions|leather=sometimes|chainmail=no}}</pre> | + | {|class=wikitable |
− | {{Profession chart/restrictions|leather=sometimes|chainmail=no}} | + | !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=== | ||
+ | <pre>{{Profession chart/restrictions | ||
+ | | prof=ballerina | ||
+ | | leather=sometimes | ||
+ | | chainmail=meditation | ||
+ | | platemail=no | ||
+ | }}</pre> | ||
+ | {{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