Difference between revisions of "Template:NewsHeader"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
m (Protected "Template:NewsHeader" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Category:News]]</includeonly> | <includeonly>[[Category:News]]</includeonly> | ||
==[[NewsSource::{{{NewsSource}}}]]== | |||
{{{Intro|}}} | |||
{{#if: {{{Image|}}}| [[{{{Image}}}|center|{{{ImageSizeOverride|}}}|link={{{NewsSource}}}]] }} | |||
=={{{NewsSource}}}== | Date: [[hasDate::{{{Date}}}]] {{#if: {{{Reporter|}}}| By: [[HasReporter::{{{Reporter}}}]] }} __NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__ {{#if: {{{Metaplot|}}}| {{#set:hasMetaplot={{{Metaplot}}}}} }} | ||
{{#if: {{{Image|}}}| [[{{{Image}}}{{ | |||
Date: [[hasDate::{{{Date}}}]] | |||
{{#if: {{{ | |||
{{#set: | |||
<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" | ||
Line 34: | Line 29: | ||
!NewsSource | !NewsSource | ||
|Required: This sets the header for the news source. e.g. Horizon News Network | |Required: This sets the header for the news source. e.g. Horizon News Network | ||
|- | |||
!Reporter | |||
|Optional: Sets an IC reporter and credits them as the author of the story. | |||
|- | |- | ||
!Metaplot | !Metaplot | ||
|Optional: If the news article is a part of a metaplot, note so here and it will show up on the metaplot page as well as its association on [[The Story So Far]]. | |Optional: If the news article is a part of a metaplot, note so here and it will show up on the metaplot page as well as its association on [[The Story So Far]]. | ||
|- | |||
!Intro | |||
|Optional: Simply allows you to add additional text ahead of the image, if an image is selected. | |||
|} | |} | ||
Line 45: | Line 46: | ||
|Date= | |Date= | ||
|NewsSource= | |NewsSource= | ||
|Reporter= | |||
|Metaplot= | |Metaplot= | ||
|Intro= | |||
}}</pre> | }}</pre> | ||
Latest revision as of 00:45, 5 February 2024
{{{NewsSource}}}
Date: {{{Date}}}
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= }}
|