Template:News: Difference between revisions

From Jcastle.info
(Generated from a page schema)
No edit summary
Line 12: Line 12:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! Title
== [[NewsTitle::{{{NewsTitle|}}}]] ==
| [[NewsTitle::{{{NewsTitle|}}}]]  
 
|-
{{{NewsDate|}}}
! Date
 
| [[NewsDate::{{{NewsDate|}}}]]
[[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}|240px]]  
|-
 
! Photo
{{{NewsBody|}}}
| [[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}]]  
 
|-
<div>
! NewsBody
<div class="left">
| [[NewsBody::{{{NewsBody|}}}]]
{{#ask:
|-
{{{CastlesReferenced|}}}
! Castles
|?Japanese Name
| [[CastlesReferenced::{{{CastlesReferenced|}}}]]
|link=none
|}
|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:36, 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.