Difference between revisions of "TalentsList"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<wbr>|}}{{#cargo_query:tables=Talents | <wbr>|}}{{#cargo_query:tables=Talents | ||
− | |where= | + | |where=_pageName = "{{PAGENAME}}/Data" AND {{#if:{{{Category|}}}|Categories LIKE "%{{{Category}}}%"|{{#if:{{{Where|}}}|{{{Where}}}|Header = "{{{Header}}}"}}}} {{#if:{{{Advanced|}}}|AND Categories LIKE "%Advanced%"|AND (Categories NOT LIKE "%Advanced%" OR Categories = "" OR Categories is null)}} |
|order by=Name | |order by=Name | ||
|fields=Name,Categories=Cat,Prerequisites=Prereq,Body | |fields=Name,Categories=Cat,Prerequisites=Prereq,Body | ||
Line 13: | Line 13: | ||
}}</includeonly><!-- | }}</includeonly><!-- | ||
− | --><noinclude>Usage: {TalentsList<br> | + | --><noinclude>Usage: <nowiki>{{</nowiki>TalentsList<br> |
|Header=Header<br> | |Header=Header<br> | ||
− | |HeaderSize=Optional, defaults to 2 | + | |HeaderSize=Optional, defaults to 2<br> |
− | | | + | |Category=Alternative to Header, searches by single category. Does not require Header, but can use it for the header of the section<br> |
|Where=Replaces Header Search. Still requires header for the header of the section<br> | |Where=Replaces Header Search. Still requires header for the header of the section<br> | ||
|Advanced=Advanced(True/Optional)<br> | |Advanced=Advanced(True/Optional)<br> | ||
|Text=Description(Optional)}}</noinclude> | |Text=Description(Optional)}}</noinclude> |
Latest revision as of 08:37, 3 July 2021
Usage: {{TalentsList
|Header=Header
|HeaderSize=Optional, defaults to 2
|Category=Alternative to Header, searches by single category. Does not require Header, but can use it for the header of the section
|Where=Replaces Header Search. Still requires header for the header of the section
|Advanced=Advanced(True/Optional)
|Text=Description(Optional)}}