Template:News: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
<div class="flex-img col-3"> | <div class="flex-img col-3"> | ||
{{#if:{{{featureLink1|}}}|[[Image:NewsFeature1.png|link={{{featureLink1}}}]]}}{{#if:{{{featureLink2|}}}|[[Image:NewsFeature2.png|link={{{featureLink2}}}]]}}{{#if:{{{featureLink3|}}}|[[Image: | {{#if:{{{featureLink1|}}}|[[Image:NewsFeature1.png|link={{{featureLink1}}}]]}}{{#if:{{{featureLink2|}}}|[[Image:NewsFeature2.png|link={{{featureLink2}}}]]}}{{#if:{{{featureLink3|}}}|[[Image:NewsFeature3.png|link={{{featureLink3}}}]]}} | ||
</div> | </div> | ||
Revision as of 08:28, 7 December 2020
Usage:
{{News|Date|Title|Content|[Forum Link]|[Content after Forum Button]|[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. |
| featureLink2= | The page name that will open when user clicked on the 2nd Feature image. |
| featureLink3= | The page name that will open when user clicked on the 3rd Feature image. |
| communityLink1= | The link that will open when user clicked on the 1st Community image. |
| communityLink2= | The link that will open when user clicked on the 2nd Community image. |
| communityLink3= | The link that will open when user clicked on the 3rd Community image. |