Difference between revisions of "Template:FeatsTable SubCategory"
Jump to navigation
Jump to search
Tag: Reverted |
|||
Line 21: | Line 21: | ||
|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,CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit | ||
|where=Feats__SubCategories._value = "{{{1}}}" AND Advanced = 0 | |where=Feats__SubCategories._value = "{{{1}}}" AND Advanced = 0 AND Feats__SubCategories._value != 'Drawback' | ||
|order by=Feats.Name | |order by=Feats.Name | ||
|format=table | |format=table | ||
Line 29: | Line 29: | ||
|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,CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit | ||
|where=Feats__SubCategories._value = "{{{1}}}" AND Advanced = 1 | |where=Feats__SubCategories._value = "{{{1}}}" AND Advanced = 1 AND Feats__SubCategories._value != 'Drawback' | ||
|order by=Feats.Name | |order by=Feats.Name | ||
|default= | |default= | ||
|intro='''Advanced {{{3|{{{1}}}}}} Feats''' | |intro='''Advanced {{{3|{{{1}}}}}} Feats''' | ||
|format=table | |||
}} | |||
{{#cargo_query:tables=Feats, Feats__SubCategories | |||
|join on=Feats._ID=Feats__SubCategories._rowID | |||
|group by=Feats._pageName | |||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit | |||
|where=Feats__SubCategories._value = "{{{1}}}" AND Feats__SubCategories._value = 'Drawback' | |||
|intro='''{{{3|{{{1}}}}}} Drawback Feats''' | |||
|default= | |||
|format=table | |format=table | ||
}}</includeonly> | }}</includeonly> |
Revision as of 14:06, 4 September 2021
Parameters
1(required): The subcategory 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|}}