Difference between revisions of "Template:Area/Layout"

From FreewarWiki
Jump to: navigation, search
(update)
(update)
Line 1: Line 1:
<noinclude>{{TemplateWarning}}</noinclude><!--
+
<noinclude>{{TemplateWarning}}</noinclude>
 +
<div style="float: left; margin-right: 1em;">
 +
<div class="area_layout" style="width: 33%; min-width: 650px;"><!--
 
-->{{#vardefine:layout_classname|{{#ifeq:{{{RP|none}}}|none|area|area_rp}}}}<!--
 
-->{{#vardefine:layout_classname|{{#ifeq:{{{RP|none}}}|none|area|area_rp}}}}<!--
-->{{#vardefine:desc_title|'''{{{Name|{{PAGENAME}}}}}'''}}<!--
+
-->{{#vardefine:desc|<p style="text-align: center;">
-->{{#vardefine:desc|{{{Description}}}}}<!--
+
''Positions:''<br />
-->{{#vardefine:release date|{{#ifeq:{{{Release date|{{{Release date|none}}}}}}|none|none|This area was on '''{{Formatdate|{{{Release date|{{{Release date}}}}}}}}''' added {{#if: {{{Thread|}}}|([{{{Thread}}} see Forum)]|}}}}}}<!--
+
X:{{{X1}}}, Y:{{{Y1}}}<br />
--><div class="{{#var:layout_classname}}_layout" style="min-width: 750px; width: 33%; float: left; margin-right: 2em;">
+
''to''<br />
{{Layout/Head|noImage=true}}
+
X:{{{X2}}}, Y:{{{Y2}}}
{{#ifeq:{{{Creator|none}}}|none||<sup style="text-align: center; display: block;">The dungeon was after the map of '''{{{Creator}}}''' created.</sup>}}
+
</p>
 +
 
 +
{{{Description}}}
 +
 
 +
<small style="text-align: center;">''[[Area]]: {{Arealink|{{{Area}}}}}''</small>
 +
}}<!--
 +
-->{{#vardefine:desc_title|<strong style="text-align: center;">{{{Name|{{PAGENAME}}}}}</strong>}}<!--
 +
-->{{#vardefine:release date|{{#ifeq:{{{Release date|none}}}|none|none|This area was on '''{{Formatdate|{{{Release date}}}}}''' added.}}}}<!--
 +
-->{{#vardefine:image|<div class="maplink" style="background-color:transparent;padding:2em; white-space: nowrap; text-align: left;"><div>
 +
{{Map/NewRow}}
 +
{{Map/Empty}}
 +
{{{Map}}}
 +
</div>
 +
</div>
 +
<sup>''Legend see {{Anchorlink|Legend||below}}''</sup>
 +
}}
 +
{{Layout/Head}}
 
<div class="layout_leftcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
 
<div class="layout_leftcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
<div class="layout_maplink">
+
<div class="layout_fields">
'''Map:'''
+
'''Special places:'''
:<includeonly>{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{PAGENAME}}}}[[Map:{{PAGENAME}}|&nbsp;{{PAGENAME}}]]</includeonly>
+
 
{{#ifeq:{{{MapAddition|none}}}|none||
+
{{{Places|''none''}}}
:{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{{MapAddition}}}}}[[Map:{{{MapAddition}}}|&nbsp;{{{MapAddition}}}]]
+
</div>
}}
 
 
</div>
 
</div>
{{#ifeq:{{{Dungeons|none}}}|none||
+
<div class="layout_leftcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
<div class="layout_dungeons">
+
<div class="layout_miscellaneous">
'''Dungeons:'''
+
'''Miscellaneous:'''
{{{Dungeons}}}
+
{{#if:{{{Miscellaneous|}}}|
</div>}}{{#ifeq:{{{NPC|none}}}|none||
+
 
<div class="layout_npcs">
+
{{{Miscellaneous}}}|{{#ifeq:{{{AllFriendly|none}}}|none|
'''NPCs:'''
 
  
{{{NPC}}}
+
''none''}}}}
</div>}}
+
{{#ifeq:{{{AllFriendly|none}}}|none||
 +
* All [[Place]]s in this area are [[Hallowed Field|Hallowed Fields]]. Attacks are impossible.
 +
}}
 
</div>
 
</div>
<div class="layout_rightcolumn" style="display:inline-block; width: 49%; vertical-align: top;">
 
<div class="layout_places">
 
'''Places:'''
 
{{#ifeq:{{NAMESPACE}}|Template||<br />Actual informations to this area, can you find in the [[:Category:{{PAGENAME}} (Places)|Overview of important places]] and the [[Fields:{{PAGENAME}}|Fields list]].}}
 
{{#ifeq:{{{MapAddition|none}}}|none||
 
<br/>[[Fields:{{{MapAddition}}}|Here]] can you find a exactly list of all fields of a part {{PAGENAME}}s{{#if:{{{FieldArticle|}}} | . |<nowiki>:</nowiki>
 
<br/>[[{{{MapAddition}}}]]}}}}
 
 
</div>
 
</div>
{{#ifeq:{{{Control towerX|none}}}|none||
+
<div class="layout_function">
<div class="layout_controltower">
+
'''Function:'''
'''Control tower:'''
+
{{#if:{{{Function|}}}|
On the field X: {{{Control towerX}}}, Y: {{{Control towerY}}} is a [[Control tower]] in this area located.
+
 
</div>}}{{#ifeq:{{{Quest|none}}}|none||
+
{{{Function}}}|{{#ifeq:{{{Quest|none}}}|none|
<div class="layout_quest">
+
 
'''Quests:'''
+
''none''}}}}
This area belongs to one or more [[Quest:{{{Quest}}}|Quest]]s.
+
{{#ifeq:{{{Quest|none}}}|none||
</div>}}
+
* This area belongs to one or more [[Quest:{{{Quest}}}|Quest]].
 +
}}
 
</div>
 
</div>
 
{{#ifeq:{{{Plants|none}}}|none||
 
{{#ifeq:{{{Plants|none}}}|none||
Line 49: Line 61:
  
 
{{{Plants}}}
 
{{{Plants}}}
</div>}}{{#ifeq:{{{History|none}}}|none||
 
<div class="layout_history">
 
'''History:'''
 
 
{{{History}}}
 
</div>}}{{#ifeq:{{{Miscellaneous|none}}}|none||
 
<div class="layout_miscellaneous">
 
'''Miscellaneous:'''
 
 
{{{Miscellaneous}}}
 
</div>}}
 
 
</div>
 
</div>
 +
}}</div><!-- close area_layout -->
 +
{{AreaOnMap|X1={{{X1}}}|X2={{{X2}}}|Y1={{{Y1}}}|Y2={{{Y2}}}|Area={{{Area}}}}}</div><!-- close float container -->
 +
<div class="map_legend" style="float: left;">{{Anchor|Legend}}{{Map/Legend|none}}</div>
 +
<br style="clear: both">
  
{{#ifeq:{{{Map|}}}|none||
 
<div class="area_on_map" style="float: left;">{{AreaOnMap|Area={{PAGENAME}}}}</div>
 
}}
 
<br style="clear: both;">
 
 
{{ForAll|{{{Name|{{PAGENAME}}}}}}}
 
{{ForAll|{{{Name|{{PAGENAME}}}}}}}
  
 
{{#ifeq:{{NAMESPACE}}||
 
{{#ifeq:{{NAMESPACE}}||
[[Category:Area]]
+
[[Category:Areas]]
[[Category:{{PAGENAME}} (Places)|!{{PAGENAME}}]]
+
[[Category:{{{Area}}} (Places)]]
 
}}
 
}}
<noinclude>{{GermanLinking|Name:DE={{{Name:DE|Vorlage:Gebiet/Layout}}}}}
+
<noinclude>
{{Documentation}}
+
{{Documentation}}{{GermanLinking|Name:DE={{{Name:DE|Vorlage:Gebiet/Layout}}}}}
 
 
 
[[Category:ArticleLayout|Area]]
 
[[Category:ArticleLayout|Area]]
 
</noinclude>
 
</noinclude>

Revision as of 01:20, 25 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

Legend see below

Area/Layout

Positions:
X:{{{X1}}}, Y:{{{Y1}}}
to
X:{{{X2}}}, Y:{{{Y2}}}

{{{Description}}}

Area: [[{{{Area}}}|{{{Area}}}]] 12px-Earth.png

Release date unknown.

Special places:

none

Miscellaneous: 

none

Function: 

none


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

Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".

Legend
 Place Field: move your mouse over the field, to display the name of NPCs on that field. Regarding special places, the name of the place will appear, in the lower left corner.
Field with own article. Move your mouse over the field, to display the name of NPCs on that field. Regarding special places, the name of the location will appear, in the lower left corner.
Passage to other areas/dungeons.
Passage to a random location on the surface.
Passage which can only be passed by solving a Quest.
Q is linked to a quest article, ► to the map of the destination.
Quest which is linked to this field.
Quests/-passages are not shown automatically. .
Destination of a magic sphere (colour-coded).
Destination of the Ring of the Sand Winds.
Destination of the Staff of Trade.
Destination of the House of Portals in Reikan or the Portal Machine.
Anchorage of Trading ships.
All statements are appropriate linked.





[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.