Difference between revisions of "Template:Infobox creature"

From OtanWiki
Line 1: Line 1:
<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;" >
+
<div class="infobox" >
 
<div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{caption|}}}|<tr>
+
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
    <th>&nbsp;</th>
+
<table> {{#if:{{{type|}}}|<tr>
    <td>{{{caption}}}</td>
 
</tr>}} {{#if:{{{type|}}}|<tr>
 
 
     <th>Type</th>
 
     <th>Type</th>
 
     <td>{{{type}}}</td>
 
     <td>{{{type}}}</td>

Revision as of 15:28, 15 March 2021

Infobox creature

Example usage:

{{Infobox creature
  | title                 = 
  | image                 = 
  | caption               = 
  | type                  = 
  | subtype               = 
  | alignment             = 
  | challenge             = 
  | patron_deity          = 
  | vision                = 
  | active_cycle          = 
  | diet                  = 
  | lifespan              = 
  | location              = 
  | language              = 
  | subraces              = 
  | climate               = 
  | terrain               = 
  | height                = 
  | length                = 
  | wingspan              = 
  | weight                = 
  | skin_color            = 
  | hair_color            = 
  | feathers              = 
  | eye_color             = 
  | build                 = 
  | distinctions          = 
  | first                 = 
  | based                 = 
  | historical_references = 
}}