Template:Power
From Fax Encyclopedicus
Line 9: | Line 9: | ||
-->{{ #if: {{{class1|}}} | | -->{{ #if: {{{class1|}}} | | ||
- | * '''Level:''' {{{class1}}} {{{class1level}}}<!-- | + | * '''Level:''' {{ #ifexist: {{{class1}}} | [[{{{class1}}}]] | {{{class1}}} }} {{{class1level}}}<!-- |
- | -->{{ #if: {{{class2|}}} | , {{{class2}}} {{{class2level}}}<!-- | + | -->{{ #if: {{{class2|}}} | , {{ #ifexist: {{{class2}}} | [[{{{class2}}}]] | {{{class2}}} }} {{{class2level}}}<!-- |
- | -->{{ #if: {{{class3|}}} | , {{{class3}}} {{{class3level}}}<!-- | + | -->{{ #if: {{{class3|}}} | , {{ #ifexist: {{{class3}}} | [[{{{class3}}}]] | {{{class3}}} }} {{{class3level}}}<!-- |
- | -->{{ #if: {{{class4|}}} | , {{{class4}}} {{{class4level}}}<!-- | + | -->{{ #if: {{{class4|}}} | , {{ #ifexist: {{{class4}}} | [[{{{class4}}}]] | {{{class4}}} }} {{{class4level}}}<!-- |
- | -->{{ #if: {{{class5|}}} | , {{{class5}}} {{{class5level}}}<!-- | + | -->{{ #if: {{{class5|}}} | , {{ #ifexist: {{{class5}}} | [[{{{class5}}}]] | {{{class5}}} }} {{{class5level}}}<!-- |
- | -->{{ #if: {{{class6|}}} | , {{{class6}}} {{{class6level}}}<!-- | + | -->{{ #if: {{{class6|}}} | , {{ #ifexist: {{{class6}}} | [[{{{class6}}}]] | {{{class6}}} }} {{{class6level}}}<!-- |
- | -->{{ #if: {{{class7|}}} | , {{{class7}}} {{{class7level}}}<!-- | + | -->{{ #if: {{{class7|}}} | , {{ #ifexist: {{{class7}}} | [[{{{class7}}}]] | {{{class7}}} }} {{{class7level}}}<!-- |
- | -->{{ #if: {{{class8|}}} | , {{{class8}}} {{{class8level}}}<!-- | + | -->{{ #if: {{{class8|}}} | , {{ #ifexist: {{{class8}}} | [[{{{class8}}}]] | {{{class8}}} }} {{{class8level}}}<!-- |
- | -->{{ #if: {{{class9|}}} | , {{{class9}}} {{{class9level}}}<!-- | + | -->{{ #if: {{{class9|}}} | , {{ #ifexist: {{{class9}}} | [[{{{class9}}}]] | {{{class9}}} }} {{{class9level}}}<!-- |
- | -->{{ #if: {{{classX|}}} | , {{{classX}}} {{{classXlevel}}}<!-- | + | -->{{ #if: {{{classX|}}} | , {{ #ifexist: {{{classX}}} | [[{{{classX}}}]] | {{{classX}}} }} {{{classXlevel}}}<!-- |
-->| <!-- no 10th class entry --> }}<!-- | -->| <!-- no 10th class entry --> }}<!-- | ||
-->| <!-- no 9th class entry --> }}<!-- | -->| <!-- no 9th class entry --> }}<!-- | ||
Line 44: | Line 44: | ||
-->{{ #if: {{{target|}}} | | -->{{ #if: {{{target|}}} | | ||
* '''Target:''' {{{target}}} | <!-- no target entry --> }}<!-- | * '''Target:''' {{{target}}} | <!-- no target entry --> }}<!-- | ||
+ | |||
+ | -->{{ #if: {{{area|}}} | | ||
+ | * '''Area:''' {{{area}}} | <!-- no area entry --> }}<!-- | ||
-->{{ #if: {{{effect|}}} | | -->{{ #if: {{{effect|}}} | | ||
Line 153: | Line 156: | ||
-->This template is used to create spell (or similar) entries. The syntax is as follows; italics entries are optional. | -->This template is used to create spell (or similar) entries. The syntax is as follows; italics entries are optional. | ||
- | <nowiki>{{ | + | <nowiki>{{Power</nowiki> |
| ''type'' = The type of effect being described. Defaults to "Powers"; | | ''type'' = The type of effect being described. Defaults to "Powers"; | ||
used for categorizing, so use plurals. | used for categorizing, so use plurals. | ||
Line 159: | Line 162: | ||
| ''disc'' = The power's discipline. If omitted, the Discipline line is omitted | | ''disc'' = The power's discipline. If omitted, the Discipline line is omitted | ||
(including sub-discipline and descriptors). | (including sub-discipline and descriptors). | ||
- | | '' | + | | ''subdisc'' = The power's sub-discipline. The parentheses are added by the template. |
| ''desc'' = The power's descriptor(s). Brackets are added by the template. | | ''desc'' = The power's descriptor(s). Brackets are added by the template. | ||
- | | '' | + | | ''disp'' = The power's display. Defaults omitted. |
| ''time'' = The power's manifesting time. Defaults omitted. | | ''time'' = The power's manifesting time. Defaults omitted. | ||
| ''range'' = The power's range. Defaults omitted. | | ''range'' = The power's range. Defaults omitted. | ||
| ''target'' = The power's target. Defaults omitted. | | ''target'' = The power's target. Defaults omitted. | ||
+ | | ''area'' = The power's area. Defaults omitted. | ||
| ''effect'' = The power's effect. Defaults omitted. | | ''effect'' = The power's effect. Defaults omitted. | ||
| ''dur'' = The power's duration. Defaults omitted. | | ''dur'' = The power's duration. Defaults omitted. | ||
Line 230: | Line 234: | ||
| PP = 1 | | PP = 1 | ||
}} | }} | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | * {{[[:Template:Spell|Spell]]}} | ||
+ | * {{[[:Template:Maneuver|Maneuver]]}} | ||
[[Category:Wiki Templates]] | [[Category:Wiki Templates]] | ||
</noinclude> | </noinclude> |