Template:SBE ByLength Row
From Homestar Runner Wiki
- Purpose
- This template is used exclusively in the Strong Bad Email By Length page.
- It facilitates the following:
- era-based sorting of both regular and w/Easter Egg times
- correct sorting of DVD items (w/ minor update to the source)
- Easy updating of headers and columns
- Usage
{{SBE ByLength Row|header=1}} {{SBE ByLength Row|era=compe|vtime=...}} {{SBE ByLength Row|era=compe|vtime=...}} {{SBE ByLength Row|footer=1}}
- Parameters
- header — indicates that the current "row" is actually the start of the table.
- footer — indicates that the current "row" is actually the end of the table.
- era — indicates what computer era the email belongs to
- Valid era codes are: tandy, compy, lappy, corpy, compe, lappier and dvd
- vtime — total toon time (in seconds) without Easter Eggs
- vtime_extra (optional) — extra text to append after toon time
- eetime — total toon time (in seconds) with Easter Eggs
- eetime_extra (optional) — extra text to append after easter egg toon time
- index — email number (or DVD email number)
- title — email title (used to link to wiki page)
- title_extra (optional) — extra text to append after title
- record (optional) — if set, the title is highlighted to indicate a record of some kind
- dvd (optional) — this indicates that the toon is a DVD toon
- Row Example
Our original source row:
| #{{vcount|emails}} || {{tally time|compe|{{hmss|5|20}}}} (Flash)<br>4:38 (YouTube)<!-- NOTE: the YT version is not auto-tallied to keep things simple.--> || {{tally time|compe-ee|{{hmss|5|48}}}} || <span style="display:none">203</span>203. [[independent]]
Would turn into:
{{SBE ByLength Row|era=compe|vtime={{hmss|5|20}}|eetime={{hmss|5|48}}|index=203|title=independent|title_extra=|record=|vtime_extra=(Flash)<br>4:38 (YouTube)<!-- NOTE: the YT version is not auto-tallied to keep things simple.-->}}
- Uses:
- {{tally time}}
- {{vcount}}