Difference between revisions of "Template:Feat Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m (Protected "Template:Feat Infobox" (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
(infobox font change, minor fixes)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{| style={{Infobox common style}}
+
{| style={{Infobox common style|font-family:'pf_tempesta_seven'; font-size:12px;}}
 
|-
 
|-
 
| width="50px" height="50px" align="center" valign="center" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Feat's icon|link=]]|[[File:Misc_icon.png|full|Default icon|link=]]}}
 
| width="50px" height="50px" align="center" valign="center" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Feat's icon|link=]]|[[File:Misc_icon.png|full|Default icon|link=]]}}
  
| style="color:#AE5700; font-weight:bold; font-size:140%;" |{{{name|feat's name}}}
+
| style="color:#AE5700; font-weight:bold; font-size:150%;" |{{{name|feat's name}}}
  
 
|-
 
|-
Line 10: Line 10:
  
 
|-
 
|-
{{#if:{{{requirements|}}}
+
{{#if:<noinclude>string</noinclude>{{{requirements|}}}
 
|{{!}} style="color:#AE5700;" colspan="2" {{!}}<p></p><font style="color:white; font-size:120%;">Requirements</font><p></p>
 
|{{!}} style="color:#AE5700;" colspan="2" {{!}}<p></p><font style="color:white; font-size:120%;">Requirements</font><p></p>
 
{{{requirements|feat's requirements (optional)}}}
 
{{{requirements|feat's requirements (optional)}}}

Revision as of 06:07, 24 June 2014

Default icon feat's name

feat's description

Requirements

feat's requirements (optional)


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