Template:Update/doc

From OtherX
Jump to navigation Jump to search
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