Template:Area/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
mNo edit summary
m 24 revisions imported
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{no box ad}}
__NOEDITSECTION__ {{no box ad}}
<table cellpadding="3" style="float:right; background-color:#90FF8E;
<table cellpadding="3" style="float:right; background-color:#316a2f;
   border:1em white; border-style:none none solid solid"
   border:2em white; border-style:none none none none"
>
>
   <tr style="font-size:85%; line-height:85%; text-align:right">
   <tr style="font-size:85%; line-height:85%; text-align:right">
     <td colspan="2" style="font-style:italic"> Area </td>
     <td colspan="2" style="font-style:italic"> Area </td>
   </tr>
   </tr>
   <tr style="font-size:125%; background-color:#83E580">
   <tr style="font-size:125%; background-color:#5a8859">
     <th colspan="2"> {{{name}}} </th>
     <th colspan="2"> {{{name}}} </th>
   </tr>
   </tr>
  {{#if: {{{west|}}} |
    <tr>
      <td colspan="2" style="text-align: center">
        <div style="position: relative; width: 160px; height: 160px; overflow: hidden">
          <div style="position: relative;
            left: -{{#expr: (({{{west}}} + {{{east}}}) * 384 / 6150) - 80}}px;
            top: -{{#expr: (({{{north}}} + {{{south}}}) * 384 / 6150) - 80}}px
          ">[[Image:World_Map.jpg]]</div>
        </div>
      </td>
    </tr>
  }}
   <tr>
   <tr>
     <td>'''[[Realm]]:'''</td>
     <td>'''[[Realm]]:'''</td>
     <td>[[{{{realm}}}]] [[Image:{{{realm}}} shield small.png|16px]]</td>
     <td>[[{{{realm}}}]] {{area/icon|realm={{{realm}}}|region={{{region}}}}}</td>
   </tr>
   </tr>
  {{#if: {{{region|}}} |
    <tr>
      <td>'''Region:'''</td>
      <td>[[{{{region}}}]]</td>
    </tr>
  }}
   <tr>
   <tr>
     <td>'''Inhabitants:'''</td>
     <td>'''Inhabitants:'''</td>
     <td>[[{{{name}}} NPCs|{{PAGESINCAT:{{{name}}} NPCs}}]]</td>
     <td><!--
    -->{{#ifeq: {{PAGESINCAT:{{{name}}} NPCs}} | 0
        | None
        | [[{{{name}}} NPCs|{{PAGESINCAT:{{{name}}} NPCs}}]]
      }}<!--
  --></td>
   </tr>
   </tr>
</table>
</table>
Line 24: Line 47:
<includeonly>{{#if: {{{type|}}} | {{stub|town}} | {{stub}} }}</includeonly>
<includeonly>{{#if: {{{type|}}} | {{stub|town}} | {{stub}} }}</includeonly>
}}
}}
<div style="clear:left"></div>
{{#ifeq: {{PAGESINCAT:{{{name}}} NPCs}} | 0
|
{{#if: {{{seealso|}}} |
== See also ==
{{{seealso}}}
}}
|
== See also ==
== See also ==
*[[{{{name}}} NPCs]]
*[[{{{name}}} NPCs]]
*[[{{{name}}} map]]
{{{seealso|}}}
{{{seealso|}}}
 
}}
<includeonly>
<includeonly>
[[Category:Map Areas]]
[[Category:Map Areas]] [[Category:{{{realm}}} Map Areas]]
[[Category:{{{realm}}} Map Areas]]
[[Category:{{{region}}} Areas]] [[Category:{{{realm}}} {{{region}}} Areas]]
{{#ifeq: {{ifempty | {{{type|}}} | area }} | area
{{#switch: {{{type|}}}
   | <!-- do nothing -->
  | area | =
  | [[Category:Towns]]
   | town | village | city = [[Category:Towns]] [[Category:{{{realm}}} Towns]]
    [[Category:{{{realm}}} Towns]]
}}
}}
</includeonly>
</includeonly>

Latest revision as of 21:54, 6 November 2020

Area
{{{name}}}
Realm: [[{{{realm}}}]] [[Image:{{{realm}}} Shield Icon.png|16px]]
Inhabitants: None

{{{name}}} is an area of the [[{{{realm}}}]] realm.