Don't forget: You can log in with your Play.net account
Template:Announcement: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="padding: 2px; padding-left: 10px; background: #EFEFDE; border: 1px solid navy; text-align: left; font-family: sans-serif; color: black;"> |
|||
{{#if: {{{category |}}} |'''Category:''' {{{category}}} |}} |
|||
{{#if: {{{subject|}}} |<br/>'''Subject:''' {{{subject}}} |}} |
|||
{{#if: {{{author|}}} |<br/>'''Author: <span style="color: #258ed4; font-weight: bold;" >{{{author}}}</span> |}} |
|||
{{#if: {{{date|}}} |<br/>'''Date: '''{{{date}}} |}} |
|||
</div> |
|||
⚫ | |||
<noinclude> |
<noinclude> |
||
This is the "Announcement" template. |
|||
<pre{{log2|border=none}}> |
|||
It should be called in the following format: |
|||
<nowiki> |
|||
<pre> |
|||
{{Announcement |
{{Announcement |
||
|category= |
|||
| category = General, Development, Prime, Premium, Platinum, Events, CHE, or MHO. Match the Discord announcements channel. |
|||
|subject= |
|||
| subject = Short description, like "New Lore Document: Artisanal Glassworking of Elanthia" |
|||
| |
|author= |
||
| |
|date= |
||
}} |
}} |
||
</nowiki> |
|||
</pre> |
</pre> |
||
Edit the page to see the template text. |
|||
⚫ | |||
==category== |
|||
{{#arraymap:{{{category|}}}|,|x|[[announcement_category::x]]}} |
|||
==subject== |
|||
Remember to protect pages that use this template! |
|||
[[announcement_subject::{{{subject|}}}]] |
|||
==author== |
|||
[[announcement_author::{{{author|}}}]] |
|||
==date== |
|||
[[announcement_date::{{{date|}}}]] |
|||
⚫ | |||
*[[Template:Announcement/testcases]] |
|||
</includeonly> |
|||
[[Category:Miscellaneous special articles templates]] |
|||
⚫ |
Revision as of 18:16, 31 August 2022
This is the "Announcement" template. It should be called in the following format:
{{Announcement |category= |subject= |author= |date= }}
Edit the page to see the template text.