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

From NSV13
Jump to navigationJump to search
m
m (adds more maps)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Sidebar
 
{{Sidebar
| name = {{{name|{{PAGENAME}}}}}
+
| name = Template:Meta-Sidebar-Location
| pretitle =
+
| pretitle = {{{areatype|General}}}
 
| title = {{{area|NSV13:Test_area}}}
 
| title = {{{area|NSV13:Test_area}}}
 
| style = width:auto;background:#f5faff;font-size:90%;line-height:1.6em;
 
| style = width:auto;background:#f5faff;font-size:90%;line-height:1.6em;
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 = {{{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]]}}
 
| heading3 = {{#ifeq: {{{aether|}}}|{{{aether|2}}}|[[{{{area|NSV13:Test_area}}} (Aetherwhisp)|Aetherwhisp]]}}
 
| heading3 = {{#ifeq: {{{aether|}}}|{{{aether|2}}}|[[{{{area|NSV13:Test_area}}} (Aetherwhisp)|Aetherwhisp]]}}
 
| heading4 = {{#ifeq: {{{jeppison|}}}|{{{jeppison|2}}}|[[{{{area|NSV13:Test_area}}} (Jeppison)|Jeppison]]}}
 
| heading4 = {{#ifeq: {{{jeppison|}}}|{{{jeppison|2}}}|[[{{{area|NSV13:Test_area}}} (Jeppison)|Jeppison]]}}
 +
| heading5 = {{#ifeq: {{{hammerhead}}}|{{{hammerhead|2}}}|[[{{{area|NSV13:Test_area}}} (Hammerhead)|Hammerhead]]}}
 +
| heading6 = {{#ifeq: {{{vago}}}|{{{vago|2}}}|[[{{{area|NSV13:Test_area}}} (Vago)|Vago]]}}
 +
| heading7 = {{#ifeq: {{{gladius}}}|{{{gladius|2}}}|[[{{{area|NSV13:Test_area}}} (Gladius)|Gladius]]}}
 +
| heading8 = {{#ifeq: {{{eclipse}}}|{{{eclipse|2}}}|[[{{{area|NSV13:Test_area}}} (Eclipse)|Eclipse]]}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 05:15, 26 December 2020

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

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

Usage[edit source]

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.