Difference between revisions of "Template:Feat"

From Sourcebook Wiki
Jump to: navigation, search
(trying to get feats to ignore their prefix for sorting)
m (silly sleep Mattie, just use the name)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__
 
<includeonly>__NOTOC__
 
==== {{{name|Fill in the name parameter}}} <span class="feattypes">{{ #if: {{{type1|}}}
 
==== {{{name|Fill in the name parameter}}} <span class="feattypes">{{ #if: {{{type1|}}}
     |<span class="feattype">[[:Category:{{{type1}}} Feats|{{{type1}}}]][[Category:{{{type1}}} Feats]]</span>
+
     |<span class="feattype">[[:Category:{{{type1}}} Feats|{{{type1}}}]][[Category:{{{type1}}} Feats|{{{name}}}]]</span>
 
     |
 
     |
 
}} {{ #if: {{{type2|}}}
 
}} {{ #if: {{{type2|}}}
     |<span class="feattype">[[:Category:{{{type2}}} Feats|{{{type2}}}]][[Category:{{{type2}}} Feats]]</span>
+
     |<span class="feattype">[[:Category:{{{type2}}} Feats|{{{type2}}}]][[Category:{{{type2}}} Feats|{{{name}}}]]</span>
 
     |
 
     |
 
}} {{ #if: {{{type3|}}}
 
}} {{ #if: {{{type3|}}}
     |<span class="feattype">[[:Category:{{{type3}}} Feats|{{{type3}}}]][[Category:{{{type3}}} Feats]]</span>
+
     |<span class="feattype">[[:Category:{{{type3}}} Feats|{{{type3}}}]][[Category:{{{type3}}} Feats|{{{name}}}]]</span>
 
     |
 
     |
 
}}  {{ #if: {{{type4|}}}
 
}}  {{ #if: {{{type4|}}}
     |<span class="feattype">[[:Category:{{{type4}}} Feats|{{{type4}}}]][[Category:{{{type4}}} Feats]]</span>
+
     |<span class="feattype">[[:Category:{{{type4}}} Feats|{{{type4}}}]][[Category:{{{type4}}} Feats|{{{name}}}]]</span>
 
     |
 
     |
 
}}</span>====
 
}}</span>====
Line 43: Line 43:
 
|}}
 
|}}
 
</div>
 
</div>
[[Category:Feats|{{#sub:{{{name}}}|6}}]]
+
[[Category:Feats|{{{name}}}]]
 
</includeonly>
 
</includeonly>
  

Latest revision as of 22:40, 22 February 2011


Random Example:

{{Feat
|name=Divine Companion
|type1=Divine
|type2=Animal Companion
|type3=
|type4=
|summary=Your animal companion becomes a celestial or fiendish creature.
|prereqs=Turn or Rebuke Undead, Animal Companion
|benefit=Typically included field
|normal=Optionally include normal effects
|special=Optionally include special effects
|text=Optionally included notes
|seealso=Optionally included references
|source=Optionally included original source location
}}