Template:MusicTable/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 22:22, 15 October 2024 (Created page with "{{Documentation}} The '''MusicTable''' template outputs a table listing music tracks along with some of their information. '''Note:''' Because music uses custom hint text that is less vague, this should not be used there. ==Usage== ===Basic usage=== <pre> {{MusicTable}} </pre> ===Optional other parameters=== <pre> {{MusicTable|hints=Yes|members=Yes}} </pre> If <code>hints=Yes</code>, the table will include the in-game hints provided with the tracks, otherwise..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:MusicTable.
It contains usage information, categories, and other content that is not part of the original template page.
Template:MusicTable invokes function main in Module:MusicTable using Lua.

The MusicTable template outputs a table listing music tracks along with some of their information. Note: Because music uses custom hint text that is less vague, this should not be used there.

Usage

Basic usage

{{MusicTable}}

Optional other parameters

{{MusicTable|hints=Yes|members=Yes}}

If hints=Yes, the table will include the in-game hints provided with the tracks, otherwise no hints will be included.

If members=Yes, the table will list tracks that are members-only, if members=No it will list tracks that are free-to-play only. If it is not defined, it will list both members and free-to-play

Example

{{MusicTable|hints=No|members=No}}

Lua error in Module:MusicTable at line 15: bad argument #1 to 'gsub' (string expected, got table).

Quick-copy

{{MusicTable|hints=|members=}}

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.

Outputs a table listing music tracks along with some of their information.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hintshints

Include in-game hints in the table

Default
Yes
Example
Yes
Auto value
Yes
Booleanoptional
Members track listing filtermembers

'Yes' to include members-only tracks, 'No' for only free-to-play, or leave blank for all tracks in the table.

Default
Example
Yes
Auto value
Stringoptional