The site is undergoing an upgrade... please be patient while we fix things as fast as we can. We're keeping a running list of known issues with the current version.
-> Send to a friend

Help:Templates

From LyricWiki

Jump to: navigation, search

Templates are provided to reduce the amount of repetitive wikitext in pages. Templates are a sort of shorthand to make creating and editing wiki pages easier. Templates also help to make LyricWiki visually more uniform. Templates are placed within two sets of curly brackets or braces {{}} and contain one or more divisions of information. If the template has more than one division, each division is separated by a vertical line, or pipe |. The first division contains the name of the template, followed by any number of divisions containing information that are used to complete the template. More often, the template uses named parameters to make the order irrelevant and parameters optional.

This page contains a listing of all frequently used and useful templates available on LyricWiki. If you find a template to be missing, please insert it at the appropriate location in the list. For documentation and use of the template, please refer to the template page.


Templates without much information are usually formatted as:

{{Name|Division Two|Division Three}}

Templates containing more information are usually formatted as:

{{Name
|Division Two 
|Division Three 
|Division Four 
|Named Parameter One = value 
|Named Parameter Two = value 
}}

Contents

[edit] Wikipedia

[edit] Floating Box

All articles for which there exists an Wikipedia article, should include the Wikipedia template to create a floating box containing the article link and the Wikipedia graphic.

For example, the Wikipedia template:

{{Wikipedia|Article=Tool_(band)|Title=Tool}}

Would produce:

{{{project}}}
Wikipedia has an article on

<div style='clear:right'/> In this example, the first division holds the template's name (in this case, Wikipedia), followed by two divisions that specify information for completing the template. The second division specifies the name of the Wikipedia article being linked to. In this case, "Tool" wouldn't be specific enough to link to the band's article, so "Tool_(band)" must be used. The final division specifies the title that LyricWiki users will see. For more information on this template, see the template page </div>

[edit] Simple Text

A simple text link to Wikipedia, one without the box and Wikipedia graphic, such as Tool, can be created using the Wp template:

{{wp|Article=Article_name|Title=Artist Name}}

All divisions of the Wp template are the same as for the Wikipedia template, only the name has changed. For example, the following text containing the Wp template...

Read about {{wp|Article=Tool_(band)|Title=Tool}} on Wikipedia

...would produce the following result:

Read about Tool on Wikipedia

[edit] Song Flagging

[edit] Explicit Lyrics

For songs with explicit lyrics, it is suggested that the Template:Parental Advisory template be used to warn viewers about it. This pushes the lyrics off the page and displays a noticeable warning.

[edit] Multiple Languages

In the case that a song is released in more than one language, it is recommended that links to the other versions of the lyrics be added. The Template:Multiple Languages template makes this task easier.

{{Multiple Languages
|Artist=V6
|Song=Change The World
|Original=ja
|Lang1=en
|Lang2=es
}}

The above completed template produces:

The lyrics for this song exist in multiple languages, these are: 日本語, English, Español

Common language codes are:

  • de (German)
  • en (English)
  • es (Spanish)
  • fr (French)
  • ja (Japanese)
  • ko (Korean)
  • pl (Polish)
  • ru (Russian)
  • zh (Chinese)

A complete Wikipedia list of ISO 639-1 language codes can be found here.

[edit] Instrumental Tracks

Tracks that are instrumentals should be marked with the Template:Instrumental template.

{{Instrumental}}

This template only has one division, its name. It produces the following:

This song is an instrumental.

[edit] Informational templates

  • Information about the song: {{Songinfo}}
  • General information box: {{Info}}
  • Instrumental song: {{Instrumental}}
  • Explicit lyrics: {{Parental Advisory}}
  • Cover version of a song: {{Cover}} for a link to the original song; {{Cover2}} for a link to the cover song
  • Parody of another song: {{Parody}}
  • Unplugged (Acoustic) album: {{Unplugged}}
  • Remix of original song: {{Remix}}

[edit] Awards

  • (Grammy) award: {{Award}} (or specifically: {{Grammy}}).
  • Album Of The Week: {{AOTW}}
  • Song Of The Day: {{SOTD}}

[edit] Flagging for Edits

  • General request for editing: {{Edit}}
  • When possible, please use one of the following instead:

[edit] Artist Pages

  • To display an album picture next to a track listing insert the {{Album Art}} template directly under the album's title:
{{Album Art|IMAGE|ALBUM NAME}}

IMAGE is generally in the form ARTIST - ALBUM NAME.jpg

  • When {{Album Art}} invades into an album listing below it, use {{Clear}} after that album listing to prevent the invasion. {{Clear}} inserts a division break.

[edit] Multiple languages

  • Songs released in more than one language: {{Multiple Languages}}
  • To provide a translation side by side with the original lyrics: {{Translation}}
  • Request for translation to English: {{RequestTranslation}}
  • Request for romanization of foreign alphabet: {{RequestRomanization}}
  • Request to add lyrics written in Kanji: {{RequestKanji}}
  • For pages with Japanese titles to provide reading and translation: {{JaTitle}}
  • For pages with Chinese titles to provide reading and translation: {{ChineseTitle}}

[edit] User (talk) pages

  • Welcome to LyricWiki message: {{Welcome}}
  • Welcome to LyricWiki and invitation to register for unregistered users: {{WelcomeIP}}
  • Reverted edit: {{Reverted}} (for inappropriate but good-faith edits)
  • Vandalism warning: {{WarnUser}} or {{WarnUser/Editing}} (for users who are clearly committing vandalism)
  • Request for help: {{Helpme}}

[edit] Wiki restrictions

  • Linked image: {{Click}} (use not recommended)
  • Incorrect title: General: {{WrongTitle}}, when appropriate use the following instead:
    • Incorrect capitalization: {{Lowercase}}
    • Symbols substituted by writing {{Wtsymbol}}

[edit] External linking

[edit] Administration

Personal tools
LyricWiki Challenge
LyricWiki Challenge + Facebook App
Try the LyricWiki Challenge
Facebook App!
Friend spotlight (info)
Wookieepedia - The Star Wars Wiki

why the ad?