Difference between revisions of "Template:Fieldsummary/Layout"

From FreewarWiki
Jump to: navigation, search
(Created page with '{{TemplateWarning}} {| style="border:outset 2px;" rules="all" cellspacing="0" cellpadding="4" |colspan="3" style="background:#ddccaa;"|<div id="{{{X}}},{{{Y}}}">'''{{{Name}}}'''…')
 
(-)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TemplateWarning}}
+
<noinclude>{{TemplateWarning}}</noinclude>{{GermanLinking|Name:DE={{{Name:DE|none}}}}}
{| style="border:outset 2px;" rules="all" cellspacing="0" cellpadding="4"  
+
{{#ifeq:Map|{{#ifeq:{{NAMESPACE}}|Map|Map|{{PAGENAME}}}}|{{{Passage}}}|{{#ifeq:{{NAMESPACE}}|Template||
|colspan="3" style="background:#ddccaa;"|<div id="{{{X}}},{{{Y}}}">'''{{{Name}}}'''</div>
+
{{{!}} style="border:outset 2px;" rules="all" cellspacing="0" cellpadding="4"  
|-
+
{{!}}colspan="3" style="background:#ddccaa;"{{!}}<div id="{{{X}}},{{{Y}}}">'''{{{Name}}}'''<span style="float:right">[[#top|▲ top of page]]</span></div>
|rowspan={{#ifeq:{{{Note|none}}}|none|2|3}} style="width:60px; background:#ddccaa;"|{{{Image}}}
+
{{!}}-
|rowspan={{#ifeq:{{{Note|none}}}|none|2|3}} style="width:60px;"|<center>X:{{{X}}}<br />Y:{{{Y}}}</center>
+
{{!}}rowspan={{#ifeq:{{{Note|none}}}|none|2|3}} style="width:60px; background:#ddccaa;"{{!}}{{{Image}}}
|style="width:100%"|{{{Description}}}
+
{{!}}rowspan={{#ifeq:{{{Note|none}}}|none|2|3}} style="width:60px;"{{!}}<center>X:{{{X}}}<br />Y:{{{Y}}}</center>
|-
+
{{!}}style="width:100%"{{!}}{{{Description}}}
|'''NPCs:''' {{{NPC|none}}} <br/>
+
{{!}}-
{{#ifeq:{{{SeeAlso|none}}}{{{Quest|none}}}{{{Friendly|none}}}{{{False|none}}}{{{Place|none}}}{{{Passage|none}}}{{{PassageSpecial|none}}}|nonenoneneinnonenonenonenone||'''Miscellaneous:'''
+
{{!}}'''NPCs:''' {{{NPC|''none''}}} <br/>
 +
{{#ifeq:{{{Seealso|none}}}{{{Quest|none}}}{{{Friendly|none}}}{{{False|none}}}{{{Place|none}}}{{{Passage|none}}}{{{PassageSpecial|none}}}|nonenoneneinnonenonenonenone||'''Miscellaneous:'''
 
}}{{#ifeq:{{{Ort|none}}}|none||
 
}}{{#ifeq:{{{Ort|none}}}|none||
* At this location there is a separate article: [[{{{Ort}}}]]
+
* To this place there is a separate article: [[{{{Place}}}]]
 +
}}{{#ifeq:{{{Rebirth|none}}}|none||
 +
* This place is the birthplace of the race [[{{{Place of rebirth}}}]]
 
}}{{#ifeq:{{{Quest|none}}}|none||
 
}}{{#ifeq:{{{Quest|none}}}|none||
* At this location there is a [[{{{Quest}}}|Quest]].
+
* There is a [[{{{Quest}}}|quest]] at this location .
 
}}{{#ifeq:{{{Passage|none}}}|none||
 
}}{{#ifeq:{{{Passage|none}}}|none||
* From here one enters the area [[{{{Passage}}}]].
+
{{{Passage}}}
}}{{#ifeq:{{{PassageSpecial|none}}}|none||
 
* From here we go {{{PassageSpecial}}}.
 
 
}}{{#ifeq:{{{Teleport|none}}}|none||
 
}}{{#ifeq:{{{Teleport|none}}}|none||
 
* {{Fieldsummary/Teleporttarget|{{{Teleport}}}}}
 
* {{Fieldsummary/Teleporttarget|{{{Teleport}}}}}
}}{{#ifeq:{{{Friendly|nein}}}|none||
+
}}{{#ifeq:{{{Friendly|none}}}|none||
 
* This field is a [[Hallowed Field]].
 
* This field is a [[Hallowed Field]].
 
}}{{#ifeq:{{{SeeAlso|none}}}|none||
 
}}{{#ifeq:{{{SeeAlso|none}}}|none||
Line 27: Line 28:
 
}}{{#ifeq:{{{UV|none}}}|none||
 
}}{{#ifeq:{{{UV|none}}}|none||
 
{{{!}} style="background:#d098e7;"
 
{{{!}} style="background:#d098e7;"
 +
{{!}} <sup>These data were generated automatically and should be checked by a person and supplemented with possible quests, passages, see-also-links and notes. After that, the "UV" parameter can be removed from the template call.</sup>
 
  {{!}}} [[Category:RequestForReview]] [[Category:Incomplete]]
 
  {{!}}} [[Category:RequestForReview]] [[Category:Incomplete]]
 
}}
 
}}
Line 33: Line 35:
 
{{!}}'''Notes:''' {{{Note|}}}
 
{{!}}'''Notes:''' {{{Note|}}}
 
}}
 
}}
|}
+
{{!}}}
<br /><noinclude>
+
<br />}}}}<!--
{{Template Documentation|This template contains the source code for the Fieldsummary-Section.|This template is with '''<tt><nowiki>{{Fieldsummary/Layout}}</nowiki></tt>''' involved. The Parameters be in [[Template:Fieldsummary]] given. You will be automatically included by selfsame.}}
+
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_passages_count|{{#var:curfield_{{#var:areaname}}_passages_count|0}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_passage_1|{{#var:curfield_{{#var:areaname}}_passage_1}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_passage_2|{{#var:curfield_{{#var:areaname}}_passage_2}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_passage_3|{{#var:curfield_{{#var:areaname}}_passage_3}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_passage_4|{{#var:curfield_{{#var:areaname}}_passage_4}}}}<!--
 +
-->{{#vardefine:curfield_{{#var:areaname}}_passages_count|0}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_questpassage_quest|{{#var:curfield_{{#var:areaname}}_passage_quest}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_questpassage_area|{{#var:curfield_{{#var:areaname}}_passage_area}}}}<!--
 +
-->{{#vardefine:curfield_{{#var:areaname}}_passage_quest|}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_image|{{{Image}}}}}<!--
 +
-->{{#vardefine:mapx{{{X}}}y{{{Y}}}_area|{{#var:areaname}}}}<!--
 +
-->{{#ifeq:{{{Place|none}}}|none||{{#vardefine:mapx{{{X}}}y{{{Y}}}_place|{{{Place}}}}}}}<!--
 +
-->{{#ifeq:{{{Quest|none}}}|none||{{#vardefine:mapx{{{X}}}y{{{Y}}}_quest|{{{Quest}}}}}}}<!--
 +
-->{{#ifeq:{{{Teleport|none}}}|none||{{#vardefine:mapx{{{X}}}y{{{Y}}}_teleport|{{{Teleport}}}}}}}<!--
 +
-->{{#ifeq:{{{Rebirth|none}}}|none||{{#vardefine:mapx{{{X}}}y{{{Y}}}_rebirth|{{{Rebirth}}}}}}}<!--
 +
-->{{#if:{{{NPC|}}}|{{#ifeq:{{#regex:{{{NPC}}}|/'/|}}|none||{{#ifeq:{{#ifeq:{{{NPC}}}|??|?|{{{NPC}}}}}|?||{{#vardefine:mapx{{{X}}}y{{{Y}}}_npc|{{{NPC}}}}}}}}}}}<noinclude>
 +
{{Documentation}}
  
[[Category:ArticleLayout|Fieldsummary]]
+
[[Category:Article layout|Fieldsummary]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:52, 9 April 2018

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


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