Template:tweets-box
From Homestar Runner Wiki
(Difference between revisions)
(I should've read the annual checklist more carefully) |
(move colspan into a variable so it can be easily updated at the top of the page) |
||
Line 1: | Line 1: | ||
- | {{#switch:{{PAGENAME}}|#default= | + | {{#setvar:pageCount|10}}<!-- /* <=== Update the Column Span/Page Count here! */ |
+ | |||
+ | -->{{#switch:{{PAGENAME}}|#default= | ||
<div style="text-align:center;float: right; margin: 0 0 1em 1em;"> | <div style="text-align:center;float: right; margin: 0 0 1em 1em;"> | ||
{{{!}} cellpadding="3" cellspacing="0" style="border: 1px solid #000;" | {{{!}} cellpadding="3" cellspacing="0" style="border: 1px solid #000;" | ||
Line 20: | Line 22: | ||
<center> | <center> | ||
{{{!}} cellpadding="3" cellspacing="0" style="border: 1px solid #000;width:50%;font-size:125%" | {{{!}} cellpadding="3" cellspacing="0" style="border: 1px solid #000;width:50%;font-size:125%" | ||
- | {{!}}colspan= | + | {{!}}colspan={{#var:pageCount}} style="border-bottom:1px solid; background:#ddf; text-align:center"{{!}}'''Tweet Archives''' |
{{!}}- | {{!}}- | ||
{{!}}align=center{{!}}'''[[@StrongBadActual Tweets 2023|2023]]''' | {{!}}align=center{{!}}'''[[@StrongBadActual Tweets 2023|2023]]''' |