Difference between revisions of "Template:Locations"

From Sytherian Legends
Jump to: navigation, search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category: Getting Started Templates]]</noinclude>
 
 
<includeonly>
 
<includeonly>
 
<!--BEGIN CATEGORIZATION-->
 
<!--BEGIN CATEGORIZATION-->
Line 7: Line 6:
 
<div class="mw-main-headline" style="margin-left:1px;"><p>{{{Name}}}</p></div>
 
<div class="mw-main-headline" style="margin-left:1px;"><p>{{{Name}}}</p></div>
 
<div class="ie_inner_wrapper">
 
<div class="ie_inner_wrapper">
<div style="float:right;margin-right:0.9em;margin-left:0.9em;">
+
<div id="pop-cat-table-wrap"><!--
[[File:{{{Image}}}|center|top|thumb|400px|]]
+
 
 +
Little Help Icon
 +
 
 +
--><span style="position:relative; float:right; font-size:70%;">[[File:Help.png|{{{buttonsize|16px}}}|link=Help:Template Fields#Location Template|Location Template Help]]</span>
 +
 
 +
<div>
 +
 
 +
<TABLE align="center" style="background-color:#fff;">
 +
 
 +
    <TR>
 +
 
 +
      <TD valign="top">[[File:{{{Image}}}|left|top|500px|]]</TD>
 +
 
 +
  <TD valign="top"><div id="infobox" style="width:300px; float:right; clear:none; margin:0 0 1em 1em; border:2px solid #113c59; border-radius:10px; background:#0c1e2a; padding:10px; color:white!important; #infobox a:link { color:#FFFFFF; };">
 +
 
 +
<div style="width:350px; height:22px; padding-top:3px; margin-left:-25px; border-radius:10px; text-align:center; font-size:16px; font-weight:bold; line-height:1em; color:white; background-color:#113c59;">General Information
 
</div>
 
</div>
  
{{#if: {{{PopulationHeader|}}}{{{Population|}}} |{{{{SITENAME}}:Header|Header={{{PopulationHeader|Population}}}}}
+
{{#if: {{{Name|}}} | {{Infobox Line
{{{Population}}}  
+
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''FULL NAME''' }}
 +
| right  = {{{Name}}}
 +
}} }}<!--
 +
 
 +
-->{{#if: {{{Leader|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''LEADER''' }}
 +
| right  = {{{Leader}}}
 +
}} }}<!--
 +
 
 +
-->{{#if: {{{CurrentLeader|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''CURRENT LEADER''' }}
 +
| right  = {{{CurrentLeader}}}
 +
}} }}<!--
 +
 
 +
--><br clear="all"/>{{#if: {{{Plane|}}}{{{Continent|}}}{{{Region|}}}{{{Districts|}}} |<div style="width:320px;margin-left:-10px;text-align:center;line-height:1.5em;background-color:#113c59;">'''Location Information'''</div>}}<!--
 +
 
 +
-->{{#if: {{{Plane|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''PLANE''' }}
 +
| right  = {{{Plane}}}
 +
}} }}<!--
 +
 
 +
-->{{#if: {{{Continent|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''CONTINENT''' }}
 +
| right  = {{{Continent}}}
 +
}} }}<!--
 +
 
 +
-->{{#if: {{{Region|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''REGION''' }}
 +
| right  = {{{Region}}}
 +
}} }}<!--
 +
 
 +
-->{{#if: {{{Districts|}}} | {{Infobox Line
 +
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''DISTRICTS''' }}
 +
| right  = <div style="column-count:1;-moz-column-count:1;-webkit-column-count:1">{{{Districts}}}</div>
 +
}} }}<!--
  
{{#if: {{{GovernmentHeader|}}}{{{Government|}}} |{{{{SITENAME}}:Header|Header={{{GovernmentHeader|Government}}}}}
+
--><br clear="all"/>{{#if: {{{Population|}}}{{{Affiliation|}}} |<div style="width:320px;margin-left:-10px;text-align:center;line-height:1.5em;background-color:#113c59;">'''Societal Information'''</div>}}<!--
{{{Government}}}  
 
  
{{#if: {{{DefenseHeader|}}}{{{Defense|}}} |{{{{SITENAME}}:Header|Header={{{DefenseHeader|Defense}}}}}
+
-->{{#if: {{{Population|}}} | {{Infobox Line
{{{Defense}}}  
+
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''POPULATION''' }}
 +
| right  = <div style="column-count:1;-moz-column-count:1;-webkit-column-count:1">{{{Population}}}</div>
 +
}} }}<!--
  
{{#if: {{{CommerceHeader|}}}{{{Commerce|}}} |{{{{SITENAME}}:Header|Header={{{CommerceHeader|Commerce}}}}}
+
-->{{#if: {{{Affiliation|}}} | {{Infobox Line
{{{Commerce}}}  
+
| width  = 120px
 +
| widthr = 180px
 +
| left  = {{InfoButton | '''AFFILIATION''' }}
 +
| right  = {{{Affiliation}}}
 +
}} }}
  
{{#if: {{{OrganizationsHeader|}}}{{{Organizations|}}} |{{{{SITENAME}}:Header|Header={{{OrganizationsHeader|Organizations}}}}}
+
</div>
{{{Organizations}}}  
+
        </TD>
 +
    </TR>
 +
</TABLE>
 +
 
 +
</div>
 +
 
 +
__TOC__
 +
 
 +
== Settlement Overview ==
 +
'''{{{GovernmentHeader|Government}}}: '''{{{Government}}}</br>
 +
'''{{{DefenseHeader|Defense}}}: '''{{{Defense}}}</br>
 +
'''{{{CommerceHeader|Commerce}}}: '''{{{Commerce}}}</br>
 +
'''{{{OrganizationsHeader|Organizations}}}: '''{{{Organizations}}}</br></br>
  
 
{{{Overview}}}  
 
{{{Overview}}}  
 +
{{#if: {{{CustomHeader|}}}{{{Custom|}}} |{{{{SITENAME}}:Header|Header={{{CustomHeader|Custom Header}}}}}
 +
{{{Custom}}}
 +
 +
}}{{#if: {{{GovDetails|}}} |{{{{SITENAME}}:Header|Header={{{GovDetailsHeader|Government}}}}}
 +
{{{GovDetails}}}
 +
 +
}}{{#if: {{{Crime|}}} |{{{{SITENAME}}:Header|Header={{{CrimeHeader|Crime}}}}}
 +
{{{Crime}}}
 +
 +
}}{{#if: {{{Geography|}}} |{{{{SITENAME}}:Header|Header={{{GeographyHeader|Geography}}}}}
 +
{{{Geography}}} 
 +
 +
}}{{#if: {{{Locations|}}} |{{{{SITENAME}}:Header|Header={{{LocationsHeader|Notable Locations}}}}}
 +
{{{Locations}}} 
 +
 +
}}{{#if: {{{People|}}} |{{{{SITENAME}}:Header|Header={{{PeopleHeader|Notable People}}}}}
 +
{{{People}}} 
 +
 +
}}
  
 
<br clear="all" />
 
<br clear="all" />
 
</div>
 
</div>
 
</div>
 
</div>
</includeonly>
+
</includeonly><noinclude>
 +
__NOEDITSECTION__
 +
[[Category:Templates|L {{PAGENAME}}]]
 +
[[Category:Page Templates|{{PAGENAME}}]]
 +
{{{{FULLPAGENAME}}/Documentation}}
 +
</noinclude>

Latest revision as of 15:08, 21 March 2021

Usage

Empty Syntax (Standard Options)


{{Template:Locations
| Image                   =
 
| Name                    = 
| Leader                  =
| CurrentLeader           =
| Plane                   =
| Continent               =
| Region                  =
| Districts               =
| Population              = 
| Affiliation             =

| Government              = 
| Defense                 = 
| Commerce                = 
| Organizations           = 

| Overview                = 

| CustomHeader            = 
| Custom                  =
| GovDetails              =
| Crime                   = 
| Geography               = 
| Locations               = 
| People                  =

}}