Template:InlineMedia

From Uncyclopedia, the content-free encyclopedia

Revision as of 11:08, December 28, 2010 by Zombiebaron (talk | contribs)

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

(Gnome-speakernotes [[Media:UnNews--{{{1}}}.mp3|listen]])

[edit] [purge] Template-info Template documentation

A template that expands to be an in-line reference to an UnNews Audio. As shown, the reference appears as a speaker graphic and "listen" or caller-specified text. It has been used, to provide an indication that a referenced article also has an audio version, in the following contexts:

Contents

Variables

  • 1 - Title of actual article (required)
  • 2 - Text to display
  • filetype - Filetype, if other than .mp3. Example: .aac
  • notitle - If set to 'true', the title will not be rendered. This is recommended if you're going to use it in the end of RecentUnNews.
  • filename - If the filename is something other than the title of the article. This will also exclude the "unnews--" part from the filename. This WILL NOT exclude the filetype.

Usage

Common

{{InlineMedia|India unveils prototype of $3 iPad}}

Produces:

(Gnome-speakernotes listen)

Alternate title

{{InlineMedia2|India unveils prototype of $3 iPad|'''India makes an iPad!'''}}

Produces:

India makes an iPad! (Gnome-speakernotes listen)

Files without UnNews-- beginning

Or rather, FAILS without UnNews-- beginning:

{{InlineMedia2|India unveils prototype of $3 iPad|'''India makes an iPad!'''|start=}}

This will produce a link for files without the UnNews-- beginning in the filename.

No title

Use Template:InlineMedia with the same functions, excluding {{{2}}}

Personal tools
projects