Difference between revisions of "Template:FeatsTable Category"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
'''5(optional):''' Should advanced feats be shown. Default: no | '''5(optional):''' Should advanced feats be shown. Default: no | ||
'''filtersubcategories(optional)''' Do not show feats that has these subcategories (comma-separated) | |||
----- | ----- | ||
'''Template:''' <nowiki>{{FeatsTable_Category|}}</nowiki> | '''Template:''' <nowiki>{{FeatsTable_Category|}}</nowiki> | ||
'''Example:''' <nowiki>{{FeatsTable_Category|Destruction School|filtersubcategories=Blast Shape, Blast Type}}</nowiki> | |||
{{FeatsTable_Category|Destruction School|filtersubcategories=Blast Shape, Blast Type}} | |||
</noinclude><includeonly>{{Heading|{{{3|{{{1}}}}}} Feats|{{{4|3}}}}} | </noinclude><includeonly>{{Heading|{{{3|{{{1}}}}}} Feats|{{{4|3}}}}} | ||
{{#if:{{{2|}}}|{{{2}}} | {{#if:{{{2|}}}|{{{2}}} | ||
<wbr>|}}{{#cargo_query:tables=Feats | <wbr>|}}{{#cargo_query:tables=Feats | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Feat Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |where=MainCategory = "{{{1}}}" AND Advanced = 0 AND Drawback = 0 {{#if:{{{filtersubcategories|}}}|AND NOT (SubCategories HOLDS '{{#arraymap:{{{filtersubcategories}}}|,|x|x|' OR SubCategories HOLDS '}}')}} | ||
|where=MainCategory = "{{{1}}}" AND Advanced = 0 AND | |order by=Name | ||
|format=table | |format=table | ||
}} | }} | ||
{{#cargo_query:tables=Feats | {{#cargo_query:tables=Feats | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Feat Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |where=MainCategory = "{{{1}}}" AND Advanced = 1 AND Drawback = 0 | ||
|where=MainCategory = "{{{1}}}" AND Advanced = 1 AND | |order by=Name | ||
|intro='''Advanced {{{3|{{{1}}}}}} Feats''' | |intro='''Advanced {{{3|{{{1}}}}}} Feats''' | ||
|default= | |default= | ||
Line 34: | Line 40: | ||
}} | }} | ||
{{#cargo_query:tables=Feats | {{#cargo_query:tables=Feats | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Feat Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit | |where=MainCategory = "{{{1}}}" AND Drawback = 1 | ||
|where=MainCategory = "{{{1}}}" AND | |order by=Name | ||
|intro='''{{{3|{{{1}}}}}} Drawback Feats''' | |intro='''{{{3|{{{1}}}}}} Drawback Feats''' | ||
|default= | |default= | ||
|format=table | |format=table | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 16:09, 17 May 2022
Parameters
1(required): The MainCategory to filter for. (Guardian)
2(optional): Description to place under the heading. Default: none. (These are feats from the Guardian Sphere)
3(optional): Heading to use instead of the filter category name. Default: MainCategory name (Guardian Feats)
4(optional): Heading-level of the tables Heading. Default: 2 (3)
5(optional): Should advanced feats be shown. Default: no
filtersubcategories(optional) Do not show feats that has these subcategories (comma-separated)
Template: {{FeatsTable_Category|}}
Example: {{FeatsTable_Category|Destruction School|filtersubcategories=Blast Shape, Blast Type}}
Destruction School Feats
Feat Name | Categories | Prerequisites | Benefit |
---|---|---|---|
Battle Mage | Arcane • Destruction • School | — | Gain the ability to create destructive blasts. |