Difference between revisions of "Template:Infobox creature"

From OtanWiki
(Created page with "<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;" > <div class="infobox-title" style="font-...")
 
 
(5 intermediate revisions by the same user not shown)
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>
Line 11: Line 9:
 
     <th>Subtype</th>
 
     <th>Subtype</th>
 
     <td>{{{subtype}}}</td>
 
     <td>{{{subtype}}}</td>
</tr>}} {{#if:{{{alignment|}}}|<tr>
+
</tr>}} {{#if:{{{strain|}}}|<tr>
     <th>Alignment</th>
+
     <th>Strain</th>
     <td>{{{alignment}}}</td>
+
     <td>{{{strain}}}</td>
 +
</tr>}} {{#if:{{{substrain|}}}|<tr>
 +
    <th>Substrain</th>
 +
    <td>{{{substrain}}}</td>
 
</tr>}} {{#if:{{{challenge|}}}|<tr>
 
</tr>}} {{#if:{{{challenge|}}}|<tr>
 
     <th>Challenge</th>
 
     <th>Challenge</th>
 
     <td>{{{challenge}}}</td>
 
     <td>{{{challenge}}}</td>
 
</tr>}} {{#if:{{{patron_deity|}}}|<tr>
 
</tr>}} {{#if:{{{patron_deity|}}}|<tr>
     <th>patron_deity</th>
+
     <th>Patron Deity</th>
     <td>{{{Patron Deity}}}</td>
+
     <td>{{{patron_deity}}}</td>
 
</tr>}} {{#if:{{{vision|}}}|<tr>
 
</tr>}} {{#if:{{{vision|}}}|<tr>
 
     <th>Vision</th>
 
     <th>Vision</th>
Line 77: Line 78:
 
     <th>Distinctions</th>
 
     <th>Distinctions</th>
 
     <td>{{{distinctions}}}</td>
 
     <td>{{{distinctions}}}</td>
</tr>}} {{#if:{{{first|}}}|<tr>
 
    <th>First</th>
 
    <td>{{{first}}}</td>
 
</tr>}} {{#if:{{{based|}}}|<tr>
 
    <th>Based</th>
 
    <td>{{{based}}}</td>
 
</tr>}} {{#if:{{{historical_references|}}}|<tr>
 
    <th>Historical References</th>
 
    <td>{{{historical_references}}}</td>
 
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>
Line 97: Line 89:
 
   | type                  =  
 
   | type                  =  
 
   | subtype              =  
 
   | subtype              =  
 +
  | strain                = 
 +
  | substrains            = 
 
   | alignment            =  
 
   | alignment            =  
 
   | challenge            =  
 
   | challenge            =  
Line 105: Line 99:
 
   | lifespan              =  
 
   | lifespan              =  
 
   | location              =  
 
   | location              =  
   | language              =  
+
   | languages            =  
 
   | subraces              =  
 
   | subraces              =  
 
   | climate              =  
 
   | climate              =  
Line 119: Line 113:
 
   | build                =  
 
   | build                =  
 
   | distinctions          =  
 
   | distinctions          =  
  | first                =
 
  | based                =
 
  | historical_references =
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 20:53, 14 May 2023

Infobox creature

Example usage:

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