Template:News/doc
This is a documentation subpage for Template:News.
It contains usage information and other content that is not part of the original template page. |
This template is used on the main page of the wiki for displaying the news.
This template uses {{News/core}}
for the styling.
Usage
For more information about editing the parameters within this template, see Template:News/core.
Announcement
Can display up to three different announcements. Differentiated with the index
parameter [1 to 3].
{{News/core|type=announcement |index= |date= |text= |link= }}
Official
Can display up to six different official news articles. Differentiated with the index
parameter [1 to 6].
{{News/core|type=official |index= |title= |date= |text= |link= }}
Community
Can display up to three different community news articles. Differentiated with the index
parameter [1 to 3].
{{News/core|type=community |index= |month= |day= |year= |text= }}
Examples
Announcement
{{News|announcement}}
- Displays:
Official
{{News|official}}
- Displays:
Community
{{News|community}}
- Displays: