Template:ToonInfo

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (More oops)
(autoreplace: Easter Egg(s) → Easter egg(s))
 
(includes 6 intermediate revisions)
Line 1: Line 1:
-
<includeonly>'''Cast (in order of appearance):''' {{#if:{{{char1|}}}|{{Film|{{{char1}}}}}}}{{#if:{{{char1ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char2|}}}|, {{Film|{{{char2}}}}}}}{{#if:{{{char2ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char3|}}}|, {{Film|{{{char3}}}}}}}{{#if:{{{char3ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char4|}}}|, {{Film|{{{char4}}}}}}}{{#if:{{{char4ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char5|}}}|, {{Film|{{{char5}}}}}}}{{#if:{{{char5ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char6|}}}|, {{Film|{{{char6}}}}}}}{{#if:{{{char6ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char7|}}}|, {{Film|{{{char7}}}}}}}{{#if:{{{char7ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char8|}}}|, {{Film|{{{char8}}}}}}}{{#if:{{{char8ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char9|}}}|, {{Film|{{{char9}}}}}}}{{#if:{{{char9ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char10|}}}|, {{Film|{{{char10}}}}}}}{{#if:{{{char10ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char11|}}}|, {{Film|{{{char11}}}}}}}{{#if:{{{char11ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char12|}}}|, {{Film|{{{char12}}}}}}}{{#if:{{{char12ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char13|}}}|, {{Film|{{{char13}}}}}}}{{#if:{{{char13ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char14|}}}|, {{Film|{{{char14}}}}}}}{{#if:{{{char14ee|}}}|&nbsp;(Easter egg)}}
+
<noinclude>{{tbd}}</noinclude>
 +
<includeonly>'''Cast (in order of appearance):''' {{#if:{{{char1|}}}|{{Film|{{{char1}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char1ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char2|}}}|, {{Film|{{{char2}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char2ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char3|}}}|, {{Film|{{{char3}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char3ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char4|}}}|, {{Film|{{{char4}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char4ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char5|}}}|, {{Film|{{{char5}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char5ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char6|}}}|, {{Film|{{{char6}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char6ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char7|}}}|, {{Film|{{{char7}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char7ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char8|}}}|, {{Film|{{{char8}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char8ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char9|}}}|, {{Film|{{{char9}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char9ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char10|}}}|, {{Film|{{{char10}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char10ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char11|}}}|, {{Film|{{{char11}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char11ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char12|}}}|, {{Film|{{{char12}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char12ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char13|}}}|, {{Film|{{{char13}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char13ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{char14|}}}|, {{Film|{{{char14}}}|{{{year}}} {{{month}}} {{{day}}}}}}}{{#if:{{{char14ee|}}}|&nbsp;(Easter egg)}}
'''Places:''' {{#ifexist:{{{place1}}}|[[{{{place1}}}]]|{{{place1}}}}}{{#if:{{{place1ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place2|}}}|, {{#ifexist:{{{place2}}}|[[{{{place2}}}]]|{{{place2}}}}}}}{{#if:{{{place2ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place3|}}}|, {{#ifexist:{{{place3}}}|[[{{{place3}}}]]|{{{place3}}}}}}}{{#if:{{{place3ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place4|}}}|, {{#ifexist:{{{place4}}}|[[{{{place4}}}]]|{{{place4}}}}}}}{{#if:{{{place4ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place5|}}}|, {{#ifexist:{{{place5}}}|[[{{{place5}}}]]|{{{place5}}}}}}}{{#if:{{{place5ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place6|}}}|, {{#ifexist:{{{place6}}}|[[{{{place6}}}]]|{{{place6}}}}}}}{{#if:{{{place6ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place7|}}}|, {{#ifexist:{{{place7}}}|[[{{{place7}}}]]|{{{place7}}}}}}}{{#if:{{{place7ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place8|}}}|, {{#ifexist:{{{place8}}}|[[{{{place8}}}]]|{{{place8}}}}}}}{{#if:{{{place8ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place9|}}}|, {{#ifexist:{{{place9}}}|[[{{{place9}}}]]|{{{place9}}}}}}}{{#if:{{{place9ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place10|}}}|, {{#ifexist:{{{place10}}}|[[{{{place10}}}]]|{{{place10}}}}}}}{{#if:{{{place10ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place11|}}}|, {{#ifexist:{{{place11}}}|[[{{{place11}}}]]|{{{place11}}}}}}}{{#if:{{{place11ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place12|}}}|, {{#ifexist:{{{place12}}}|[[{{{place12}}}]]|{{{place12}}}}}}}{{#if:{{{place12ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place13|}}}|, {{#ifexist:{{{place13}}}|[[{{{place13}}}]]|{{{place13}}}}}}}{{#if:{{{place13ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place14|}}}|, {{#ifexist:{{{place14}}}|[[{{{place14}}}]]|{{{place14}}}}}}}{{#if:{{{place14ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{comp|}}}|<p>'''Computer:''' [[{{{comp}}}]] {{#ifexist:Category: {{{comp}}} Emails|[[Category: {{{comp}}} Emails]]}}</p>}}
'''Places:''' {{#ifexist:{{{place1}}}|[[{{{place1}}}]]|{{{place1}}}}}{{#if:{{{place1ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place2|}}}|, {{#ifexist:{{{place2}}}|[[{{{place2}}}]]|{{{place2}}}}}}}{{#if:{{{place2ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place3|}}}|, {{#ifexist:{{{place3}}}|[[{{{place3}}}]]|{{{place3}}}}}}}{{#if:{{{place3ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place4|}}}|, {{#ifexist:{{{place4}}}|[[{{{place4}}}]]|{{{place4}}}}}}}{{#if:{{{place4ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place5|}}}|, {{#ifexist:{{{place5}}}|[[{{{place5}}}]]|{{{place5}}}}}}}{{#if:{{{place5ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place6|}}}|, {{#ifexist:{{{place6}}}|[[{{{place6}}}]]|{{{place6}}}}}}}{{#if:{{{place6ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place7|}}}|, {{#ifexist:{{{place7}}}|[[{{{place7}}}]]|{{{place7}}}}}}}{{#if:{{{place7ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place8|}}}|, {{#ifexist:{{{place8}}}|[[{{{place8}}}]]|{{{place8}}}}}}}{{#if:{{{place8ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place9|}}}|, {{#ifexist:{{{place9}}}|[[{{{place9}}}]]|{{{place9}}}}}}}{{#if:{{{place9ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place10|}}}|, {{#ifexist:{{{place10}}}|[[{{{place10}}}]]|{{{place10}}}}}}}{{#if:{{{place10ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place11|}}}|, {{#ifexist:{{{place11}}}|[[{{{place11}}}]]|{{{place11}}}}}}}{{#if:{{{place11ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place12|}}}|, {{#ifexist:{{{place12}}}|[[{{{place12}}}]]|{{{place12}}}}}}}{{#if:{{{place12ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place13|}}}|, {{#ifexist:{{{place13}}}|[[{{{place13}}}]]|{{{place13}}}}}}}{{#if:{{{place13ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{place14|}}}|, {{#ifexist:{{{place14}}}|[[{{{place14}}}]]|{{{place14}}}}}}}{{#if:{{{place14ee|}}}|&nbsp;(Easter egg)}}{{#if:{{{comp|}}}|<p>'''Computer:''' [[{{{comp}}}]] {{#ifexist:Category: {{{comp}}} Emails|[[Category: {{{comp}}} Emails]]}}</p>}}
-
'''Date:''' {{{weekday}}}, {{#switch:{{{month}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Monthuary}} {{{day}}}, {{{year}}}
+
'''Date:''' {{{weekday}}}, {{#switch:{{{month}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Monthuary}} {{#expr:{{{day}}}}}, {{{year}}}
'''Running Time:''' {{{runtime}}}
'''Running Time:''' {{{runtime}}}
-
'''Page Title:''' {{{pagetitle}}}{{#if:{{{dvd|}}}|<p>'''DVD:''' [[{{{dvd}}}]]</p>[[Category: {{{dvd}}}]]}}</includeonly><noinclude>
+
'''Page Title:''' {{{pagetitle}}}{{#if:{{{dvd|}}}|<p>'''DVD:''' [[{{{dvd}}}]][[Category: {{{dvd}}}]]{{#if:{{{dvd2|}}}|, [[{{{dvd2}}}]][[Category: {{{dvd2}}}]]}}</p>}}</includeonly><noinclude>
This template automatically creates a header for each toon or Strong Bad Email. '''Note:''' Currently only allows for up to 14 characters and places.
This template automatically creates a header for each toon or Strong Bad Email. '''Note:''' Currently only allows for up to 14 characters and places.
Line 14: Line 15:
| char1 = First character to appear in the toon
| char1 = First character to appear in the toon
| char2 = Second character to appear in the toon (and so on)
| char2 = Second character to appear in the toon (and so on)
-
| char2ee = When a character only appears in an Easter Egg, add a "char#ee" tag and make it equal to any value
+
| char2ee = When a character only appears in an Easter egg, add a "char#ee" tag and make it equal to any value
| place1 = First location to appear in the toon
| place1 = First location to appear in the toon
| place2 = Second location to appear in the toon (and so on)
| place2 = Second location to appear in the toon (and so on)
Line 21: Line 22:
| weekday = Day of the week the toon was released
| weekday = Day of the week the toon was released
| year = Year toon was released
| year = Year toon was released
-
| month = Month toon was released (as a number; ie. January would be "01")
+
| month = Month toon was released (as a two-digit number; ie. January would be "01")
-
| day = Day of the month toon was released
+
| day = Day of the month toon was released (also as a two-digit number; always include the leading zero)
| runtime = Time the toon takes to run
| runtime = Time the toon takes to run
| pagetitle = Title of the page
| pagetitle = Title of the page
 +
| dvd = Name of the DVD on which the toon appears
 +
| dvd2 = If it appears in a second DVD, use the dvd2 tag to mark the second
}}</pre>
}}</pre>
Line 54: Line 57:
| comp = Lappy 486
| comp = Lappy 486
| weekday = Monday
| weekday = Monday
-
| month = 6
+
| month = 06
-
| day = 6
+
| day = 06
| year = 2005
| year = 2005
| runtime = 4:40
| runtime = 4:40
| pagetitle = Lappy 486
| pagetitle = Lappy 486
 +
| dvd = strongbad_email.exe Disc Five
}}</pre>
}}</pre>
-
[[Category:Formatting Templates|{{PAGENAME}}]]
+
[[Category:Toon Article Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Current revision as of 22:26, 23 October 2022


This template automatically creates a header for each toon or Strong Bad Email. Note: Currently only allows for up to 14 characters and places.

[edit] Usage

{{ToonInfo
| char1 = First character to appear in the toon
| char2 = Second character to appear in the toon (and so on)
| char2ee = When a character only appears in an Easter egg, add a "char#ee" tag and make it equal to any value
| place1 = First location to appear in the toon
| place2 = Second location to appear in the toon (and so on)
| place2ee = Again, for locations that only appear in Easter eggs, add a "place#ee" tag and make it equal to any value
| comp = For Strong Bad Emails, the computer used (don't include for other toons)
| weekday = Day of the week the toon was released
| year = Year toon was released
| month = Month toon was released (as a two-digit number; ie. January would be "01")
| day = Day of the month toon was released (also as a two-digit number; always include the leading zero)
| runtime = Time the toon takes to run
| pagetitle = Title of the page
| dvd = Name of the DVD on which the toon appears
| dvd2 = If it appears in a second DVD, use the dvd2 tag to mark the second
}}

Example:

(from boring (really))

{{ToonInfo
| char1 = Strong Bad
| char2 = Bubs
| char3 = Homestar Runner
| char4 = Strong Sad
| char5 = Coach Z
| char6 = Pom Pom
| char7 = The King of Town
| char8 = Homsar
| char9 = The Poopsmith
| char10 = Pom Pom's girls
| char6ee = very yes
| char7ee = very yes
| char8ee = him too
| char9ee = yup
| char10ee = them too
| place1 = Computer Room
| place2 = Bubs' Concession Stand
| place3 = The Stick
| place4 = King of Town's Castle
| place4ee = very yes
| comp = Lappy 486
| weekday = Monday
| month = 06
| day = 06
| year = 2005
| runtime = 4:40
| pagetitle = Lappy 486
| dvd = strongbad_email.exe Disc Five
}}
Personal tools