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

From Pangaea Wiki
Jump to: navigation, search
Line 8: Line 8:
 
*<code>| chainmail =</code>
 
*<code>| chainmail =</code>
 
*<code>| platemail =</code>
 
*<code>| platemail =</code>
Each of these armor parameters can take in the same orders. If you omit the parameter, then the default is "''No restrictions''". So only include parameters for armors that have some restrictions.
+
 
:<code>no</code> (case sensitive) = ''Cannot use this armor''
+
{|class=wikitable
:<code>meditation</code> (case sensitive) = ''Spellcasting/Musicianship is restricted by meditation''
+
!write ||accepted in parameters || results
:<code>any text</code> write whatever the conditions are, the text will appear as written.
+
|-
 +
|<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

Revision as of 09:45, 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=no
 | platemail=meditation
}}
Armor restrictions for ballerina
Leather sometimes
Studded Leather No restrictions
Bone No restrictions
Ringmail No restrictions
Chainmail Cannot use chainmail armor
Platemail meditation