Template talk:Location

From Nanya

[edit] Instructions for use

Every place should have a corresponding template "Template:Location/placename". That template should contain the line "{{Location|containingplace|placename}}". Currently, the Locations{{#if:Brass Galaxy|-->Brass Galaxy}}{{#ifeq:Location|Brass Galaxy|}} is the root place, and its template is different from the rest (containing only a link to the location it represents). The above line can fail, so preview your edit before saving. If it fails, use "{{subst:Location|containingplace|placename}}" instead.

The "Location" section of a place should contain the line "{{thisloc}}".

This template produces a series of links tracing the place hierarchy all the way from the Locations{{#if:Brass Galaxy|-->Brass Galaxy}}{{#ifeq:Location|Brass Galaxy|}} to the given place. If the given place is the current page, this template also places it in the proper category.

[edit] Syntax for this template

{{Location|containingplace|placename}} produces a series of links tracing the place hierarchy all the way from the Locations{{#if:Brass Galaxy|-->Brass Galaxy}}{{#ifeq:Location|Brass Galaxy|}} to placename, with placename being in containingplace.

Personal tools