Template:PlainCiteNews/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:PlainCiteNews.
It contains usage information, categories, and other content that is not part of the original template page.
Template:PlainCiteNews invokes function newsplain in Module:References using Lua.

Usage

{{PlainCiteNews|author=|url=|title=|newsdate=|notes=}}

This template exactly like Template:CiteNews, with two exceptions. First, it is not a reference template in the sense that it does not create footnote-styled references. Instead, it creates the same text that {{CiteNews}} would as a non-reference. This is desirable if a certain news update is the source of the majority of an article, as having the same reference at the end of every sentence. Second, it does not have the "name" parameter, as this only applies to footnote-style references.

url

The full URL to the news post, including the https://. An archive of past news posts can be found here.

title

The title of the news post, found between the two arrow buttons at the top.

newsdate

The date the news update was posted. Found next to the title between the two arrow buttons.

quote

A quote of what was said inside the news post.

author

The author of the news update. This usually appears at the bottom of the news post, before the "In Other News..." section.

Standard parameters

The following parameters are standard across all citation templates.

notes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Used to create a reference to a Old School RuneScape website newspost.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
authorauthor

The author of the newspost. This parameter should only be filled if the newspost has not been authored by the Old School team.

Example
Stringoptional
URLurl

The URL of the newspost

Example
https://secure.runescape.com/m=news/new-client-update-clue-scroll-helper?oldschool=1
URLrequired
titletitle

Newspost's title

Example
New Client Update: Clue Scroll Helper
Linerequired
newsdatenewsdate

The date the newspost was published (DD Month YYYY)

Example
8 April 2020
Daterequired
quotequote

Text being quoted from the newspost.

Stringoptional