Template:newspage
From Homestar Runner Wiki
(Difference between revisions)
(there are four of these now, might as well make a template) |
m (added color from the newest one) |
||
| (includes 6 intermediate revisions) | |||
| Line 1: | Line 1: | ||
{| width="75%" | {| width="75%" | ||
|- | |- | ||
| - | |style="background-color:#{{#switch:{{{color|1}}}|1=3F629A|2=A0B7D4}};color:white;border-radius:20px;-moz-border-radius:20px;-webkit-border-radius:20px;-khtml-border-radius:20px;-icab-border-radius:20px;-o-border-radius:20px;padding:2em"| | + | |style="background-color:#{{#switch:{{{color|1}}}|1=3F629A|2=A0B7D4|3=5C5C5C|4=5496C0|5=208DD7}};color:white;border-radius:20px;-moz-border-radius:20px;-webkit-border-radius:20px;-khtml-border-radius:20px;-icab-border-radius:20px;-o-border-radius:20px;padding:2em"| |
| - | '''<span class="plainlinks">[[hr:| | + | '''<span class="plainlinks">[[hr:|{{f|#{{#switch:{{{color|1}}}|1=6582AE|2=6582AE}}|t=< back}}]]</span>''' |
| - | + | {{f|size=200%|t='''{{{1}}}'''}} | |
| - | {{{ | + | {{#if:{{{image|}}}<!-- |
| - | |}<noinclude> | + | -->|<center>{{{image|}}}<br> |
| - | '''Usage:''' < | + | {{#if:{{{caption|}}}<!-- |
| + | -->|<small>''{{{caption|}}}''</small><!-- | ||
| + | -->|<!-- | ||
| + | -->}}</center><!-- /* end {{#if:{{{caption|}}} */ --> | ||
| + | |}}<!-- /* end {{#if:{{{image|}}} */ --> | ||
| + | {{{text}}} | ||
| + | |}<includeonly>[[Category:News Pages]]</includeonly><noinclude> | ||
| + | '''Usage:''' <pre>{{newspage|color=2|Title | ||
| + | |image=[[File:news ruffleupdate.jpg|300px|Ruffulate!]] | ||
| + | |caption=Caption under the image | ||
| + | |text=Text}}</pre> | ||
| - | The "color" parameter is set to 1 by default, but can be set to 2 for an alternate color scheme. | + | The "color" parameter is set to 1 by default, but can be set to 2, 3, 4, or 5 for an alternate color scheme. |
[[Category:Fancy Formatting Templates]] | [[Category:Fancy Formatting Templates]] | ||
| + | </noinclude> | ||
Current revision as of 03:18, 17 December 2024
|
{{{1}}}
|
{{newspage|color=2|Title
|image=[[File:news ruffleupdate.jpg|300px|Ruffulate!]]
|caption=Caption under the image
|text=Text}}
The "color" parameter is set to 1 by default, but can be set to 2, 3, 4, or 5 for an alternate color scheme.
