Difference between revisions of "Template:NewsHeader"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:News]]</includeonly> | <includeonly>[[Category:News]]</includeonly> | ||
=={{{NewsSource}}}== | =={{{NewsSource}}}== | ||
{{{Intro|}}} | {{{Intro|}}} | ||
{{#if: {{{Image|}}}| [[{{{Image}}}{{!}}center|{{{ImageSizeOverride|}}}]] }} | {{#if: {{{Image|}}}| [[{{{Image}}}{{!}}center|{{{ImageSizeOverride|}}}]] }} | ||
Date: [[hasDate::{{{Date}}}]] {{#if: {{{Reporter|}}}| By: [[HasReporter::{{{Reporter}}}]] }} | Date: [[hasDate::{{{Date}}}]] {{#if: {{{Reporter|}}}| By: [[HasReporter::{{{Reporter}}}]] }} __NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__ {{#if: {{{Metaplot|}}}| {{#set:hasMetaplot={{{Metaplot}}}}} }} {{#set:NewsSource={{{NewsSource}}}}} | ||
{{#if: {{{Metaplot|}}}| {{#set:hasMetaplot={{{Metaplot}}}}} }} | |||
{{#set:NewsSource={{{NewsSource}}}}} | |||
<noinclude> | <noinclude> | ||
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" | {| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" |
Revision as of 00:36, 30 April 2020
{{{NewsSource}}}
Date: {{{Date}}} Property "NewsSource" (as page type) with input value "{{{NewsSource}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
UsageThis template is intended to be used along with the creation of news articles. It generates tags and ensures the page is set to Category:News. The fields should be filled in as follows:
{{NewsHeader| |Image= |ImageSizeOverride= |Date= |NewsSource= |Reporter= |Metaplot= |Intro= }}
|