Template:News: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 31: Line 31:
{{#arraymap:value|delimiter|variable|formula|new_delimiter}}
{{#arraymap:value|delimiter|variable|formula|new_delimiter}}


{{#set:Castles= {{#arraymap:{{{CastlesReferenced|}}}|,|x|x||||}} }}
{{#set:CastlesReferenced= {{#arraymap:{{{CastlesReferenced|}}}|,|x|x||||}} }}




Line 47: Line 47:
<div class="right">
<div class="right">
{{#ask:
{{#ask:
  [[{{Castles}}]]
  [[{{CastlesReferenced|}}]]
  |?GPSLocation
  |?GPSLocation
  |format=googlemaps
  |format=googlemaps

Revision as of 12:48, 24 September 2017

This is the "news" template. It should be called in the following format:

{{news
|NewsTitle=
|NewsDate=
|NewsHighlightPhoto=
|NewsBody=
|CastlesReferenced=
}}

Edit the page to see the template text.