Difference between revisions of "Template:Infobox landmark"

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-...")
 
 
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:{{{native_name|}}}|<tr>
    <td>{{{caption}}}</td>
 
</tr>}} {{#if:{{{native_name|}}}|<tr>
 
 
     <th>Native Name</th>
 
     <th>Native Name</th>
 
     <td>{{{native_name}}}</td>
 
     <td>{{{native_name}}}</td>

Latest revision as of 12:00, 19 February 2021

Infobox landmark

Example usage:

{{Infobox landmark
  | title          = 
  | image          = 
  | caption        = 
  | native_name    = 
  | type           = 
  | country        = 
  | region         = 
  | location       = 
  | dimensions     = 
  | controlled_by  = 
  | population     = 
  | racial_mix     = 
  | built_date     = 
  | built_by       = 
  | features       = 
  | associations   = 
}}