Template:News: Difference between revisions
Template page
More actions
NekoPillow (talk | contribs) No edit summary |
NekoPillow (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
<div class="newsBox"> | <div class="newsBox"> | ||
<div class="header">{{Sprite|Newspaper}}The Growtopia Gazette</div> | <div class="header">{{Sprite|Newspaper}}The Growtopia Gazette</div> | ||
{{#if:{{{ | {{#if:{{{banner|}}}|{{Hover | ||
|image= {{{ | |image= {{{banner}}} | ||
|width= 600px | |width= 600px | ||
|link= {{{ | |link= {{{bannerLink|}}} | ||
}}|}} | }}|}} | ||
<div class="colorable"> | <div class="colorable"> | ||
| Line 11: | Line 11: | ||
{{{3|}}}}} | {{{3|}}}}} | ||
{{#if:{{{4|}}}|[[Image:Forum1.png|link={{{4}}}]]}} | |||
Visit our Social Media pages for more Content! | Visit our Social Media pages for more Content! | ||
| Line 30: | Line 32: | ||
<noinclude> | <noinclude> | ||
==='''Usage:'''=== | ==='''Usage:'''=== | ||
<nowiki>{</nowiki>{News|<span style='background:#FF9999'>Date</span>|<span style='background:#FF9999'>Title</span>|<span style='background:#FF9999'>Content</span>|<span style='background:# | <nowiki>{</nowiki>{News|<span style='background:#FF9999'>Date</span>|<span style='background:#FF9999'>Title</span>|<span style='background:#FF9999'>Content</span>|<span style='background:#FF9999'>Forum Link</span>|<span style='background:#BBFFBB'>[Parameters=]</span>}} | ||
==='''Parameters:'''=== | ==='''Parameters:'''=== | ||
| Line 38: | Line 40: | ||
! scope="col" style="width:75%" |Meaning | ! scope="col" style="width:75%" |Meaning | ||
|- | |- | ||
| banner= | |||
| The link of the banner image, shows on top of the gazette | |||
|- | |||
| bannerLink= | |||
| The page name that will open when user clicked on the banner. | |||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:28, 8 March 2020
Usage:
{{News|Date|Title|Content|Forum Link|[Parameters=]}}
Parameters:
| Parameter | Meaning |
|---|---|
| banner= | The link of the banner image, shows on top of the gazette |
| bannerLink= | The page name that will open when user clicked on the banner. |