Difference between revisions of "Template:Area/Layout"

From FreewarWiki
Jump to: navigation, search
m
(update)
Line 1: Line 1:
{{TemplateWarning}}
+
<noinclude>{{TemplateWarning}}</noinclude><!--
{{GermanLinking|Name:DE={{{Name:DE|none}}}}}
+
-->{{#vardefine:layout_classname|{{#ifeq:{{{RP|none}}}|none|area|area_rp}}}}<!--
{| width="500px" style="{{Area/Colours}} double;" |
+
-->{{#vardefine:desc_title|'''{{{Name|{{PAGENAME}}}}}'''}}<!--
<!-- | width="100px" align="center" valign="middle" rowspan="3" style="{{Area/Colours}} outset 2px; margin-right:15px;"| -->
+
-->{{#vardefine:desc|{{{Description}}}}}<!--
| width="5px" rowspan="2" |
+
-->{{#vardefine:date|{{#ifeq:{{{Release date|{{{Release date|none}}}}}}|none|none|This area was on '''{{Formatdate|{{{Release date|{{{Release date}}}}}}}}''' added {{#if: {{{Thread|}}}|([{{{Thread}}} see Forum)]|}}}}}}<!--
| '''{{PAGENAME}}'''
+
--><div class="{{#var:layout_classname}}_layout" style="min-width: 750px; width: 33%; float: left; margin-right: 2em;">
|-
+
{{Layout/Head|noImage=true}}
| {{{Description}}}
+
{{#ifeq:{{{Creator|none}}}|none||<sup style="text-align: center; display: block;">The dungeon was after the map of '''{{{Creator}}}''' created.</sup>}}
|}
+
<div class="layout_leftcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
{| width="500px" |
+
<div class="layout_maplink">
{{#ifeq:{{{Date|none}}}|none||
+
'''Map:'''
{{!}} colspan="3" align="center" {{!}} <small>The area was added on '''{{{Date}}}''' {{#ifeq:{{{Creator|none}}}|none|| and created using the map of '''{{{Creator}}}'''}}.</small>
+
:<includeonly>{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{PAGENAME}}}}[[Map:{{PAGENAME}}|&nbsp;{{PAGENAME}}]]</includeonly>
{{!}}-
 
}}
 
| width="49%"| '''Map:'''
 
:{{Link-Image|Image=http://www.fwwiki.org/images/0/03/12px-Earth.png|Link=Map:{{PAGENAME}}}}[[Map:{{PAGENAME}}|&nbsp;{{PAGENAME}}]]
 
 
{{#ifeq:{{{MapAddition|none}}}|none||
 
{{#ifeq:{{{MapAddition|none}}}|none||
:{{Link-Image|Image=http://www.fwwiki.org/images/0/03/12px-Earth.png|Link=Map:{{{MapAddition}}}}}[[Map:{{{MapAddition}}}|&nbsp;{{{MapAddition}}}]]
+
:{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{{MapAddition}}}}}[[Map:{{{MapAddition}}}|&nbsp;{{{MapAddition}}}]]
 
}}
 
}}
| &nbsp;
+
</div>
| width="49%" | '''Places:'''
+
{{#ifeq:{{{Dungeons|none}}}|none||
An overview of the important places in this area can be found [[:Category:{{PAGENAME}} (Places)|here]]. <br/>A detailed list of all the fields in this area can be found [[Fields:{{PAGENAME}}|here]].
+
<div class="layout_dungeons">
 +
'''Dungeons:'''
 +
{{{Dungeons}}}
 +
</div>}}{{#ifeq:{{{NPC|none}}}|none||
 +
<div class="layout_npcs">
 +
'''NPCs:'''
 +
 
 +
{{{NPC}}}
 +
</div>}}
 +
</div>
 +
<div class="layout_rightcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
 +
<div class="layout_locations">
 +
'''Places:'''
 +
{{#ifeq:{{NAMESPACE}}|Template||<br />Genauere Informationen zu diesem Gebiet findest du in der [[:Category:{{PAGENAME}} (Places)|Overview of important places]] and the [[Fields:{{PAGENAME}}|Fields list]].}}
 
{{#ifeq:{{{MapAddition|none}}}|none||
 
{{#ifeq:{{{MapAddition|none}}}|none||
<br/>[[Fields:{{{MapAddition}}}|Here]] you can find a detailed list of all the fields of a particular part of {{PAGENAME}}{{#if:{{{FieldArticle|}}} | . |<nowiki>:</nowiki>
+
<br/>[[Fields:{{{MapAddition}}}|Here]] findest du eine genaue Liste aller Felder eines Teiles {{PAGENAME}}s{{#if:{{{FieldArticle|}}} | . |<nowiki>:</nowiki>
 
<br/>[[{{{MapAddition}}}]]}}}}
 
<br/>[[{{{MapAddition}}}]]}}}}
{{#ifeq:{{{Dungeons|none}}}{{{Control TowerX|none}}}|nonenone||
+
</div>
{{!}}-
+
{{#ifeq:{{{ControltowerX|none}}}|none||
{{!}} {{#ifeq:{{{Dungeons|none}}}|none||'''Dungeons:'''
+
<div class="layout_controltower">
{{{Dungeons}}}
+
'''Controltower:'''
}}
+
Auf dem Feld X: {{{ControltowerX}}}, Y: {{{Controltowery}}} in diesem Gebiet steht ein [[Controltower]].
{{!}} &nbsp;
+
</div>}}{{#ifeq:{{{Quest|none}}}|none||
{{!}} {{#ifeq:{{{Control TowerX|none}}}|none||'''Control Tower:'''
+
<div class="layout_quest">
On the field X: {{{Control TowerX}}}, Y: {{{Control TowerY}}} in this area you can find a [[Control Tower]].
+
'''Quests:'''
}}
+
This area belongs to one or more [[Quest:{{{Quest}}}|Quest]]s.
}}
+
</div>}}
{{#ifeq:{{{NPC|none}}}{{{Quest|none}}}|nonenone||
+
</div>
{{!}}-
 
{{!}} {{#ifeq:{{{NPC|none}}}|none||'''NPCs:'''
 
{{{NPC}}}
 
}}
 
{{!}} &nbsp;
 
{{!}} {{#ifeq:{{{Quest|none}}}|none||'''Quests:'''
 
One or more [[Quest:{{{Quest}}}|Quest]]s belong to this area.
 
}}
 
}}
 
 
{{#ifeq:{{{Plants|none}}}|none||
 
{{#ifeq:{{{Plants|none}}}|none||
{{!}}-
+
<div class="layout_plants">
{{!}} colspan="3" {{!}} '''Plants:'''<br />
+
'''Plants:'''
 +
 
 
{{{Plants}}}
 
{{{Plants}}}
}}
+
</div>}}{{#ifeq:{{{History|none}}}|none||
{{#ifeq:{{{History|none}}}|none||
+
<div class="layout_history">
{{!}}-
+
'''History:'''
{{!}} colspan="3" {{!}} '''History:'''<br />
+
 
 
{{{History}}}
 
{{{History}}}
}}
+
</div>}}{{#ifeq:{{{Miscellaneous|none}}}|none||
{{#ifeq:{{{Miscellaneous|none}}}|none||
+
<div class="layout_miscellanea">
{{!}}-
+
'''Miscellaneous:'''
{{!}} colspan="3" {{!}} '''Miscellaneous:'''<br />
+
 
 
{{{Miscellaneous}}}
 
{{{Miscellaneous}}}
 +
</div>}}
 +
</div>
 +
 +
{{#ifeq:{{{Map|}}}|none||
 +
<div class="gebiet_auf_karte" style="float: left;">{{AreaOnMap|Area={{PAGENAME}}}}</div>
 
}}
 
}}
{{#ifeq:{{{Map}}}|none||
+
<br style="clear: both;">
{{!}}-
+
{{ForAll|{{{Name|{{PAGENAME}}}}}}}
{{!}} colspan="3" {{!}} '''Location:'''
+
 
{{AreaOnMap|Area={{PAGENAME}}}}}}
 
{{#ifeq:{{{X1|none}}}|none||
 
{{!}}-
 
{{!}} colspan="3" {{!}} '''Location:'''
 
{{AreaOnMap|X1={{{X1}}}|X2={{{X2}}}|Y1={{{Y1}}}|Y2={{{Y2}}}|Area={{{Area}}}}}
 
}}
 
|}
 
{{ForAll}}
 
 
{{#ifeq:{{NAMESPACE}}||
 
{{#ifeq:{{NAMESPACE}}||
[[Category:Areas]]
+
[[Category:Area]]
[[Category:{{PAGENAME}} (Places)|!{{PAGENAME}}]]
+
[[Category:{{PAGENAME}} (Locations)|!{{PAGENAME}}]]
 
}}
 
}}
 
<noinclude>
 
<noinclude>
{{Template Documentation|This template contains the source code for Area articles.|This template can be incorporated by using '''<tt><nowiki>{{Area/Layout}}</nowiki></tt>'''. The parameters are given in [[Template:Area]]. It will be incorporated automatically.}}
+
{{Documentation}}
[[Category:ArticleLayout|Area/]]
+
 
 +
[[Category:ArticleLayout|Area]]
 
</noinclude>
 
</noinclude>

Revision as of 05:06, 24 January 2017

Error creating thumbnail: Unable to save thumbnail to destination
   This template is designed to be used in other articles. You will not need to change it when creating another article. If you need help when using it, have a look at our help page. Parameters and optional parameters can be found here. Please take the template convention into account.

Your FreewarWiki-Team

Area/Layout

{{{Description}}}

Release date unknown.

Places:


Gesamtkarte Kontinent (automatisch generiert).jpg
Map Narubia (automatically generated).jpg
Map Itolos (automatically generated).jpg
Map Frozen Island (automatically generated).jpg
Map Belpharia Islands (automatically generated).jpg
Map Darkfrost Island (automatically generated).jpg





[Create] Documentation

No documentation page has been created for this template. If you are familiar with this template, you should create a documentation page. For more information, see Help:Templates.