Template:News: Difference between revisions

From Jcastle.info
No edit summary
(Generated from a page schema)
Line 26: Line 26:
|-
|-
! Castles
! Castles
| {{#arraymap:{{{CastlesReferenced|}}}|,|x|[[CastlesReferenced::x]]}}
| {{#arraymap:{{{CastlesReferenced|}}}||||x|[[CastlesReferenced::x]]}}
|}
|}
{{#arraymap:value|delimiter|variable|formula|new_delimiter}}
{{#set:CastlesReferenced= {{#arraymap:{{{CastlesReferenced|}}}|,|x|x||||}} }}
{{#arraymap:{{{CastlesReferenced|}}}|,|x|x|}}
<div>
<div class="left">
{{#ask:
{{#arraymap:{{{CastlesReferenced|}}}|,|x|x|&#124;&#124;|}}
|?Japanese Name
|format=template
|template=newslist
}}
</div>
<div class="right">
{{#ask:
[[{{CastlesReferenced|}}]]
|?GPSLocation
|format=googlemaps
|width=450px
|height=250px
}}
</div>
</div>


[[Category:News]]
[[Category:News]]
</includeonly>
</includeonly>

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