Template:Spell
From Fax Encyclopedicus
Line 78: | Line 78: | ||
--> | <!-- | --> | <!-- | ||
noclasscat not set, doing class categorization: | noclasscat not set, doing class categorization: | ||
+ | |||
+ | -->{{ #if: {{{class1|}}} | | ||
+ | [[Category:{{{class1|}}} {{{type|Spells}}}]]{{ #if: {{{nolevelcat|}}} | <!-- don't categorize if nolevelcat is set --> | | ||
+ | [[Category:{{{class1|}}} {{{type|Spells}}} (Level {{{class1level}}})]] }}<!-- | ||
+ | -->| <!-- no 1st class entry, maybe plain level: | ||
+ | |||
+ | -->{{ #if: {{{nolevelcat|}}} | <!-- unless nolevelcat is also set --> | <!-- | ||
+ | |||
+ | -->{{ #if: {{{level|}}} | | ||
+ | [[Category:{{{type|Spells}}} (Level {{{level}}})]] | <!-- no level entry supplied --> }} <!-- | ||
+ | |||
+ | nolevelcat false | ||
+ | --> }} <!-- | ||
+ | class1 not set | ||
+ | --> }}<!-- | ||
noclasscat not set | noclasscat not set | ||
--> }}<!-- | --> }}<!-- |