Template:newspage

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(formatting template; yesinclude noinclude tag; some formatting code; the redundant </center> tags can be moved outside of "if caption")
(added an extra color for what's in the new sticker announcements)
 
Line 1: Line 1:
{| width="75%"
{| width="75%"
|-
|-
-
|style="background-color:#{{#switch:{{{color|1}}}|1=3F629A|2=A0B7D4|3=5C5C5C}};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}};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:|{{f|#{{#switch:{{{color|1}}}|1=6582AE|2=6582AE}}|t=< back}}]]</span>'''
'''<span class="plainlinks">[[hr:|{{f|#{{#switch:{{{color|1}}}|1=6582AE|2=6582AE}}|t=< back}}]]</span>'''
Line 21: Line 21:
|text=Text}}</pre>
|text=Text}}</pre>
-
The "color" parameter is set to 1 by default, but can be set to 2 or 3 for an alternate color scheme.
+
The "color" parameter is set to 1 by default, but can be set to 2, 3, and 4 for an alternate color scheme.
[[Category:Fancy Formatting Templates]]
[[Category:Fancy Formatting Templates]]
</noinclude>
</noinclude>

Current revision as of 19:40, 25 March 2023

< back

{{{1}}}


{{{text}}}

Usage:
{{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, and 4 for an alternate color scheme.

Personal tools