Difference between revisions of "Template:FeatsTable Keyword"

From Epic Paths
Jump to navigation Jump to search
Line 14: Line 14:


'''Template:''' <nowiki>{{FeatsTable_SubCategory|}}</nowiki>
'''Template:''' <nowiki>{{FeatsTable_SubCategory|}}</nowiki>
</noinclude><includeonly>{{EditHeading|{{{3|{{{1}}}}}}|{{{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, ']]' ) = Name,{{#ifeq:{{{5|}}}|yes|Advanced=Adv,|}}SubCategories=Categories,Prereq=Prerequisites,Short=Benefit
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit
|where=Keywords HOLDS "{{{1}}}"{{#ifeq:{{{5|no}}}|no| AND Advanced = "{{{5|no}}}"|}}
|where=Keywords HOLDS "{{{1}}}" AND Advanced = 0
|format=table
}}
 
{{#cargo_query:tables=Feats
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,SubCategories=Categories,Prereq=Prerequisites,Short=Benefit
|where=Keywords HOLDS "{{{1}}}" AND Advanced = 1
|intro='''Advanced {{{3|{{{1}}}}}} Feats'''
|format=table
|format=table
}}</includeonly>
}}</includeonly>

Revision as of 13:15, 10 July 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)

5(optional): Should advanced feats be shown. Default: no


Template: {{FeatsTable_SubCategory|}}