Actions

Template

Difference between revisions of "Feat"

From P6 Spheres

 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
|Special=
 
|Special=
 
|Normal=
 
|Normal=
 +
|OGL=
 
}}
 
}}
 
</pre>
 
</pre>
Line 22: Line 23:
 
</noinclude><includeonly>{{#cargo_store:_table=Feats|Name={{{Name|}}}|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|}}}|Fluff={{{Fluff|}}}|MainCategory={{{MainCategory|}}}|SubCategories={{{SubCategories|}}}|Keywords={{{Keywords|}}}|Classes={{{Classes|}}}|Prereq={{{Prereq|}}}|Short={{{Short|}}}|Action={{{Action|}}}|Benefit={{{Benefit|}}}|Special={{{Special|}}}|Normal={{{Normal|}}} }}<!--
  
-->{{BreadCrumbs|Feats,Feats - {{{MainCategory}}}}}{{TOC}}{{#if: {{{SubCategories|}}}|
+
-->{{DISPLAYTITLE:{{{Name|}}}}}<!--
 +
-->{{BreadCrumbs|Feats}}{{TOC}}{{#if: {{{SubCategories|}}}|
 
<big>'''({{{SubCategories}}})'''</big>
 
<big>'''({{{SubCategories}}})'''</big>
  
Line 47: Line 49:
 
{{#cargo_query:tables=Feats
 
{{#cargo_query:tables=Feats
 
|where=Prereq LIKE "%{{PAGENAME}}%"
 
|where=Prereq LIKE "%{{PAGENAME}}%"
|fields=_pageName
+
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' )
 
|format=list
 
|format=list
 
}}
 
}}
 +
 +
{{OGL|{{{OGL}}}}}
  
 
[[Category:Feats]]
 
[[Category:Feats]]
 
</includeonly>
 
</includeonly>

Latest revision as of 10:18, 9 May 2021

This is the "Feat" template. It should be called in the following format:

{{Feat
|Name=
|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.