Template:Update history/doc

Revision as of 23:41, 6 November 2024 by Merds (talk | contribs) (Created page with "{{Documentation}} This template serves as a wrapper for update histories on pages. It must be used as a container for {{t|UL}} templates. You can also use {{t|UH}} as an alias for this template. ===Discussions=== * Forum:Listing update histories on articles * Forum:Listing update histories on articles v2 ===Parameters=== ;Unnamed parameter 1 The content of the update history. For example: <pre> {{Update history| * {{UL|type=hidden|update=Hidden updates|date=1 O...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Update history.
It contains usage information, categories, and other content that is not part of the original template page.

This template serves as a wrapper for update histories on pages. It must be used as a container for {{UL}} templates. You can also use {{UH}} as an alias for this template.

Discussions

Parameters

Unnamed parameter 1

The content of the update history. For example:

{{Update history|
* {{UL|type=hidden|update=Hidden updates|date=1 October 2018}}
** All existing [[cabbage]]s have been turned into [[green partyhat]]s.
** Cabbages have been removed from the game.

* {{UL|type=patch|update=Patch Notes (22 May 2017)}}
** [[Sumona]] can no longer give slayer assignments to underleveled cabbages.

* {{UL|update=Menaphos - The Gates are Open|date=5 June 2017}}
** Chests within [[Shifting Tombs]] now have a chance to spawn cabbages.

* {{UL|type=hotfix|update=Patch Notes (14 November 2016)}} 
** Cabbages can now be seen flying in the southern part of [[Sophanem]].
}}

Produces:

This information has been manually compiled. Some updates may not be included yet.
  • patch Unknown date (Update):
    • Sumona can no longer give slayer assignments to underleveled cabbages.
Named parameter nointro

Suppress the text above the box.

{{UH|nointro=y|
* {{UL|type=hidden|update=Hidden updates|date=1 October 2018}}
** All existing [[cabbage]]s have been turned into [[green partyhat]]s.
}}

Produces:

When an update history has multiple update list entries, empty lines should be added between them for readability as shown in the examples above.

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.

Provides formatting for the update history section.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Content1

Content of the update history section. See full documentation for details.

Auto value
Stringrequired
Suppress intronointro

Suppress the introduction text but setting this to any value

Example
y
Auto value
y
Stringoptional

Template:External