From GamingWiki
Jump to: navigation, search
Line 4: Line 4:
  
 
-->{{#vardefine: campaign | {{{campaign|M_NUL}}} }}<!--
 
-->{{#vardefine: campaign | {{{campaign|M_NUL}}} }}<!--
 +
-->{{#vardefine: key      | {{anchorencode:{{PAGENAME}}}} }}<!--
 +
-->{{#vardefine: map      | {{#if:{{{map page|}}}|{{{map page}}}#{{var:key}}}} }}<!--
  
 
-->{{#set:
 
-->{{#set:
 
| campaign    = {{#var:campaign}}
 
| campaign    = {{#var:campaign}}
 
| is a        = location
 
| is a        = location
| key        = {{anchorencode:{{PAGENAME}}}}
+
| key        = {{#var:key}}
 
}}<!--
 
}}<!--
  
--><!--{{#if:{{{aspect|}}}      | {{#set: has aspect  = {{{aspect}}}      }} }}--><!--
+
  we may have several aspects
 
-->{{#if:{{{aspect|{{{aspects|}}}}}}|<!--
 
-->{{#if:{{{aspect|{{{aspects|}}}}}}|<!--
  we may have several aspects
 
 
   -->{{#arraydefine: aspectarray | {{{aspect|{{{aspects}}}}}} | ;; }}<!--
 
   -->{{#arraydefine: aspectarray | {{{aspect|{{{aspects}}}}}} | ;; }}<!--
 
   -->{{#arrayprint:  aspectarray | | @@@@ | {{#set:has aspect=@@@@}} }}<!--
 
   -->{{#arrayprint:  aspectarray | | @@@@ | {{#set:has aspect=@@@@}} }}<!--
Line 35: Line 36:
 
-->}}}}<!--
 
-->}}}}<!--
 
-->{{#if:{{{corners|}}}    | {{#set: corners    = {{{corners}}}    }} }}<!--
 
-->{{#if:{{{corners|}}}    | {{#set: corners    = {{{corners}}}    }} }}<!--
 +
-->{{#if:{{#var:map}}      | {{#set: map        = {{#var:map}}      }} }}<!--
  
 
   Lay out the location page.
 
   Lay out the location page.
Line 52: Line 54:
 
{{{ps}}} }}<!--
 
{{{ps}}} }}<!--
  
-->{{#if:{{{map page|}}}| <nowiki />
+
-->{{#if:{{#var:map}}| <nowiki />
  
[[{{{map page}}}#{{anchorencode:{{PAGENAME}}}}|Show in map]] }}<!--
+
[[{{#var:map}}|Show in map]] }}<!--
  
 
--><!--[[Category: {{#var:campaign}}]]--><!--
 
--><!--[[Category: {{#var:campaign}}]]--><!--

Revision as of 16:11, 26 May 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
}}