Template:CiteNews/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:21, 17 October 2024 (Created page with "{{Documentation}} __TOC__ ==Usage== <pre>{{CiteNews|url=|title=|newsdate=|quote=|notes=|name=}}</pre> ===url=== The full URL to the news post, including the <kbd><nowiki>https://</nowiki></kbd>. An archive of past news posts can be found [https://secure.runescape.com/m=news/archive?oldschool=1 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 [//oldschool.runescape.wiki/w/Spec..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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