Difference between revisions of "Template:Infobox faction"

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-...")
 
 
(One intermediate revision 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" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 320px;" >
 
<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:{{{country|}}}|<tr>
    <td>{{{caption}}}</td>
 
</tr>}} {{#if:{{{country|}}}|<tr>
 
 
     <th>Country</th>
 
     <th>Country</th>
 
     <td>{{{country}}}</td>
 
     <td>{{{country}}}</td>
Line 49: Line 47:
 
Example usage:
 
Example usage:
 
<pre>
 
<pre>
{{Infobox settlement
+
{{Infobox faction
 
   | title          =  
 
   | title          =  
 
   | image          =  
 
   | image          =  

Latest revision as of 22:16, 11 April 2021

Infobox faction

Example usage:

{{Infobox faction
  | title          = 
  | image          = 
  | caption        = 
  | country        = 
  | region         = 
  | location       = 
  | leader         = 
  | government     = 
  | headquarters   = 
  | membership     =
  | associations   = 
  | religion       = 
  | racial_mix     = 
  | founded_date   = 
  | founded_by     = 
  | luminaries     = 
}}