Template:toonmenu

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (autoreplace: category sorting)
(okay, it worked. gonna update here so we can start converting the toons menu over.)
Line 6: Line 6:
| img  = the image (note that the Image namespace is not necessary)
| img  = the image (note that the Image namespace is not necessary)
| name = the name of the toon (if you need to make a piped link, use {{!}} for the pipe)
| name = the name of the toon (if you need to make a piped link, use {{!}} for the pipe)
 +
| nameold = the name of the toon as it appeared on a previous menu. Leave out if unnecessary.
| chan = '''(channel ID)''' (explanation of ID) (note the formatting of previous entries)
| chan = '''(channel ID)''' (explanation of ID) (note the formatting of previous entries)
 +
| chanold = channel ID as it appeared on a previous menu. Leave out if unnecessary.
| desc = the description from the toons menu
| desc = the description from the toons menu
 +
| descold = the description as it appeared on a previous menu. Leave out if unnecessary.
| time = the running time listed on the menu
| time = the running time listed on the menu
| date = the year listed on the menu
| date = the year listed on the menu
Line 29: Line 32:
</noinclude><includeonly>|-
</noinclude><includeonly>|-
| {{hcount|{{{type}}}}}[[Image:{{{img}}}|75px]]
| {{hcount|{{{type}}}}}[[Image:{{{img}}}|75px]]
-
| [[{{{name}}}]]
+
| [[{{{name}}}]]{{#if:{{{nameold|}}}|<br><small>'''Old name:''' {{{nameold}}}</small>}}
-
| <small>{{{chan}}}</small>
+
| <small>{{{chan}}}{{#if:{{{chanold|}}}|<br><small>'''Old channel ID:''' {{{chanold}}}</small>}}</small>
-
| {{{desc}}}
+
| {{{desc}}}{{#if:{{{descold|}}}|<br><small>'''Old description:''' {{{descold}}}</small>}}
| {{{time}}}
| {{{time}}}
| {{{date}}}
| {{{date}}}
| [[HR:menuswfs/menu_{{{prev}}}.swf|Preview]]
| [[HR:menuswfs/menu_{{{prev}}}.swf|Preview]]
</includeonly>
</includeonly>

Revision as of 21:12, 28 August 2012

Creates an entry for a toon on Toons and New Stuff.

Usage

{{toonmenu
| type = the section the toon is in (Big Toons, Shorts, etc.), used for sorting the tables
| img  = the image (note that the Image namespace is not necessary)
| name = the name of the toon (if you need to make a piped link, use {{!}} for the pipe)
| nameold = the name of the toon as it appeared on a previous menu. Leave out if unnecessary.
| chan = '''(channel ID)''' (explanation of ID) (note the formatting of previous entries)
| chanold = channel ID as it appeared on a previous menu. Leave out if unnecessary.
| desc = the description from the toons menu
| descold = the description as it appeared on a previous menu. Leave out if unnecessary.
| time = the running time listed on the menu
| date = the year listed on the menu
| prev = the preview image; fill in the unique part of the following: menuswfs/menu_[prev].swf (see example below)
}}

Example

{{toonmenu
| type = New Stuff
| img  = Tgs13.png
| name = Teen Girl Squad Issue 13{{!}}Teen Girl Squad #13
| chan = '''(TGS)''' ('''T'''een '''G'''irl '''S'''quad)
| desc = Tomkins bout to get babysat!
| time = 3:28
| date = 2007
| prev = tgs13
}}
Personal tools