Template:News: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 30: Line 30:


{{#arraymap:value|delimiter|variable|formula|new_delimiter}}
{{#arraymap:value|delimiter|variable|formula|new_delimiter}}
{{#set:Castles= {{#arraymap:{{{CastlesReferenced|}}}|,|x|x||||}} }}


{{#arraymap:{{{CastlesReferenced|}}}|,|x|x|}}
{{#arraymap:{{{CastlesReferenced|}}}|,|x|x|}}
Line 44: Line 47:
<div class="right">
<div class="right">
{{#ask:
{{#ask:
  {{{CastlesReferenced|}}}
  {{{Castles}}}
  |?GPSLocation
  |?GPSLocation
  |format=googlemaps
  |format=googlemaps

Revision as of 12:44, 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.