Template:Update/doc

From [N8]
Jump to navigation Jump to search
Template-info.png
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.

This template displays a notification stating the update page is copyrighted by Gemini Station.

Usage

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

{{Update|date=|category=|title=|link=|author=|rev=}}

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. This is generally at the top of the update article on the RuneScape website.

title

This optional parameter accepts the title of the original news post. This should be used if the news post's title does not match the update page title - this can happen if the original title contains characters that cannot be used in wiki article titles, such as |. If title is provided, it will be used as the basis for generating the link to the original news post. It will also be passed through to {{DISPLAYTITLE}} in order to override the wiki article's displayed title. It should be supplied with magic words/templates being used to escape characters, such as {{!}} for | and {{sp}} for leading/trailing spaces (which otherwise get trimmed).

link

The template will attempt to automatically generate the link to the news post (using title if supplied). This optional parameter can be used to override the generated link in cases where the template cannot automatically generate it, though title should cover most cases.

author

This optional parameter accepts the name of the author posting the patch notes. Include 'mod' prefix.

rev

This optional parameter accepts the revision date. Gemini Station 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.

Accepted category values

The word 'update/updates' is ignored.

  • Behind the Scenes: bts, behind the scenes
  • Community: comm, community
  • Developer Blogs: dev, blog, devblog, dev blog
  • Events: event, events
  • Feedback/Your Feedback: fb, feedback, yourfeedback, your feedback
  • Future Updates: future
  • Game Updates: game
  • Mobile: mobile
  • Support: support
  • Technical: tech, technical
  • Website: site, ws, website