Difference between revisions of "Template:FeatsTable SubCategory"
Jump to navigation
Jump to search
Tag: Manual revert |
|||
Line 20: | Line 20: | ||
<wbr>|}}{{#cargo_query:tables=Feats, Feats__SubCategories | <wbr>|}}{{#cargo_query:tables=Feats, Feats__SubCategories | ||
|join on=Feats._ID=Feats__SubCategories._rowID | |join on=Feats._ID=Feats__SubCategories._rowID | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit | |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,{{#ifeq:{{{5|}}}|yes|Advanced=Adv,|}}CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit | ||
|where=Feats__SubCategories._value = "{{{1}}}"{{#ifeq:{{{5|no}}}|no| AND Advanced = "{{{5|no}}}"|}} | |where=Feats__SubCategories._value = "{{{1}}}"{{#ifeq:{{{5|no}}}|no| AND Advanced = "{{{5|no}}}"|}} | ||
|format=table | |format=table | ||
}}</includeonly> | }}</includeonly> |
Revision as of 23:54, 9 July 2021
Parameters
1(required): The category to filter for. Also show up as a heading name. (Combat)
2(optional): Description to place under the heading. (These are combat feats)
3(optional): Heading to use instead of the filter category name (Combat Feats)
4(optional): Heading-level of the tables Heading (3)
5(optional): Should advanced feats be shown. Default: no
Template: {{FeatsTable_SubCategory|}}