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

From Pangaea Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
! width="150px;" |Leather
 
! width="150px;" |Leather
 
| {{#if: {{{leather|}}} | {{#switch: {{{leather}}}
 
| {{#if: {{{leather|}}} | {{#switch: {{{leather}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use leather armor|align=left}}
 
  | no = {{no|Cannot use leather armor|align=left}}
 
  | #default = {{any|{{{leather}}}|align=left}}
 
  | #default = {{any|{{{leather}}}|align=left}}
Line 11: Line 11:
 
! Studded Leather
 
! Studded Leather
 
| {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}}
 
| {{#if: {{{leatherstud|}}} | {{#switch: {{{leatherstud}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use studded leather armor|align=left}}
 
  | no = {{no|Cannot use studded leather armor|align=left}}
 
  | #default = {{any|{{{leatherstud}}}|align=left}}
 
  | #default = {{any|{{{leatherstud}}}|align=left}}
Line 18: Line 18:
 
! Bone
 
! Bone
 
| {{#if: {{{bone|}}} | {{#switch: {{{bone}}}
 
| {{#if: {{{bone|}}} | {{#switch: {{{bone}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use bone armor|align=left}}
 
  | no = {{no|Cannot use bone armor|align=left}}
 
  | #default = {{any|{{{bone}}}}}
 
  | #default = {{any|{{{bone}}}}}
Line 25: Line 25:
 
! Ringmail
 
! Ringmail
 
| {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}}
 
| {{#if: {{{ringmail|}}} | {{#switch: {{{ringmail}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use ringmail armor|align=left}}
 
  | no = {{no|Cannot use ringmail armor|align=left}}
 
  | #default = {{any|{{{ringmail}}}|align=left}}
 
  | #default = {{any|{{{ringmail}}}|align=left}}
Line 32: Line 32:
 
! Chainmail
 
! Chainmail
 
| {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}}
 
| {{#if: {{{chainmail|}}} | {{#switch: {{{chainmail}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use chainmail armor|align=left}}
 
  | no = {{no|Cannot use chainmail armor|align=left}}
 
  | #default = {{any|{{{chainmail}}}|align=left}}
 
  | #default = {{any|{{{chainmail}}}|align=left}}
Line 39: Line 39:
 
! Platemail
 
! Platemail
 
| {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}}
 
| {{#if: {{{platemail|}}} | {{#switch: {{{platemail}}}
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]}}
+
  | meditation = {{yes|[[Spellcasting]]/[[Musicianship]] is restricted by [[meditation]]|align=left}}
 
  | no = {{no|Cannot use platemail armor|align=left}}
 
  | no = {{no|Cannot use platemail armor|align=left}}
 
  | #default = {{any|{{{platemail}}}|align=left}}
 
  | #default = {{any|{{{platemail}}}|align=left}}

Revision as of 08:39, 13 August 2018

Armor restrictions
Leather No restrictions
Studded Leather No restrictions
Bone No restrictions
Ringmail No restrictions
Chainmail No restrictions
Platemail No restrictions
Documentation icon Template documentation ( view · talk · edit)

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

{{Profession chart}}
{{Profession chart/requirements}}
{{Profession chart/statcaps}}
The above documentation is transcluded from Template:Profession chart/restrictions/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly> tags.