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

From Pangaea Wiki
Jump to: navigation, search
Line 1: Line 1:
 
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===
 +
*<code>| prof =</code> name of profession that these restrictions apply to
 
*<code>| leather =</code>
 
*<code>| leather =</code>
 
*<code>| leatherstud =</code>
 
*<code>| leatherstud =</code>
Line 7: Line 8:
 
*<code>| chainmail =</code>
 
*<code>| chainmail =</code>
 
*<code>| platemail =</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.
+
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''
 
:<code>no</code> (case sensitive) = ''Cannot use this armor''
 
:<code>meditation</code> (case sensitive) = ''Spellcasting/Musicianship is restricted by meditation''
 
:<code>meditation</code> (case sensitive) = ''Spellcasting/Musicianship is restricted by meditation''
Line 13: Line 14:
 
===Example===
 
===Example===
 
<pre>{{Profession chart/restrictions
 
<pre>{{Profession chart/restrictions
 +
| prof=ballerina
 
  | leather=sometimes
 
  | leather=sometimes
 
  | chainmail=no
 
  | chainmail=no
 
  | platemail=meditation
 
  | platemail=meditation
 
}}</pre>
 
}}</pre>
{{Profession chart/restrictions|leather=sometimes|chainmail=no|platemail=meditation}}
+
{{Profession chart/restrictions|leather=sometimes|chainmail=no|platemail=meditation | prof=ballerina}}

Revision as of 08:59, 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 =

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.

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
 | 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