Template:MusicUnlockLine/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:38, 17 October 2024 (Created page with "{{Documentation}} The '''MusicUnlockLine''' templates are used to create a list of music with hints to unlock them. Three templates are used to form the unlock lists: *{{T|MusicUnlockTableHead}} - Contains table headers for the top of the music unlock list *{{T|MusicUnlockLine}} - Template for all of the individual music unlock lines *{{T|MusicUnlockTableBottom}} - Contains table headers for the bottom of the unlock list ==Usage== <pre> {{MusicUnlockTableHead}} {{MusicU..."). 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:MusicUnlockLine.
It contains usage information, categories, and other content that is not part of the original template page.

The MusicUnlockLine templates are used to create a list of music with hints to unlock them. Three templates are used to form the unlock lists:

Usage

{{MusicUnlockTableHead}}
{{MusicUnlockLine|song name
|details = Short details of how to unlock the song
|link = Link to the song's page on wiki, if different from song name
|track = Link to the song's file, without the 'File:' prefix or '.ogg' file extension. Optional if song's file location follows the standard "File:Song name.ogg" format.
}}
{{MusicUnlockTableBottom}}

NOTE: The template should be used in one line, like the examples below.

Unfilled music unlock line for quick copy-paste

Essential parameters:
{{MusicUnlockLine| |details=}}
All parameters:
{{MusicUnlockLine| |details=|link=|track=}}

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.

Template for all of the individual music unlock lines

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Song name1

The song to link to and display

Page namerequired
Unlock detailsdetails

The method by which to unlock the song

Stringrequired
Song pagelink

The wiki page of the song

Default
First parameter
Page nameoptional
Music tracktrack

The name of the song file; do not include 'File:' or '.ogg'

Default
First parameter
Fileoptional