Template:Audio/doc

From Grand Theft Wiki
< Template:Audio
Revision as of 17:27, 23 April 2012 by Gboyers (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template shows an audio file (either from a Youtube video or an uploaded OGG file) within a prepared table, showing a title, caption and author.


Basic Usage

Youtube video OGG File
{{audio | Youtube Video ID | Title }}
{{audio | 5p1vacn3KcE | Vice City Theme }}
Vice City Theme
{{audio | file= File Name | Title }}
{{audio | file=GTAIV-Theme.ogg |  GTA IV Theme }}
Audio File


Advanced variables

yt = Youtube Video ID
file = OGG file upload (eg: audio.ogg)
title = Title
image= Image name only (eg: Image.jpg)
link= Page for image to link to (eg: GTA IV)
caption = Caption to go below the video
author = Author or source
authortitle = Bold caption before the author's name (default: "Author", could use "Source" etc)
float = left/right/none (default: none)
style = Advanced CSS to apply to the table itself
Example (shown on right)
{{audio | jqE8M2ZnFL8 | title = GTA IV Theme |  image = Iv_boxart.jpg| caption = Theme from [[GTA IV]] | author = [[Rockstar Games]] | authortitle = Source | float=right | style=background-color:black; color:white; }}
GTA IV Theme
300px
Theme from GTA IV Source: Rockstar Games