Template:News: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 13: Line 13:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#set:NewsTitle={{{NewsTitle|}}}}}
</noinclude><includeonly>{{#set:NewsTitle={{{NewsTitle|}}}}}
<div class="container">   
    <div class="row">
        <div class="col-md-8">
=={{{NewsTitle}}}==
=={{{NewsTitle}}}==
[[NewsDate::{{{NewsDate|}}}]]
[[NewsDate::{{{NewsDate|}}}]]
Line 18: Line 21:
{{{NewsBody|}}}
{{{NewsBody|}}}


<div class="container">   
    <div class="row">
        <div class="col-md-8">
{{#ask:
{{#ask:
  {{{CastlesReferenced|}}}
  {{{CastlesReferenced|}}}
Line 42: Line 42:


<div class="col-md-4">
<div class="col-md-4">
<div class="panel panel-info" style="margin:10px">
<div class="panel panel-info" style="margin:10px">
<div class="panel-heading">'''Recent News''' </div>
<div class="panel-heading">'''Recent News''' </div>

Revision as of 20:59, 13 January 2018

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.