Template:tweets-box
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (+2019) |
(add 2025 + column span) |
||
| (includes 17 intermediate revisions) | |||
| Line 1: | Line 1: | ||
| - | {{# | + | {{#setvar:pageCount|12}}<!-- /* <=== Update the Column Span/Page Count here! */ |
| + | |||
| + | -->{{#setvar:inMainPage|{{#ifeq:{{PAGENAME}}|@StrongBadActual|1|0}}}}<!-- | ||
| + | |||
| + | /* pick header depending on which page we're on: */ | ||
| + | -->{{#switch:{{#var:inMainPage}} | ||
| + | |0= | ||
<div style="text-align:center;float: right; margin: 0 0 1em 1em;"> | <div style="text-align:center;float: right; margin: 0 0 1em 1em;"> | ||
| - | + | <table cellpadding="3" cellspacing="0" style="border: 1px solid #000;"> | |
| - | + | <tr><td style="border-bottom:1px solid; background:#ddf">'''[[@StrongBadActual]]'''</td> | |
| - | + | <tr><td> | |
| - | + | |1= | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
<center> | <center> | ||
| - | + | <table cellpadding="3" cellspacing="0" style="border: 1px solid #000;width:50%;font-size:125%"> | |
| - | {{ | + | <tr><td colspan={{#var:pageCount}} style="border-bottom:1px solid; background:#ddf; text-align:center">'''Tweet Archives'''</td></tr> |
| - | {{ | + | <tr> |
| - | {{ | + | }} |
| - | {{ | + | {{tweets-box-year|2025|{{#var:inMainPage}}}} |
| - | {{ | + | {{tweets-box-year|2024|{{#var:inMainPage}}}} |
| - | {{ | + | {{tweets-box-year|2023|{{#var:inMainPage}}}} |
| - | {{ | + | {{tweets-box-year|2022|{{#var:inMainPage}}}} |
| - | {{ | + | {{tweets-box-year|2021|{{#var:inMainPage}}}} |
| - | {{ | + | {{tweets-box-year|2020|{{#var:inMainPage}}}} |
| + | {{tweets-box-year|2019|{{#var:inMainPage}}}} | ||
| + | {{tweets-box-year|2018|{{#var:inMainPage}}}} | ||
| + | {{tweets-box-year|2017|{{#var:inMainPage}}}} | ||
| + | {{tweets-box-year|2016|{{#var:inMainPage}}}} | ||
| + | {{tweets-box-year|2015|{{#var:inMainPage}}}} | ||
| + | {{tweets-box-year|2014|{{#var:inMainPage}}}} | ||
| + | <!-- | ||
| + | |||
| + | /* pick footer depending on which page we're on: */ | ||
| + | -->{{#switch:{{#var:inMainPage}} | ||
| + | |0= | ||
| + | </td></tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |1= | ||
| + | </tr></table> | ||
</center> | </center> | ||
}}<noinclude> | }}<noinclude> | ||
[[Category:Archive Templates|{{PAGENAME}}]] | [[Category:Archive Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
