Template:News: Difference between revisions
Template page
More actions
NekoPillow (talk | contribs) No edit summary |
NekoPillow (talk | contribs) No edit summary |
||
| Line 9: | Line 9: | ||
<div class="colorable"> | <div class="colorable"> | ||
{{#invoke:Chat|parse|`w{{{1|}}}: `5{{{2|}}} | {{#invoke:Chat|parse|`w{{{1|}}}: `5{{{2|}}} | ||
<div class="flex-img col-3"> | |||
{{#if:{{{featureLink1|}}}|[[Image:NewsFeature1.png|link={{{featureLink1}}}]]}} | |||
{{#if:{{{featureLink2|}}}|[[Image:NewsFeature2.png|link={{{featureLink2}}}]]}} | |||
{{#if:{{{featureLink3|}}}|[[Image:NewsFeature3.png|link={{{featureLink3}}}]]}} | |||
</div> | |||
{{{3|}}}}} | {{{3|}}}}} | ||
| Line 40: | Line 46: | ||
|- | |- | ||
| bannerLink= | | bannerLink= | ||
| The page name that will open when user clicked on the banner. | | The page name that will open when user clicked on the banner. Leave blank to hide it. | ||
|- | |||
| featureLink1= | |||
| The page name that will open when user clicked on the 1st Feature image. Leave blank to hide it. | |||
|- | |||
| featureLink2= | |||
| The page name that will open when user clicked on the 2nd Feature image. Leave blank to hide it. | |||
|- | |||
| featureLink3= | |||
| The page name that will open when user clicked on the 3rd Feature image. Leave blank to hide it. | |||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:50, 8 March 2020
Usage:
{{News|Date|Title|Content|Forum Link|[Parameters=]}}
Parameters:
| Parameter | Meaning |
|---|---|
| bannerLink= | The page name that will open when user clicked on the banner. Leave blank to hide it. |
| featureLink1= | The page name that will open when user clicked on the 1st Feature image. Leave blank to hide it. |
| featureLink2= | The page name that will open when user clicked on the 2nd Feature image. Leave blank to hide it. |
| featureLink3= | The page name that will open when user clicked on the 3rd Feature image. Leave blank to hide it. |