Difference between revisions of "Template:Location"

From WildRP
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
+
<templatestyles src="character/styles.css" />
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<table class="infobox" style="text-align: left; width: 300px; font-size: 100%; border-radius: 10px; border: 2px solid rgba(228, 184, 93, 1); overflow: hidden;" ne="0.6282946203990805">
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
+
<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold;background: #E4B85D;">
<table>{{#if:{{{param1|}}}|<tr>
+
<font color=#050B0B>{{{name}}}</th></tr></font>
    <th>Parameter 1</th>
+
<tr>
    <td>{{{param1}}}</td>
+
<td colspan="2" style="text-align:center">
</tr>}}{{#if:{{{param2|}}}|<tr>
+
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]]
    <th>Parameter 2</th>
+
 
    <td>{{{param2}}}</td>
+
<div><small>{{#if:{{{caption|}}}|{{{caption}}}}}</small></div></td></tr>
</tr>}}{{#if:{{{param3|}}}|<tr>
+
 
    <th>Parameter 3</th>
+
<tr><th colspan="2" style="text-align:center;background: #E4B85D;"><font color=#050B0B>Location Information</font></th></tr>
    <td>{{{param3}}}</td>
+
 
</tr>}}{{#if:{{{param4|}}}|<tr>
+
<tr>{{#if:{{{type|}}}|<th scope="row">Type</th>
    <th>Parameter 4</th>
+
<td>{{{type}}}}}</td></tr>
    <td>{{{param4}}}</td>
+
 
</tr>}}{{#if:{{{param5|}}}|<tr>
+
<tr>{{#if:{{{state|}}}|<th scope="row">State/Territory</th>
    <th>Parameter 5</th>
+
<td>{{{state}}}}}</td></tr>
    <td>{{{param5}}}</td>
+
 
</tr>}}</table>
+
<tr>{{#if:{{{region|}}}|<th scope="row">Region(s)</th>
</div>
+
<td>{{{region}}}}}</td></tr>
 +
 
 +
<tr>{{#if:{{{settlement|}}}|<th scope="row">Settlement</th>
 +
<td>{{{settlement}}}}}</td></tr>
 +
 
 +
<tr>{{#if:{{{events|}}}|<th scope="row">Notable Events</th>
 +
<td>{{{events}}}}}</td></tr>
 +
 
 +
<tr>{{#if:{{{current|}}}|<th scope="row">Current Inhabitants</th>
 +
<td>{{{current}}}}}</td></tr>
 +
 
 +
<tr>{{#if:{{{previous|}}}|<th scope="row">Previous Inhabitants</th>
 +
<td>{{{previous}}}}}</td></tr>
 +
 
 +
<tr>{{#if:{{{gravesites|}}}|<th scope="row">Gravesites</th>
 +
<td>{{{gravesites}}}}}</td></tr>
 +
 
 +
<th colspan="2" style="text-align:center;background: #E4B85D;"><font color=#050B0B>Location Map</font></th></tr>
 +
 
 +
<tr>
 +
<td colspan="2" style="text-align:center">
 +
[[File:{{{imagemap}}}|frameless|alt={{{altmap}}}|upright=1|{{{altmap}}}]]
 +
 
 +
</td></tr>
 +
 
 +
</table>

Latest revision as of 11:11, 8 August 2022

{{{name}}}

[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]]

Location Information
Location Map

[[File:{{{imagemap}}}|frameless|alt={{{altmap}}}|upright=1|{{{altmap}}}]]