Template:Area/Layout: Difference between revisions

From FreewarWiki
Jump to navigation Jump to search
Istrugar (talk | contribs)
update
Istrugar (talk | contribs)
Undo revision 67191 by Istrugar (talk)
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|<p style="text-align: center;">
-->{{#vardefine:desc_title|'''{{{Name|{{PAGENAME}}}}}'''}}<!--
''Positions:''<br />
-->{{#vardefine:desc|{{{Description}}}}}<!--
X:{{{X1}}}, Y:{{{Y1}}}<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)]|}}}}}}<!--
''to''<br />
--><div class="{{#var:layout_classname}}_layout" style="min-width: 750px; width: 33%; float: left; margin-right: 2em;">
X:{{{X2}}}, Y:{{{Y2}}}
{{Layout/Head|noImage=true}}
</p>
{{#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;">
{{{Description}}}
<div class="layout_maplink">
 
'''Map:'''
<small style="text-align: center;">''[[Area]]: {{Arealink|{{{Area}}}}}''</small>
:<includeonly>{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{PAGENAME}}}}[[Map:{{PAGENAME}}|&nbsp;{{PAGENAME}}]]</includeonly>
}}<!--
{{#ifeq:{{{MapAddition|none}}}|none||
-->{{#vardefine:desc_title|<strong style="text-align: center;">{{{Name|{{PAGENAME}}}}}</strong>}}<!--
:{{Link-Image|Image={{SERVER}}{{SCRIPTPATH}}/images/0/03/12px-Earth.png|Link=Map:{{{MapAddition}}}}}[[Map:{{{MapAddition}}}|&nbsp;{{{MapAddition}}}]]
-->{{#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_fields">
'''Special places:'''
{{{Places|''none''}}}
</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:'''


''none''}}}}
{{{NPC}}}
{{#ifeq:{{{AllFriendly|none}}}|none||
</div>}}
* 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>
<div class="layout_function">
{{#ifeq:{{{Control towerX|none}}}|none||
'''Function:'''
<div class="layout_controltower">
{{#if:{{{Function|}}}|
'''Control tower:'''
 
On the field X: {{{Control towerX}}}, Y: {{{Control towerY}}} is a [[Control tower]] in this area located.
{{{Function}}}|{{#ifeq:{{{Quest|none}}}|none|
</div>}}{{#ifeq:{{{Quest|none}}}|none||
 
<div class="layout_quest">
''none''}}}}
'''Quests:'''
{{#ifeq:{{{Quest|none}}}|none||
This area belongs to one or more [[Quest:{{{Quest}}}|Quest]]s.
* This area belongs to one or more [[Quest:{{{Quest}}}|Quest]].
</div>}}
}}
</div>
</div>
{{#ifeq:{{{Plants|none}}}|none||
{{#ifeq:{{{Plants|none}}}|none||
Line 61: Line 49:


{{{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:Areas]]
[[Category:Area]]
[[Category:{{{Area}}} (Places)]]
[[Category:{{PAGENAME}} (Places)|!{{PAGENAME}}]]
}}
}}
<noinclude>
<noinclude>{{GermanLinking|Name:DE={{{Name:DE|Vorlage:Gebiet/Layout}}}}}
{{Documentation}}{{GermanLinking|Name:DE={{{Name:DE|Vorlage:Gebiet/Layout}}}}}
{{Documentation}}
 
[[Category:ArticleLayout|Area]]
[[Category:ArticleLayout|Area]]
</noinclude>
</noinclude>

Revision as of 23:46, 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:




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