Template:News: Difference between revisions

From Jcastle.info
No edit summary
(Generated from a page schema)
Line 12: Line 12:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>{| class="wikitable"
== [[NewsTitle::{{{NewsTitle|}}}]] ==
! Title
 
| [[NewsTitle::{{{NewsTitle|}}}]]  
{{{NewsDate|}}}
|-
 
! Date
[[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}|240px]]  
| [[NewsDate::{{{NewsDate|}}}]]
 
|-
{{{NewsBody|}}}
! Photo
 
| [[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}]]  
<div>
|-
<div class="left">
! NewsBody
{{#ask:
| [[NewsBody::{{{NewsBody|}}}]]  
[[{{#arraymap:{{{CastlesReferenced|}}}|,|x|x|&#124;&#124;|}}]]
|-
|?Japanese Name
! Castles
|link=none
| [[CastlesReferenced::{{{CastlesReferenced|}}}]]
|format=template
|}
|template=newslist
}}
</div>
<div class="right">
{{#ask:
{{{CastlesReferenced|}}}
|?GPSLocation
|format=googlemaps
|width=450px
|height=250px
}}
</div>
</div>
 
<div class="clear fix"> &nbsp; </div>
 
__NOTITLE__
 
__NOTOC__
 
__NOEDITSECTION__


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

Revision as of 15:35, 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.