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

From Pangaea Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
+
This template easily displays the different armor restrictions each profession might have.
<pre>{{Profession chart/restrictions|leather=sometimes|chainmail=no|platemail=meditation}}</pre>
+
===parameters===
 +
*<code>| leather =</code>
 +
*<code>| leatherstud =</code>
 +
*<code>| bone =</code>
 +
*<code>| ringmail =</code>
 +
*<code>| chainmail =</code>
 +
*<code>| platemail =</code>
 +
Each of these 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''
 +
:<code>meditation</code> (case sensitive) = ''Spellcasting/Musicianship is restricted by meditation''
 +
:<code>any text</code> write whatever the conditions are, the text will appear as written.
 +
===Example===
 +
<pre>{{Profession chart/restrictions
 +
| leather=sometimes
 +
| chainmail=no
 +
| platemail=meditation
 +
}}</pre>
 
{{Profession chart/restrictions|leather=sometimes|chainmail=no|platemail=meditation}}
 
{{Profession chart/restrictions|leather=sometimes|chainmail=no|platemail=meditation}}

Revision as of 08:56, 13 August 2018

This template easily displays the different armor restrictions each profession might have.

parameters

  • | leather =
  • | leatherstud =
  • | bone =
  • | ringmail =
  • | chainmail =
  • | platemail =

Each of these 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.

no (case sensitive) = Cannot use this armor
meditation (case sensitive) = Spellcasting/Musicianship is restricted by meditation
any text write whatever the conditions are, the text will appear as written.

Example

{{Profession chart/restrictions
 | leather=sometimes
 | chainmail=no
 | platemail=meditation
}}
Armor restrictions for {{{prof}}}
Leather sometimes
Studded Leather No restrictions
Bone No restrictions
Ringmail No restrictions
Chainmail Cannot use chainmail armor
Platemail meditation