Difference between revisions of "Template:Meta-Sidebar-Location"

From NSV13
Jump to navigationJump to search
m (More testing.)
m
Line 8: Line 8:
 
| above = Maps
 
| above = Maps
  
|{{#ifeq: {{{tycoon|}}}|1| heading1 = [[{{{area|}}} (Tycoon)|Tycoon]]}}
+
|{{#ifeq: {{{tycoon|}}}|{{{tycoon}}}| heading1 = [[{{{area|}}} (Tycoon)|Tycoon]]}}
|{{#ifeq: {{{sausage|}}}|1| heading2 = [[{{{area|}}} (Sausage)|Jolly Sausage]]}}
+
|{{#ifeq: {{{sausage|}}}|{{{sausage}}}| heading2 = [[{{{area|}}} (Sausage)|Jolly Sausage]]}}
|{{#ifeq: {{{aether|}}}|1| heading3 = [[{{{area|}}} (Aetherwhisp)|Aetherwhisp]]}}
+
|{{#ifeq: {{{aether|}}}|{{{aether}}}| heading3 = [[{{{area|}}} (Aetherwhisp)|Aetherwhisp]]}}
|{{#ifeq: {{{jeppison|}}}|1| heading4 = [[{{{area|}}} (Jeppison)|Jeppison]]}}
+
|{{#ifeq: {{{jeppison|}}}|{{{jeppison}}}| heading4 = [[{{{area|}}} (Jeppison)|Jeppison]]}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 20:18, 4 August 2020

Template documentation[view] [edit] [history] [purge]

This is a meta-template for creating location navigation templates.

Usage

Map Postfixes are automatically populated as follows:

[[Arrivals ({{{area|}}})|Tycoon]]

Define the following parameters to show them in the sidebar:

  • tycoon=1
  • sausage=1
  • aether=1
  • jeppison=1
  • hammerhead=1
  • vago=1
  • gladius=1
  • eclipse=1

You must also define the type of area using:

  • areatype = General

For the correct areatype, refer to the area's placement in the location template.