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

From NSV13
Jump to navigationJump to search
m (Float left. Fucking template conflicts.)
m
Line 7: Line 7:
 
| headingstyle = padding:0.1em 0.25em 0.15em;
 
| headingstyle = padding:0.1em 0.25em 0.15em;
 
| above = Maps
 
| above = Maps
| float = left
+
| float = {{{float|right}}}
 
| heading1 = {{#ifeq: {{{tycoon|}}}|{{{tycoon|2}}}| [[{{{area|NSV13:Test_area}}} (Tycoon)|Tycoon]]}}
 
| heading1 = {{#ifeq: {{{tycoon|}}}|{{{tycoon|2}}}| [[{{{area|NSV13:Test_area}}} (Tycoon)|Tycoon]]}}
 
| heading2 = {{#ifeq: {{{sausage|}}}|{{{sausage|2}}}|[[{{{area|NSV13:Test_area}}} (Sausage)|Jolly Sausage]]}}
 
| heading2 = {{#ifeq: {{{sausage|}}}|{{{sausage|2}}}|[[{{{area|NSV13:Test_area}}} (Sausage)|Jolly Sausage]]}}

Revision as of 13:15, 9 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.