Template:CiteNews/doc

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

Usage

{{CiteNews|url=|title=|newsdate=|quote=|notes=|name=}}

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. If the title matches one of the pagenames in the Update namespace (and the url is also provided), it will instead link to the wiki news post as the first link, and the original news post as second.

newsdate

The date the news update was posted. Found underneath the news post title.

quote

A quote of what was said inside the news post.

author

The author of the news update. Usually this should not be changed.

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.

name

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

group

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.

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
namename

The name of the reference (to use more than once)

Example
jmodtweet
Stringoptional
groupgroup

The group to add the reference to

Example
group1
Stringoptional