Difference between revisions of "Template:Infobox NPC"

From OtanWiki
Line 18: Line 18:
 
     <th>Nationality</th>
 
     <th>Nationality</th>
 
     <td>{{{nationality}}}</td>
 
     <td>{{{nationality}}}</td>
</tr>}} {{#if:{{{class_lvl|}}}|<tr>
+
</tr>}} {{#if:{{{archetype|}}}|<tr>
     <th>Class (lvl)</th>
+
     <th>Archetype</th>
     <td>{{{class_lvl}}}</td>
+
     <td>{{{archetype}}}</td>
 
</tr>}} {{#if:{{{alignment|}}}|<tr>
 
</tr>}} {{#if:{{{alignment|}}}|<tr>
 
     <th>Alignment</th>
 
     <th>Alignment</th>
Line 63: Line 63:
 
     <th>Associates</th>
 
     <th>Associates</th>
 
     <td>{{{associates}}}</td>
 
     <td>{{{associates}}}</td>
 +
</tr>}} {{#if:{{{5e_equivalence|}}}|<tr>
 +
    <th>5e_equivalence</th>
 +
    <td>{{{5e_equivalence}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>
Line 77: Line 80:
 
   | race              =  
 
   | race              =  
 
   | nationality      =  
 
   | nationality      =  
   | class_lvl         =  
+
   | archetype         =  
 
   | alignment        =  
 
   | alignment        =  
 
   | religion          =  
 
   | religion          =  
Line 92: Line 95:
 
   | children          =  
 
   | children          =  
 
   | associates        =  
 
   | associates        =  
 +
  | 5e_equivalence    =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 22:38, 18 March 2021

Infobox NPC

Example usage:

{{Infobox NPC
  | title             = 
  | image             = 
  | caption           = 
  | native_name       = 
  | titles            = 
  | honours           = 
  | race              = 
  | nationality       = 
  | archetype         = 
  | alignment         = 
  | religion          = 
  | home              = 
  | born_yr_place     = 
  | died_yr_place     = 
  | other_homes       = 
  | special_abilities = 
  | special_items     = 
  | properties_owned  = 
  | factions          = 
  | spouse            = 
  | parents           = 
  | children          = 
  | associates        = 
  | 5e_equivalence    = 
}}