From GamingWiki
Jump to: navigation, search
Line 34: Line 34:
 
-->}}<!--
 
-->}}<!--
 
-->{{#ifeq:{{{lat|}}}|||{{#ifeq:{{{lng|}}}|||<!--
 
-->{{#ifeq:{{{lat|}}}|||{{#ifeq:{{{lng|}}}|||<!--
 +
  -->{{#vardefine: latlng|{{{lat}}},{{{lng}}}}}<!--
 
   -->{{#set:  
 
   -->{{#set:  
 
       | lat = {{{lat}}}
 
       | lat = {{{lat}}}
Line 48: Line 49:
  
 
-->{{#if: {{{image|}}} | [[Image:{{{image}}}|right|200px]] }}<!--
 
-->{{#if: {{{image|}}} | [[Image:{{{image}}}|right|200px]] }}<!--
 +
  Static GMaps image
 +
-->{{#if: {{#var: is mapped}} |<!--
 +
  -->{{#vardefine: GMCentre|{{#var:latlng|{{{address}}}}}}}<!--
 +
  -->{{#vardefine: GMImg|http://maps.googleapis.com/maps/api/staticmap?center={{#var:GMCentre}}&zoom={{{zoom|14}}}&size=200x200&maptype=roadmap&sensor=false}}<!--
 +
  -->[[{{#var:GMImg}}|right|200px]]<!--
 +
-->}}<!--
  
 
-->{{#if:{{#arrayprint:aspectarray|}}|
 
-->{{#if:{{#arrayprint:aspectarray|}}|

Revision as of 15:09, 26 July 2011

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

Use this template for locations in FATE games.

Usage[edit]

{{#set: | is in campaign = Steel Town | is a = location | key = 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}}#Location }}{{#set: altmap = {{#ask:is a::campaign mapcampaign::Steel Town|link=none}}/Location }}is a::campaign mapcampaign::Steel Town|link=none}}#Location">Aspects: Location aspect

Face: Face Name

Location description

Optional secondary description

[[{{#ask:is a::campaign mapcampaign::Steel Town|link=none}}#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
}}