From GamingWiki
Jump to: navigation, search
Line 25: Line 25:
 
-->}}<!--
 
-->}}<!--
 
-->{{#if:{{{address|}}}|{{#set: address = {{{address}}} }} }}<!--
 
-->{{#if:{{{address|}}}|{{#set: address = {{{address}}} }} }}<!--
-->{{#if:{{{lat|}}}|{{#set: lat = {{{lat}}} }} }}<!--
+
-->{{#ifexpr:('{{{lat|}}}'='') or ('{{{lng|}}}'='')||<!--
-->{{#if:{{{lng|}}}|{{#set: lng = {{{lng}}} }} }}<!--
+
  -->{{#set:  
 +
      | lat = {{{lat}}}
 +
      | lng = {{{lng}}}
 +
      | latlng = {{{lat}}}, {{{lng}}}  
 +
      }}<!--
 +
-->}}<!--
  
 
-->[[Category: Steel Town]]<!--
 
-->[[Category: Steel Town]]<!--

Revision as of 17:16, 12 April 2011

[edit] [purge]
Error creating thumbnail: File missing
Template documentation

Use this template for locations in the Steel Town campaign.

Usage[edit]

{{#set: | is in campaign = Steel Town | is a = location | key = Steel_Town_location }}{{#set:has aspect=Location aspect}}{{#set: description = Location description }}{{#set: ps = Optional secondary description }}{{#set: idea = Idea }}{{#set: has face = Face Name }}{{#set: address = Address including postal code }}{{#set: map = {{#ask:is a::campaign mapcampaign::Steel Town|link=none}}#Steel_Town_location }}{{#set: altmap = {{#ask:is a::campaign mapcampaign::Steel Town|link=none}}/Steel_Town_location }}is a::campaign mapcampaign::Steel Town|link=none}}#Steel_Town_location">Aspects: Location aspect

Face: Face Name

Location description

Optional secondary description

[[{{#ask:is a::campaign mapcampaign::Steel Town|link=none}}#Steel_Town_location|Show in map]]

{{Steel Town location
| idea        = Idea
| aspect      = Location aspect
| face        = Face Name
| address     = Address including postal code
| lat         = 
| lng         = 
| threshold   = strong, weak or none
| description = Location description
| ps          = Optional secondary description
}}