Difference between revisions of "Template:NewsHeader"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
Line 8: | Line 8: | ||
Date: [[hasDate::{{{Date}}}]] | Date: [[hasDate::{{{Date}}}]] | ||
{{#if: {{{Metaplot|}}}| {{#set:hasMetaplot={{{Metaplot}}}}} }} | {{#if: {{{Metaplot|}}}| {{#set:hasMetaplot={{{Metaplot}}}}} }} | ||
{{#if: {{{Reporter|}}}| {{#set:HasReporter={{{Reporter}}}}} }} | |||
{{#set:NewsSource={{{NewsSource}}}}} | {{#set:NewsSource={{{NewsSource}}}}} | ||
Line 40: | Line 41: | ||
|- | |- | ||
!Intro | !Intro | ||
|Optional | |Optional: Simply allows you to add additional text ahead of the image, if an image is selected. | ||
|- | |||
!Reporter | |||
|Optional: Sets an IC reporter and credits them as the author of the story. | |||
|} | |} | ||
Line 51: | Line 55: | ||
|Metaplot= | |Metaplot= | ||
|Intro= | |Intro= | ||
|Reporter= | |||
}}</pre> | }}</pre> | ||
Revision as of 00:31, 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= |Metaplot= |Intro= |Reporter= }}
|