Difference between revisions of "Template:Infobox race"

From OtanWiki
(Created page with "<div class="infobox" > <div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image" styl...")
 
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
<table> {{#if:{{{type|}}}|<tr>
+
<table> {{#if:{{{race|}}}|<tr>
    <th>Continent</th>
 
    <td>{{{type}}}</td>
 
</tr>}} {{#if:{{{subtype|}}}|<tr>
 
 
     <th>Race</th>
 
     <th>Race</th>
     <td>{{{subtype}}}</td>
+
     <td>{{{race}}}</td>
</tr>}} {{#if:{{{challenge|}}}|<tr>
+
</tr>}} {{#if:{{{subraces|}}}|<tr>
     <th>Challenge</th>
+
     <th>Subraces</th>
     <td>{{{challenge}}}</td>
+
     <td>{{{subraces}}}</td>
 +
</tr>}} {{#if:{{{variants|}}}|<tr>
 +
    <th>Variants</th>
 +
    <td>{{{variants}}}</td>
 
</tr>}} {{#if:{{{patron_deity|}}}|<tr>
 
</tr>}} {{#if:{{{patron_deity|}}}|<tr>
 
     <th>Patron Deity</th>
 
     <th>Patron Deity</th>
Line 33: Line 33:
 
     <th>Language</th>
 
     <th>Language</th>
 
     <td>{{{language}}}</td>
 
     <td>{{{language}}}</td>
</tr>}} {{#if:{{{subraces|}}}|<tr>
 
    <th>Subraces</th>
 
    <td>{{{subraces}}}</td>
 
 
</tr>}} {{#if:{{{climate|}}}|<tr>
 
</tr>}} {{#if:{{{climate|}}}|<tr>
 
     <th>Climate</th>
 
     <th>Climate</th>
Line 89: Line 86:
 
Example usage:
 
Example usage:
 
<pre>
 
<pre>
{{Infobox creature
+
{{Infobox race
 
   | title                =  
 
   | title                =  
 
   | image                =  
 
   | image                =  
 
   | caption              =  
 
   | caption              =  
   | type                 =  
+
   | race                 =  
   | subtype              =  
+
   | subraces              =  
   | alignment            =
+
   | variants             =  
  | challenge             =  
 
 
   | patron_deity          =  
 
   | patron_deity          =  
 
   | vision                =  
 
   | vision                =  
Line 104: Line 100:
 
   | location              =  
 
   | location              =  
 
   | language              =  
 
   | language              =  
  | subraces              =
 
 
   | climate              =  
 
   | climate              =  
 
   | terrain              =  
 
   | terrain              =  
Line 120: Line 115:
 
   | based                =  
 
   | based                =  
 
   | 5e_equivalence        =  
 
   | 5e_equivalence        =  
 +
  | alignment            =
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 20:32, 7 August 2021

Infobox race

Example usage:

{{Infobox race
  | title                 = 
  | image                 = 
  | caption               = 
  | race                  = 
  | subraces              = 
  | variants             = 
  | patron_deity          = 
  | vision                = 
  | active_cycle          = 
  | diet                  = 
  | lifespan              = 
  | location              = 
  | language              = 
  | climate               = 
  | terrain               = 
  | height                = 
  | length                = 
  | wingspan              = 
  | weight                = 
  | skin_color            = 
  | hair_color            = 
  | feathers              = 
  | eye_color             = 
  | build                 = 
  | distinctions          = 
  | first                 = 
  | based                 = 
  | 5e_equivalence        = 
  | alignment             = 
}}