Difference between revisions of "Template:FeatsTable Category"

From Epic Paths
Jump to navigation Jump to search
 
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}}}}}


Line 20: Line 26:
<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, ']]' ) = Feat Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit
|where=MainCategory = "{{{1}}}" AND Advanced = 0 AND Drawback = 0
|where=MainCategory = "{{{1}}}" AND Advanced = 0 AND Drawback = 0 {{#if:{{{filtersubcategories|}}}|AND NOT (SubCategories HOLDS '{{#arraymap:{{{filtersubcategories}}}|,|x|x|' OR SubCategories HOLDS '}}')}}
|order by=Name
|order by=Name
|format=table
|format=table

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.