Difference between revisions of "Template:Feat"

From Epic Paths
Jump to navigation Jump to search
 
(19 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 Wikitext|Keywords=List (,) of String|Classes=List (,) of String|Prereq=Wikitext|Short=Wikitext|Action=Wikitext|Benefit=Wikitext|Special=Wikitext|Normal=Wikitext}}
{{#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|no}}}|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|}}}}}<!--
-->{{DISPLAYTITLE:{{{Name|{{SUBPAGENAME}}}}}}}<!--
-->{{BreadCrumbs|Feats,Feats/{{{MainCategory}}}}}__NOTOC__{{#if: {{{SubCategories|}}}|{{#ifeq: {{{SubCategories|}}}|—||
-->{{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>


<b></b>|}}}}{{#if: {{{Advanced|}}}|
'''Advanced:''' {{{Advanced}}}


<b></b>|}}{{#if: {{{Fluff|}}}|
''{{{Fluff}}}''


<b></b>|}}{{#if: {{{Prereq|}}}|'''Prerequisites:''' {{{Prereq}}}
<wbr>}}}}<!--
-->{{#ifeq: {{{Advanced|}}}|Yes|'''Advanced:''' {{{Advanced}}}}} {{#ifeq: {{{Drawback|}}}|Yes|'''Drawback:''' {{{Drawback}}}}}{{#if: {{{Advanced|}}}{{{Drawback|}}}|<b></b>


<b></b>|}}{{#if: {{{Action|}}}|
<b></b>}}<!--
'''Action:''' {{{Action}}}
-->{{#if: {{{Fluff|}}}|''{{{Fluff}}}''


<b></b>|}}{{#if: {{{Benefit|}}}|
<wbr>}}<!--
'''Benefit:''' {{{Benefit}}}
-->{{#ifeq: {{{Prereq|}}}|—||'''Prerequisites:''' {{{Prereq}}}


<b></b>|}}{{#if: {{{Normal|}}}|
<wbr>}}<!--
'''Normal:''' {{{Normal}}}
-->{{#if: {{{Action|}}}|'''Action:''' {{{Action}}}


<b></b>|}}{{#if: {{{Special|}}}|
<wbr>}}<!--
'''Special:''' {{{Special}}}
-->{{#if: {{{Benefit|}}}|'''Benefit:''' {{{Benefit}}}


<b></b>|}}
<wbr>}}<!--
-->{{#if: {{{Normal|}}}|'''Normal:''' {{{Normal}}}


<wbr>}}<!--
-->{{#if: {{{Special|}}}|'''Special:''' {{{Special}}}
<wbr>}}
'''Prerequisite for:'''
'''Prerequisite for:'''
{{#cargo_query:tables=Feats
{{#cargo_query:tables=Feats
Line 57: 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.