Template:sbEmailQuoteEntry
From Homestar Runner Wiki
(Difference between revisions)
(new template for email emails project, maybe this can be completed this year?) |
(forgot to add hidden counter) |
||
Line 48: | Line 48: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#ifeq:{{{top|}}}|true| | -->{{#ifeq:{{{top|}}}|true| | ||
- | {{{!}} border=1 cellspacing=0 cellpadding=5 style="border-collapse:collapse; text-align: center" class="sortable" | + | {{hresetcount|emailQuoteCount}}<!-- |
+ | -->{{{!}} border=1 cellspacing=0 cellpadding=5 style="border-collapse:collapse; text-align: center" class="sortable" | ||
{{!}}- bgcolor=#eeeeee | {{!}}- bgcolor=#eeeeee | ||
! Number !! Email Title !! Email Text | ! Number !! Email Title !! Email Text | ||
Line 55: | Line 56: | ||
--> | --> | ||
|- id="{{{1}}} | |- id="{{{1}}} | ||
- | | {{{1}}} | + | | {{hcount|emailQuoteCount}}{{{1}}} |
| [[{{#navlist:sbenav-lookup|#|{{{1}}}}}]] | | [[{{#navlist:sbenav-lookup|#|{{{1}}}}}]] | ||
| align="left" | {{{email}}} | | align="left" | {{{email}}} | ||
</includeonly> | </includeonly> |
Current revision as of 11:26, 5 January 2023
This template generates a table row in the User:Stux/Strong Bad Email Emails page.
[edit] Usage
{{sbEmailQuoteEntry |<email number> |email = <email blockquote wiki code> }}
Important Notes:
- The table footer must be included manually.
[edit] Examples
The text:
{{sbEmailQuoteEntry |1 |top = true |email=<blockquote class="tandy email">Dear Strong Bad,<br /> <br /> Do you take your wrestling mask and boxing<br /> gloves off before you go to bed?<br /> <br /> Sincerely,<br /> Abdi LaRue<br /> San Diego, CA</blockquote> }} |}
Generates:
Number | Email Title | Email Text |
---|---|---|
1 | some kinda robot | Dear Strong Bad, |