Template:newspage

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(fix)
(add image and caption)
Line 7: Line 7:
<span style="font-size:200%">'''{{{1}}}'''</span>
<span style="font-size:200%">'''{{{1}}}'''</span>
 +
{{#if:{{{image|}}}|<center>{{{image|}}}<br>
 +
{{#if:{{{caption|}}}|<small>''{{{caption|}}}''</small></center>|</center>}}
 +
|}}
{{{text}}}
{{{text}}}
|}<noinclude>
|}<noinclude>
-
'''Usage:''' <code><nowiki>{{newspage|color=2|Title|text=Text}}</nowiki></code>
+
'''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 for an alternate color scheme.
[[Category:Fancy Formatting Templates]]
[[Category:Fancy Formatting Templates]]

Revision as of 02:30, 21 February 2022

< 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 for an alternate color scheme.

Personal tools