Difference between revisions of "Template:Meta-Sidebar-Location"
From NSV13
Jump to navigationJump to searchm (More testing.) |
Bokkiewokkie (talk | contribs) m (adds more maps) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Sidebar | {{Sidebar | ||
− | | name = {{{ | + | | name = Template:Meta-Sidebar-Location |
− | + | | 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}}} | |
− | |{{#ifeq: {{{tycoon|}}}| | + | | heading1 = {{#ifeq: {{{tycoon|}}}|{{{tycoon|2}}}| [[{{{area|NSV13:Test_area}}} (Tycoon)|Tycoon]]}} |
− | |{{#ifeq: {{{sausage|}}}| | + | | heading2 = {{#ifeq: {{{sausage|}}}|{{{sausage|2}}}|[[{{{area|NSV13:Test_area}}} (Sausage)|Jolly Sausage]]}} |
− | |{{#ifeq: {{{aether|}}}| | + | | heading3 = {{#ifeq: {{{aether|}}}|{{{aether|2}}}|[[{{{area|NSV13:Test_area}}} (Aetherwhisp)|Aetherwhisp]]}} |
− | |{{#ifeq: {{{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
General |
NSV13:Test_area |
---|
Maps |
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.
The above documentation is transcluded from Template:Meta-Sidebar-Location/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |