2,054,106 Pages

General Information

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 (called parameters) containing information that are used to complete the template.

Parameters can be anonymous (containing just the parameter value) or named (containing parameter name and value, separated by an equal sign =). Anonymous parameters must be passed in the correct order. Named parameters can be added in any order, though for consistency the order given in the template documentation should be kept.

NOTE: If an anonymous parameter contains an equal sign, it will be interpreted as a named parameter (with the part before the equal sign as name) and the template most likely won't work. In this case, either replace the equal sign with =, or turn all anonymous parameters into named ones by prefixing them with 1=, 2= etc.

Templates without much information are usually formatted without line breaks or other spacing:

{{Name|Division Two|Division Three}}

Templates containing more information should have one parameter per line, with equal signs aligned for better readability:

|Division Two 
|Division Three 
|Division Four 
|Named Parameter         = value 
|Another Named Parameter = value 

NOTE: Like all pages on LyricWiki, templates are case-sensitive, except the first letter of the template name. Therefore, {{Wikipedia}} and {{wikipedia}} will produce the same result, but {{WikiPedia}} won't.

Below is a listing of 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.


All LyricWiki articles for which a Wikipedia Wikipedia16 page exists should include a link to that page. The {{ArtistHeader}} and {{AlbumHeader}} templates have parameters for producing such a link. Here are some additional options:

Floating Box

A floating box containing the article link and the Wikipedia graphic.

For example, the Wikipedia template:

{{Wikipedia|Country (film)|Country}}
Wikipedia sphere
Wikipedia article on

produces the box on the 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, "Country" wouldn't be specific enough to link to the film's article, so "Country (film)" must be used. The final division specifies the title that LyricWiki users will see, i.e. "Country".

See the template documentation for more information.


Simple Text

A simple text link to a Wikipedia page can be created using the {{wp}} template:

{{wp|Article name|display text}}

All parameters of the {{wp}} are the same as for the {{Wikipedia}} template. For example, this text...

Read about {{wp|Country (film)|Country}} on Wikipedia.

...produces the following result:

Read about Country on Wikipedia.

Simple Text with Icon

The template {{wpi}} is similar to the simple text link above but is preceded by a Wikipedia icon:

Read about {{wpi|Country (film)|Country}} on Wikipedia.

...produces the following result:

Read about Country Wikipedia16 on Wikipedia.

Informational templates

  • General information box: {{Info}}
  • More specific information:
    • {{ArtistInfo}} for artist pages
    • {{CreditBox}} for album and song pages
    • {{SInfo}} for song pages (use sparingly: most use cases are covered by CreditBox)
  • Instrumental song: {{Instrumental}}
  • Cover version of a song:
    • {{Cover}} for a link to the original song
    • {{Covered}} for a list of artists who have covered the song
  • Parody of another song: {{Parody}}
  • Unplugged (Acoustic) album: {{Unplugged}}
  • Remix of original song: {{Remix}}
  • {{AnimeFeature}} – for songs that are featured in an anime
  • {{B-Hits}} – for songs that have been Top 20 Billboard Hits in the US
  • {{ESC-Song}} – for songs that were entries for the Eurovision Song Contest
  • {{GameFeature}} – for songs that are featured in a video game
  • {{GameFeatureDLC}} – for songs that are featured as downloadable tracks in a video game
  • {{Live Lyrics}} – for linking a live version of a song to the studio version
  • {{MovieFeature}} – for songs that are featured in a movie
  • {{No.1}} for songs that have been number-one hits on any country's major pop chart
  • {{TV Advert}} – for songs that are featured in a television advertisement
  • {{TV Series}} – for songs that are featured in a television series
  • {{youtube embed}} - to embed a YouTube video


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

Flagging for Edits

  • General request for editing: {{Edit}}
  • When possible, please use one of the following instead:
    • Artist pages with songs not split into albums: {{Split}}
    • Request meaning of song: {{Songmeaning}}
    • Merge request: {{Mergefrom}} and {{Mergeto}}
    • Mass rename request: {{Move}}
    • Song pages with parts of lyrics missing: {{Partial}}

Artist Pages

See Help:Contents/Editing/Formatting/Artists for more information.

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

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.
  • {{cv}} for indicating song as cover of another song
  • {{feat}} for listing featured artists
  • {{H4}} for formatting headers for individual discs
  • {{Labels}}
  • {{Genres}}

Multiple languages

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)
  • {{ArchNav}}: for archive talk pages

User pages

Wiki restrictions

External linking


Magic Words

General documentation

{{PAGETYPE}} Will give the "type" of page (one of: album, song, artist, talk, category, none).
{{PAGETEMPLATE}} For use with the auto-templates.
{{ARTIST}} Gives the full artist's name (native + romanization).
{{ARTISTFLETTER}} Gives the fLetter parameter for the current artist.
{{NATIVEARTIST}} For artists that have a romanization, this gives the native part of the name. OBSOLETE.
{{ROMANARTIST}} For artists that have a romanization, this gives the romanization part. OBSOLETE.
{{ALBUM}} Gives the album name on album pages.
{{ALBUMYEAR}} Gives the album year on album pages.
{{ALBUMFLETTER}} Another fLetter parameter, this one for the album name.
{{SONG}} Gives the song title on song pages.
{{SONGFLETTER}} Another fLetter parameter, this one for the song title.
{{SONGSUBPAGE}} Gives everything after the last '/' in the song title.

A template is a special type of page that is made so its content can be included in other pages. Since a given template can be included in many pages, it can help reduce duplication and promote a uniform style between pages.


Templates are useful for:

  • Creating content that should appear on many pages.
  • Formatting content or data (such as infoboxes) in a way that should be consistent across many pages.
  • Creating a shortcut to a frequently-visited page or for writing things that you repeat often when communicating with others.
  • Replacing long, complicated code so that a page is easier for other users to edit.
  • Protecting parts of a page from editing while leaving other sections open for edits.

Templates are located in the Template namespace. This includes any page with a name beginning with Template:, such as Template:Name. A list of used templates can be seen in Special:Templates and can be filtered by template types.

Template pages are created and modified using the source edit mode, but can be inserted into pages using any editor interface.

Templates cannot be edited by anonymous users as of Technical Update: November 30, 2015.

Adding pre-existing templates

Insert template in VisualEditor

Selecting a template from a list in VisualEditor

New Fandom communities come with pre-loaded default templates. You can view a complete list of templates available on your community by going to Special:AllPages and selecting "Template" from the namespace dropdown menu. Click "Go" and all available templates will appear in a list.

  • In the default VisualEditor, click on the top-left "Insert" and then click "Templates" from the dropdown list, or begin by typing {{, to bring up a list of templates, and then search for the name of the template you want.
  • In source edit mode, you can use the code {{Template name}} to add any template to your page.
  • In the classic editor, you can also select from the list of all templates available on your community by clicking "Add other templates".
  • Advanced users can edit the page MediaWiki:Editor-template-list to directly show up to four common templates in this section. The wikitext should be written like this, one per line:
    * Template:Templatename

Additionally, many templates can be found on the semi-official Templates Wiki (for basic templates) and the Fandom Developers Wiki (for more advanced templates), and can be used on your wiki or contributed to. See below for more.

How to create a basic template

Templates can be very powerful, but also sometimes very complicated. It often helps to start by creating the simplest possible kind of template, and then experimenting from there.

  • On your community, navigate to "Template:Example" using the address bar of your browser and click "Create" which can be found in the top right corner of the content section. This will open source editor to create the template.
  • You should see a popup asking you to Choose template type; check one of the options. If none match to what you're are looking for, check "Unknown".
  • Type a couple of words or a sentence in the editor.
  • Click "Publish". You have just created a template with some sample content.
  • On your community, create a new article called "Template test".
  • The next step to add the template to a page varies based on your chosen editor. See this section for more info.

You've successfully created and used a template! Now you can change the content of your template and add it to more pages to make it more useful for your community.

Advanced templates

Template parameters

Rachel VE template

Selecting parameters in VisualEditor's template tool

Templates can have parameters. These allow you to alter the way the template is displayed, such as including specific text or altering the design.

To take Template:Wikipedia as an example, adding just {{Wikipedia}} assumes that the page on Wikipedia is the same name as the page of the current page the template is used on. However, a parameter can be added to tell the template that the page on Wikipedia has a different name, for example Microsoft. In source edit mode, the code to add this parameter is {{Wikipedia|Microsoft}}, though in VisualEditor, the same is achieved by clicking on a template and editing the parameters.

It is possible to change the output of a template based on what the user inputs when editing the template in source editor. To learn more about how to do this, see Help:Template parameters and Help:Parser functions.

Substituting templates

A different way to use a template is to substitute its content into a page. This can only be done in source editor, and is done by inserting subst: immediately after the opening braces: {{subst:templatename}}. Once the page is saved, the link to the template is removed and the template output is substituted in its place and can be further edited. Any updates to the template will not affect the content that was substituted into the page.

To learn more, visit Help:Substituting templates.

Lua-based templates

There are alternatives to wikitext templates that provide particularly advanced templates, which may be more comfortable or performant for advanced users and software coders, in the form of Lua-based templates implemented in the Module namespace. While more complicated to code, these templates can perform faster and can be more readable. It is also possible to import existing Lua-based templates from the Fandom Developers Wiki' own Global Lua Modules list.

To learn more, visit Help:Lua.

Copying and updating templates

Updating and adding standard templates

The official Starter Wiki and semi-official Templates Wiki occasionally improve some of their documentation as well as adding new templates specifically designed for Fandom sites, and are therefore worth checking from time to time.

Copying templates from other wikis

Contributors throughout Fandom have made all different kinds of templates. It is often simpler to copy an existing template and modify it for your needs, rather than creating one from scratch. The Templates Wiki is a good place to start looking for a template that fits your needs, though an established wiki for a closely related subject to that of your wiki may already have the template you need.

In most cases, you are free to copy templates based on the shared CC-BY-SA license, but make sure the community you want to copy from does not have an alternative licensing scheme that may place restrictions on what you can copy. Giving credit to the community which you copied the template from is recommended and would likely be appreciated by that community.

Here are some basic steps to copy most templates:

  1. Find the template you want to copy (usually
  2. Click the Edit button, select all of the wikitext, and copy it.
  3. Create a new template page on your community (
  4. Paste the wikitext code you copied and press the Publish button.

Many templates have a separate subpage for documentation about the template, normally in <nowiki> tags. Fortunately, the location is often standardized, so it is easy to copy the documentation as well. If you notice the template page you copied above does not look like the original, it is likely the documentation is on a separate subpage:

  1. Find the template documentation you want to copy (usually
  2. Click the "Edit" button, select all the wikitext and copy it.
  3. Create a new template documentation subpage page on your community (
  4. Paste the wikitext code you copied and press the Publish button.

Previewing edited template

If using the source or classic edit modes, it is desirable to preview any template you have edited. Normally you can then click "Publish" from the preview screen. VisualEditor will show the template by default.

See also

Further help and feedback

Community content is available under Copyright unless otherwise noted.