Difference between revisions of "Template:Feat"
Jump to navigation
Jump to search
(28 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|Name= | |Name= | ||
|Advanced= | |Advanced= | ||
|Drawback= | |||
|Fluff= | |Fluff= | ||
|MainCategory= | |MainCategory= | ||
Line 21: | Line 22: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Feats|Name=String|Advanced=Boolean|Fluff=String|MainCategory=String|SubCategories=List (,) of | {{#cargo_declare:_table=Feats|Name=String|Advanced=Boolean|Drawback=Boolean|Fluff=String|MainCategory=String|SubCategories=List (,) of Wikitext|Keywords=List (,) of String|Classes=List (,) of String|Prereq=Wikitext|Short=Wikitext|Action=Wikitext|Benefit=Wikitext|Special=Wikitext|Normal=Wikitext}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Feats|Name={{{Name|}}}|Advanced={{{Advanced|}}}|Fluff={{{Fluff|}}}|MainCategory={{{MainCategory|}}}|SubCategories={{{SubCategories|}}}|Keywords={{{Keywords|}}}|Classes={{{Classes|}}}|Prereq={{{Prereq|}}}|Short={{{Short|}}}|Action={{{Action|}}}|Benefit={{{Benefit|}}}|Special={{{Special|}}}|Normal={{{Normal|}}} }}<!-- | </noinclude><includeonly>{{#cargo_store:_table=Feats|Name={{{Name|{{SUBPAGENAME}}}}}|Advanced={{{Advanced|no}}}|Drawback={{{Drawback|no}}}|Fluff={{{Fluff|}}}|MainCategory={{{MainCategory|}}}|SubCategories={{{SubCategories|}}}|Keywords={{{Keywords|}}}|Classes={{{Classes|}}}|Prereq={{{Prereq|}}}|Short={{{Short|}}}|Action={{{Action|}}}|Benefit={{{Benefit|}}}|Special={{{Special|}}}|Normal={{{Normal|}}} }}<!-- | ||
-->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | |||
-->{{BreadCrumbs|Feats,{{{MainCategory}}}}}__NOTOC__{{#if: {{{SubCategories|}}}| | |||
-->{{DISPLAYTITLE:{{{Name|{{SUBPAGENAME}}}}}}}<!-- | |||
-->{{BreadCrumbs|Feats,<!-- | |||
-->{{#if:{{#pos:{{{MainCategory}}}|School}}|Feats/Magic Schools,}}<!-- | |||
-->{{#if:{{#pos:{{{MainCategory}}}|Style}}|Feats/Combat Styles,}}<!-- | |||
-->Feats/{{{MainCategory}}}}}<!-- | |||
-->__NOTOC__{{#if: {{{SubCategories|}}}|{{#ifeq: {{{SubCategories|}}}|—|| | |||
<big>'''({{{SubCategories}}})'''</big> | <big>'''({{{SubCategories}}})'''</big> | ||
< | <wbr>}}}}<!-- | ||
-->{{#ifeq: {{{Advanced|}}}|Yes|'''Advanced:''' {{{Advanced}}}}} {{#ifeq: {{{Drawback|}}}|Yes|'''Drawback:''' {{{Drawback}}}}}{{#if: {{{Advanced|}}}{{{Drawback|}}}|<b></b> | |||
<b></b> | <b></b>}}<!-- | ||
-->{{#if: {{{Fluff|}}}|''{{{Fluff}}}'' | |||
< | <wbr>}}<!-- | ||
''' | -->{{#ifeq: {{{Prereq|}}}|—||'''Prerequisites:''' {{{Prereq}}} | ||
< | <wbr>}}<!-- | ||
''' | -->{{#if: {{{Action|}}}|'''Action:''' {{{Action}}} | ||
< | <wbr>}}<!-- | ||
''' | -->{{#if: {{{Benefit|}}}|'''Benefit:''' {{{Benefit}}} | ||
< | <wbr>}}<!-- | ||
-->{{#if: {{{Normal|}}}|'''Normal:''' {{{Normal}}} | |||
<wbr>}}<!-- | |||
-->{{#if: {{{Special|}}}|'''Special:''' {{{Special}}} | |||
<wbr>}} | |||
'''Prerequisite for:''' | '''Prerequisite for:''' | ||
{{#cargo_query:tables=Feats | {{#cargo_query:tables=Feats | ||
Line 54: | Line 64: | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) | |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) | ||
|format=list | |format=list | ||
}} | }}{{#if: {{{Extra|}}}| | ||
{{{Extra|}}}}} | |||
{{OGL|{{{OGL}}}}} | {{OGL|{{{OGL}}}}} |
Latest revision as of 19:30, 20 January 2022
This is the "Feat" template. It should be called in the following format:
{{Feat |Name= |Advanced= |Drawback= |Fluff= |MainCategory= |SubCategories= |Keywords= |Classes= |Prereq= |Short= |Action= |Benefit= |Special= |Normal= |OGL= }}
Edit the page to see the template text. This template defines the table "Feats". View table.