Template:News: Difference between revisions

From Jcastle.info
No edit summary
(Generated from a page schema)
Line 8: Line 8:
|NewsHighlightPhoto=
|NewsHighlightPhoto=
|NewsBody=
|NewsBody=
|CastlesReferenced=
}}
}}
</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
[[NewsDate::{{{NewsDate|}}}]]
| [[NewsTitle::{{{NewsTitle|}}}]]  
|-
! Date
| [[NewsDate::{{{NewsDate|}}}]]  
|-
! Photo
| [[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}]]
|-
! NewsBody
| [[NewsBody::{{{NewsBody|}}}]]
|-
! Castles
| {{#arraymap:{{{CastlesReferenced|}}}|,|x|[[CastlesReferenced::x]]}}
|}


[[NewsHighlightPhoto::{{{NewsHighlightPhoto|}}}|240px]]
[[NewsBody::{{{NewsBody|}}}]]
__NOTITLE__
__NOTOC__
__NOEDITSECTION__
[[Category:News]]
[[Category:News]]
</includeonly>
</includeonly>

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