Difference between revisions of "Template:Feat Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
|-
 
|-
 
{{#if:{{{requirements|}}}
 
{{#if:{{{requirements|}}}
|{{!}} style="color:#AE5700;" colspan="2" {{!}}<p></p><p></p><font style="color:white; font-size:120%;">Requirements</font>
+
|{{!}} style="color:#AE5700;" colspan="2" {{!}}<p></p><font style="color:white; font-size:120%;">Requirements</font>
 
<p></p>{{{requirements|feat's requirements (optional)}}}
 
<p></p>{{{requirements|feat's requirements (optional)}}}
 
|}}
 
|}}
  
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 03:29, 29 March 2013

Default icon feat's name

feat's description


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