Template:Update/doc: Difference between revisions

From OtherX
Jump to navigation Jump to search
(Created page with "{{documentation}} {{invokes|Update}} This template displays an notification stating the update pages copyrighted by Jagex. ==Usage== This template can be used by entering the following onto a relevant update article. {{t|Update|<nowiki>date=|<rev=>|category=|<link=>|<time=></nowiki>}} ===date=== This required parameter accepts the date. It should not be linked and can be in any format accepted by [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time #...")
 
No edit summary
 
Line 1: Line 1:
{{documentation}}
{{documentation}}
{{invokes|Update}}
{{invokes|Update}}
This template displays an notification stating the update pages copyrighted by Jagex.


==Usage==
==Usage==
Line 12: Line 11:


===category===
===category===
This required parameter accepts the category of the update. This is generally at the top of the update article on the RuneScape website.
This required parameter accepts the category of the update.


===link===
===link===
The template will attempt to automatically generate the link to the jagex news article. This optional parameter can be used to provide the link to Jagex's article on the RuneScape website in the case where the template cannot automatically generate it.
The template will attempt to automatically generate the link to the news article. This optional parameter can be used to provide the link to Jagex's article on the RuneScape website in the case where the template cannot automatically generate it.


===rev===
===rev===
Line 21: Line 20:


===time===
===time===
This optional parameter is meant for maintenance categorization of historical pre-osrs updates. This should not be used for updates after 10 August 2007
This optional parameter is meant for maintenance categorization of historical updates.  


===article===
===article===
Specify this parameter if the newspost title corresponds (almost) exactly with an article, and specify which article it should refer to. This will add a large notice at the top of the update page informing people that they are reading a transcript of the newspost. See [[Update:A Kingdom Divided]] for an example.
Specify this parameter if the newspost title corresponds (almost) exactly with an article, and specify which article it should refer to. This will add a large notice at the top of the update page informing people that they are reading a transcript of the newspost.


==Categories==
==Categories==

Latest revision as of 17:53, 21 January 2024

File:Information icon-grey.svg
This is a documentation subpage for Template:Update.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Update invokes function update in Module:Update using Lua.

{{#ifeq:Template|Module|

{{#replace:Template:Update/doc|/doc}} is invoked by Template:Update.{{#ifeq:{{{category}}}|no||{{#ifeq:doc|doc||}}}}

|

{{#replace:Template:Update/doc|/doc}} invokes Module:Update using Lua.{{#ifeq:{{{category}}}|no||{{#ifeq:doc|doc||}}}}

}}

Usage

This template can be used by entering the following onto a relevant update article.

{{Update|date=|<rev=>|category=|<link=>|<time=>}}

date

This required parameter accepts the date. It should not be linked and can be in any format accepted by #time.

category

This required parameter accepts the category of the update.

link

The template will attempt to automatically generate the link to the news article. This optional parameter can be used to provide the link to Jagex's article on the RuneScape website in the case where the template cannot automatically generate it.

rev

This optional parameter accepts the revision date. Jagex occasionally adds additional system updates and hot fixes to patch notes that have already been published. The date should not be linked and can be in any format accepted by #time.

time

This optional parameter is meant for maintenance categorization of historical updates.

article

Specify this parameter if the newspost title corresponds (almost) exactly with an article, and specify which article it should refer to. This will add a large notice at the top of the update page informing people that they are reading a transcript of the newspost.

Categories

  • Behind the Scenes: bts, behind the scenes
  • Community: comm, community
  • Developers' Blog: dev, blog, devblog, dev blog
  • Events: event, events
  • Your Feedback: yourfeedback
  • Future Update: future
  • Mobile: mobile
  • Game Updates: game
  • Patch Notes: patch, patch notes, patch note
  • Shop: shop
  • Support: support
  • Technical: tech, technical
  • Website: site, ws, website