From GamingWiki
Jump to: navigation, search
 
(19 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
-->{{#set:
 
-->{{#set:
| campaign    = {{#var:campaign}}
+
| is in campaign    = {{#var:campaign}}
 
| is a        = location
 
| is a        = location
 
| key        = {{#var:key}}
 
| key        = {{#var:key}}
Line 18: Line 18:
 
   we may have several aspects
 
   we may have several aspects
 
-->{{#if:{{{aspect|{{{aspects|}}}}}}|<!--
 
-->{{#if:{{{aspect|{{{aspects|}}}}}}|<!--
   -->{{#arraydefine: aspectarray | {{{aspect|{{{aspects}}}}}} | ;; }}<!--
+
   -->{{#arraydefine: aspectarray | {{{aspect|{{{aspects}}}}}} | ; }}<!--
 
   -->{{#arrayprint:  aspectarray | | @@@@ | {{#set:has aspect=@@@@}} }}<!--
 
   -->{{#arrayprint:  aspectarray | | @@@@ | {{#set:has aspect=@@@@}} }}<!--
 
-->}}<!--
 
-->}}<!--
Line 28: Line 28:
 
   we may have several faces
 
   we may have several faces
 
   -->{{#arraydefine: facearray | {{{face}}} | ; }}<!--
 
   -->{{#arraydefine: facearray | {{{face}}} | ; }}<!--
   -->{{#arrayprint:  facearray | | @@@@ | {{#set: face = @@@@ }} }}<!--
+
   -->{{#arrayprint:  facearray | | @@@@ | {{#set: has face = @@@@ }} }}<!--
 
-->}}<!--
 
-->}}<!--
 
-->{{#if:{{{address|}}}    | <!--
 
-->{{#if:{{{address|}}}    | <!--
Line 46: Line 46:
 
-->{{#if:{{{corners|}}}    | {{#set: corners    = {{{corners}}}    }} }}<!--
 
-->{{#if:{{{corners|}}}    | {{#set: corners    = {{{corners}}}    }} }}<!--
 
-->{{#if:{{#var:is mapped}} | {{#set: map        = {{#var:map}}      }} }}<!--
 
-->{{#if:{{#var:is mapped}} | {{#set: map        = {{#var:map}}      }} }}<!--
 +
-->{{#if:{{#var:is mapped}} | {{#set: altmap      = {{#var:altmap}}  }} }}<!--
  
 
   Lay out the location page.
 
   Lay out the location page.
  
-->{{#if: {{{image|}}} | [[Image:{{{image}}}|right|200px]] }}<!--
+
-->{{#if: {{{image|}}} | [[Image:{{{image}}}|right|400px]] }}<!--
 
   Static GMaps image
 
   Static GMaps image
 
-->{{#if: {{#var: is mapped}} |<!--
 
-->{{#if: {{#var: is mapped}} |<!--
Line 59: Line 60:
 
'''Aspects:''' <!--
 
'''Aspects:''' <!--
 
   -->{{#arrayprint:  aspectarray |, | @@@@ | {{aspect|@@@@}} }}<!--
 
   -->{{#arrayprint:  aspectarray |, | @@@@ | {{aspect|@@@@}} }}<!--
 +
  --><nowiki />
 +
 +
<nowiki /><!--
 
-->}}<!--
 
-->}}<!--
  
-->{{#if:{{{description|}}}| <nowiki />
+
-->{{#if:{{#arrayprint:facearray|}}|
 +
'''Face:''' <!--
 +
  -->{{#arrayprint:  facearray |, | @@@@ | [[@@@@]] }}<!--
 +
  --><nowiki />
  
{{{description}}} }}<!--
+
<nowiki /><!--
 +
-->}}<!--
  
-->{{#if:{{{ps|}}}| <nowiki />
+
-->{{#if:{{{description|}}}|
 +
{{{description}}} <nowiki />
  
{{{ps}}} }}<!--
+
<nowiki />}}<!--
 +
 
 +
-->{{#if:{{{ps|}}}|
 +
{{{ps}}} <nowiki />
 +
 
 +
<nowiki />}}<!--
  
 
   If the map page is defined, we provide a link to it. If, in addition,  
 
   If the map page is defined, we provide a link to it. If, in addition,  
Line 89: Line 103:
  
  
--></includeonly>
+
--><nowiki/>
 +
 
 +
<nowiki/></includeonly>

Latest revision as of 14:27, 20 January 2016

[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
}}