Help:Templates/ML

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search

This template is for linking to Muselive.com. There are three forms it can take, which can be used depending on needs.

The first is the most simple:

{{ ML |topicid }}

...which will result in:

(download)


The second can be used by adding...

type=normal

...to the template, as so:

{{ML |topicid | type=normal}}

...which will result in:

Muselive

The latter "normal" type (which derives from CSS' font-size: normal attribute) can take a further unnamed argument to modify the link's text, as so:

{{ML |topicid | type=normal | this link has an invalid topic ID}}

...which will print:

this link has an invalid topic ID

Note the lack of a space in all forms before topicid. This is a limitation of the template— space is usually preferred for readability's sake, but in this case it would cause a gap between the URL and the ID, so it is necessary to leave out. "Patches welcome"!

Rationale

There are two benefits for using a template to link to Muselive:

  • Style and structure is separate from information, thus:
    • It is somewhat more future proof.
  • The URL form is easily updateable from the ML template, thus:
    • It is somewhat more future proof.

The URL has been changed twice. The first was the change from invictus.softmeg.com to muselive.com, the second when URLs lacking a www prefix started redirecting to URLs with a www prefix. This template would have been ideal had it been used ubiquitously by then.

See also


Go back to template help