Actions

Template

Difference between revisions of "FeatsTable Keyword"

From P6 Spheres

 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
{{#if:{{{2|}}}|{{{2}}}
 
{{#if:{{{2|}}}|{{{2}}}
  
<wbr>|}}{{#cargo_query:tables=Feats, Feats__Keywords, Feats__SubCategories
+
<wbr>|}}{{#cargo_query:tables=Feats
|join on=Feats._ID=Feats__Keywords._rowID AND Feats._ID=Feats__SubCategories._rowID
+
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,CONCAT(Feats.SubCategories__full)=Categories,Prereq=Prerequisites,Short=Benefit
+
|where=Keywords HOLDS "{{{1}}}"
|where=Feats__Keywords._value = "{{{1}}}"
 
 
|format=table
 
|format=table
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 10:40, 9 May 2021

Parameters

1(required): The keyword to filter for. Also show up as a heading name. (Shout)

2(optional): Description to place under the heading. (These are feats which alter shouts)

3(optional): Heading to use instead of the filter category name (Shout Feats)

4(optional): Heading-level of the tables Heading (3)


Template: {{FeatsTable_SubCategory|}}