Jump to content

Template:Zone: Difference between revisions

From Drifters Almanac
mNo edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="zone-template">
<includeonly>{{DISPLAYTITLE:{{{zone_name}}}}}</includeonly>
'''{{{zone_name|{{PAGENAME}}}}}'''
{{#if:{{{zone_map|}}}|[[File:{{{zone_map}}}|thumb|{{{zone_name}}}]]|[[File:Image_Placeholder.png|thumb|Map Image Needed]]}}
<!--
<!--
== Usage ==
==========================
      OVERVIEW         
==========================
-->{{#if:{{{zone_intro|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Overview</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{{zone_intro|}}}
}}</div><!--
==========================
      CONNECTIONS         
==========================
-->{{#if:{{{connections|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Connections</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#invoke:ListLinks|fromDelimited|1={{{connections}}}|delimiter=, }}
}}</div><!--
==========================
        QUESTS         
==========================
-->{{#if:{{{quests|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Quests</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#invoke:QuestLinks|fromDelimited|1={{{quests}}}|delimiter=, }}
}}</div><!--
==========================
      RESOURCE NODES     
==========================
-->{{#ifexpr:{{#ask:[[Category:Resource Nodes]][[Location::{{PAGENAME}}]]|format=count}} > 0|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Resource Nodes</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#invoke:ListLinks|fromDelimited|1={{#ask:[[Category:Resource Nodes]][[Location::{{PAGENAME}}]]|format=plainlist|link=none}}|delimiter=, }}
</div></div>
}}<!--
==========================
      NAMED MOBS     
==========================
-->{{#ifexpr:{{#ask:[[Category:Named Mobs]][[Location::{{PAGENAME}}]]|format=count}} > 0|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Named Mobs</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#invoke:SmartMobLinks|fromDelimited|1={{#ask:[[Category:Named Mobs]][[Location::{{PAGENAME}}]]|format=plainlist|link=none}}|delimiter=, }}
</div></div>
}}<!--
==========================
      COMMON MOBS     
==========================
-->{{#ifexpr:{{#ask:[[Category:Mobs|+depth=0]][[Location::{{PAGENAME}}]]|format=count}} > 0|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Common Mobs</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
<!-- {{#invoke:SmartMobLinks|fromDelimited|1={{#ask:[[Category:Mobs|+depth=0]][[Location::{{PAGENAME}}]]|format=plainlist|link=none}}|delimiter=, }} -->
{{#invoke:ZoneMobLinks|fromDelimited|1={{#ask:[[Category:Mobs|+depth=0]][[Location::{{PAGENAME}}]]|format=plainlist|link=none}}|delimiter=, }}
</div></div>
}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Zones]]</includeonly>


{{Zone
<includeonly><div style="display:none">
|zone name=
|map image file=
|zone scenery image file=
|description=
|connections=
|harvest resources=
|common mobs=
|named mobs=
|quests=
}}


-->
<span style="display:none">{{#default_form:Zone}}</span>
[[File:{{{map image file}}}|thumb|Map of {{{zone name}}}]]
</div></includeonly>
{{#if: {{{connections}}}
|<h2> Connections </h2>
|{{{connections}}}
}}
{{#if: {{{quests}}}
|<h2> Quests </h2>
|{{{quests}}}
}}
{{#if: {{{harvest resources}}}
|<h2> Resource Nodes </h2>
|{{{harvest resources}}}
}}
{{#if: {{{named mobs}}}
|<h2> Named Mobs </h2>
|{{{named mobs}}}
}}
{{#if: {{{common mobs}}}
|<h2> Common Mobs </h2>
|{{Div col||colwidth=20em}}
|{{{common mobs}}}
|{{Div col end}}
}}
[[Category:Zones]]

Latest revision as of 13:20, 20 February 2026

Zone

Map Image Needed