Difference between revisions of "Template:FeatsCardList Card"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Used by ''Template:FeatsCardList Category'' | <noinclude>Used by ''Template:FeatsCardList Category'' | ||
'''Required Parameters:'''Page, Name, Advanced, SubCategories, Prereq, Action, Benefit, Special, Normal</noinclude><includeonly><!-- | '''Required Parameters:'''Page, Name, Advanced, Drawback, SubCategories, Prereq, Action, Benefit, Special, Normal</noinclude><includeonly><!-- | ||
--><div style="display:inline-table;max-width:450px;margin:10px;background-color:{{# | -->{{#vardefine:fcardcolor|white}}<!-- | ||
-->{{#ifeq:{{{Advanced|}}}|1|{{#vardefine:fcardcolor|lavenderblush}}}}<!-- | |||
-->{{#ifeq:{{{Drawback|}}}|1|{{#vardefine:fcardcolor|ivory}}}}<!-- | |||
--><div style="display:inline-table;max-width:450px;margin:10px;background-color:{{#var:fcardcolor}};padding:.8em;border:1px solid #DDDDDD;"> | |||
{{EditHeading|{{link_feat|{{{Name}}}}}|3|{{{Page}}}}} | {{EditHeading|{{link_feat|{{{Name}}}}}|3|{{{Page}}}}} | ||
{{#if: {{{SubCategories|}}}| | {{#ifeq:{{{Drawback|}}}|1| | ||
<big>'''(Drawback)'''</big> | |||
<b></b>|}}{{#if: {{{SubCategories|}}}| | |||
<big>'''({{{SubCategories}}})'''</big> | <big>'''({{{SubCategories}}})'''</big> | ||
Latest revision as of 15:12, 4 September 2021
Used by Template:FeatsCardList Category
Required Parameters:Page, Name, Advanced, Drawback, SubCategories, Prereq, Action, Benefit, Special, Normal