Difference between revisions of "Template:Feat Infobox"

From Underrail Wiki
Jump to navigation Jump to search
(clean up some cruft)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{| class="infobox" style="font-family:'pf_tempesta_seven',sans-serif; font-size:12px;"
+
{| class="infobox" style="color:#AE5700; font-family:'pf_tempesta_seven',sans-serif; font-size:12px;"
 
|-
 
|-
| width="50px" height="50px" align="center" valign="middle" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Feat's icon|link=]]|[[File:Misc_icon.png|full|Default icon|link=]]}}
+
| style="width:50px; height:50px; text-align:center; vertical-align:middle;" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{name}}} feat icon]]|[[File:Misc_icon.png|Default icon]]}}
  
| style="color:#AE5700; font-weight:bold; font-size:150%; vertical-align:middle;" |{{{name|feat's name}}}
+
| style="font-weight:bold; font-size:150%; vertical-align:middle;" | {{{name}}}
  
 
|-
 
|-
| style="max-width:400px; color:#AE5700;" colspan="2" |<p></p>{{{description|feat's description}}}
+
| colspan="2" style="max-width:400px; color:#AE5700;" | {{{description}}}
  
 
|-
 
|-
 
{{#if:<noinclude>string</noinclude>{{{requirements|}}}
 
{{#if:<noinclude>string</noinclude>{{{requirements|}}}
|{{!}} style="color:#AE5700;" colspan="2" {{!}}<p></p><font style="color:white; font-size:120%;">Requirements</font><p></p>
+
|{{!}} colspan="2" {{!}} <p><span style="color:#BBB; font-size:120%;">Requirements</span>
{{{requirements|feat's requirements (optional)}}}
+
{{{requirements}}}|}}
|}}
 
  
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 06:45, 11 October 2017

Default icon {{{name}}}
{{{description}}}

Requirements

{{{requirements}}}


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Feat_Infobox/doc to view this documentation. (edit) (How does this work?)

Description

This is the infobox template for feats.


Syntax

To use this template, copy the following code, fill in the appropriate fields and remove the rest.

{{Feat Infobox
 | image         = [leave this field empty if there's no image yet]
 | name          = 
 | description   = 
 | requirements  = [optional, feat's requirements. remove this line if the feat has no requirements]
}}

Samples

{{Feat Infobox
 | image         = 
 | name          = Aimed Shot
 | description   = You can perform an aimed shot with any ranged weapon for a guaranteed critical hit.


Cooldown: 3 turns.
 | requirements  =
* Guns or Crossbows 10
* Perception 6
}}

Results in...


Default icon Aimed Shot
You can perform an aimed shot with any ranged weapon for a guaranteed critical hit.


Cooldown: 3 turns.

Requirements

  • Guns or Crossbows 10
  • Perception 6