From GamingWiki
Jump to: navigation, search
Line 3: Line 3:
 
{{Ghost Town/Woolen Mill.js}}
 
{{Ghost Town/Woolen Mill.js}}
 
{{Ghost Town/Joseph S. Stauffer Library.js}}
 
{{Ghost Town/Joseph S. Stauffer Library.js}}
{{Ghost Town/Purple Door.js}}
+
<!-- {{Ghost Town/Purple Door.js}} -->
 
{{Ghost Town/Tir nan Og.js}}
 
{{Ghost Town/Tir nan Og.js}}
 
{{Ghost Town/Sleepless Goat.js}}
 
{{Ghost Town/Sleepless Goat.js}}
 
{{Ghost Town/City Hall.js}}
 
{{Ghost Town/City Hall.js}}
</div>
 
<div id="map_canvas"></div>
 
  
=== Experimental SMW handling ===
+
<!-- Experimental SMW handling -->
  
 
{{#ask: [[campaign::Ghost Town]] [[is a::location]]
 
{{#ask: [[campaign::Ghost Town]] [[is a::location]]
Line 21: Line 19:
 
|?description
 
|?description
 
|?key
 
|?key
| default = no locations found
+
| link    = none
 +
| default = no locations found
 +
| format  = template
 +
| template = SMW Google Maps marker
 
}}
 
}}
 +
</div>
 +
<div id="map_canvas"></div>
  
 
=== TBD ===
 
=== TBD ===

Revision as of 18:13, 17 March 2011


TBD[edit]

Semantic MediaWiki implementation

Locations to be added:

  • Everyone's houses
  • others?

<graphviz border="frame" format="png" renderer="dot">

digraph character {
 rankdir=LR;
 node [fontcolor=blue,fontsize=12];
 "Ghost Town/Map" [URL="Ghost Town/Map"];
 { rank=same;

"Template:((#ask: Is relationship of::Ghost Town/Map

     |mainlabel=-
     |?Has name=
     |?Has description=
     |format=array |propsep=" [URL="Template:((#ask: Is relationship of::Ghost Town/Map
     |mainlabel=-
     |?Has name=
     |?Has description=
     |format=array |propsep="];"Template:))" [URL="Template:))"];

{"Template:((#ask: Is relationship of::+Has name::Ghost Town/Map

     |mainlabel=-
     |?Is relationship of=
     |?Has description=
     |format=array |propsep=" [URL="Template:((#ask: Is relationship of::+Has name::Ghost Town/Map
     |mainlabel=-
     |?Is relationship of=
     |?Has description=
     |format=array |propsep="]};{"Template:))" [URL="Template:))"]};
 }
 edge [fontsize=9];

"Ghost Town/Map" -> "Template:((#ask: Is relationship of::Ghost Town/Map

     |mainlabel=-
     |?Has name=
     |?Has description=
     |format=array |propsep=" [label="|sep="];"Ghost Town/Map" -> "Template:))" [label=""];

"Template:((#ask: Is relationship of::+Has name::Ghost Town/Map

     |mainlabel=-
     |?Is relationship of=
     |?Has description=
     |format=array |propsep=" -> "Ghost Town/Map" [label="|sep="];"Template:))" -> "Ghost Town/Map" [label=""];
}

</graphviz>