Template:toonmenu
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (template for use on Toons) |
(nevermind again) |
||
| (includes 24 intermediate revisions) | |||
| Line 1: | Line 1: | ||
| - | |-{{hcount|{{{type}}}}} | + | <noinclude>Creates an entry for a toon on [[Toons]] and [[New Stuff]]. |
| - | + | ===Usage=== | |
| - | | [[{{{name}}}]] | + | <pre> |
| - | | <small>{{{chan}}}</small> | + | {{toonmenu |
| - | | {{{desc}}} | + | | 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) |
| - | | {{{date}}} | + | | 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 | ||
| + | | descflash = the description as it appeared on the Flash menu; leave out if unnecessary | ||
| + | | 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) | ||
| + | | prev2 = the preview image for non-Flash toons; fill in the unique part of the following: media/pages/toons/[prev2] | ||
| + | }} | ||
| + | </pre> | ||
| + | ===Example=== | ||
| + | <pre> | ||
| + | {{toonmenu | ||
| + | | type = Teen Girl Squad | ||
| + | | img = Tgs13.png | ||
| + | | name = Teen Girl Squad Issue 13{{!}}Teen Girl Squad #13 | ||
| + | | chan = '''(TGS)''' ('''T'''een '''G'''irl '''S'''quad) | ||
| + | | desc = Baby sitting shenanigans | ||
| + | | descflash = Tomkins bout to get babysat! | ||
| + | | time = 3:28 | ||
| + | | date = 2007 | ||
| + | | prev = tgs13 | ||
| + | }} | ||
| + | </pre> | ||
| + | [[Category:Toon Article Formatting Templates|{{PAGENAME}}]] | ||
| + | </noinclude><includeonly>|- | ||
| + | |{{#if:{{{descflash|}}}|rowspan=2{{!}}}} {{hcount|{{{type}}}}}[[Image:{{{img}}}|75px]] | ||
| + | |{{#if:{{{descflash|}}}|rowspan=2{{!}}}} [[{{{name}}}]]{{#if:{{{nameold|}}}|<br><small>'''Old name:''' {{{nameold}}}</small>}} | ||
| + | |{{#if:{{{descflash|}}}|rowspan=2{{!}}}} <small>{{{chan}}}{{#if:{{{chanold|}}}|<br><small>'''Old channel ID:''' {{{chanold}}}</small>}}</small> | ||
| + | |{{{desc}}}{{#if:{{{descold|}}}|{{#ifeq:{{{descflash|}}}||<br><small>'''Old description:''' {{{descold}}}</small>|}}}} | ||
| + | |{{#if:{{{descflash|}}}|rowspan=2{{!}}}} {{{date}}} | ||
| + | |{{#if:{{{descflash|}}}|rowspan=2{{!}}}} {{{time}}}{{#if:{{{prev|}}}|<br> | ||
| + | {{!}}{{#if:{{{descflash|}}}|rowspan=2{{!}}}} {{#ifeq:{{{prev|}}}|0|''N/A''|[[OldHR:menuswfs/menu_{{{prev}}}.swf|Preview]]}}}}{{#if:{{{prev2|}}}|<br> | ||
| + | {{!}}{{#if:{{{descflash|}}}|rowspan=2{{!}}}} {{#ifeq:{{{prev2|}}}|0|''N/A''|[[HR:media/pages/toons/{{{prev2}}}|Preview]]}}}}{{#if:{{{descflash|}}}|<br> | ||
| + | {{!}}- | ||
| + | {{!}} <small>'''Flash:''' {{{descflash}}}{{#if:{{{descold|}}}|<br>'''Old description:''' {{{descold}}}}}</small> | ||
| + | }} | ||
| + | </includeonly> | ||
Current revision as of 04:42, 28 February 2021
Creates an entry for a toon on Toons and New Stuff.
[edit] 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
| descflash = the description as it appeared on the Flash menu; leave out if unnecessary
| 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)
| prev2 = the preview image for non-Flash toons; fill in the unique part of the following: media/pages/toons/[prev2]
}}
[edit] Example
{{toonmenu
| type = Teen Girl Squad
| img = Tgs13.png
| name = Teen Girl Squad Issue 13{{!}}Teen Girl Squad #13
| chan = '''(TGS)''' ('''T'''een '''G'''irl '''S'''quad)
| desc = Baby sitting shenanigans
| descflash = Tomkins bout to get babysat!
| time = 3:28
| date = 2007
| prev = tgs13
}}
