Don't forget: You can log in with your Play.net account
Template:Announcement: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template should only be used by GMs via the official Announcements form.</noinclude> |
|||
<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:''' {{#arraymap:{{{category|}}}|,|x|x}} |}} |
|||
{{#if: {{{subject|}}} |<br/>'''Subject:''' {{{subject|}}} |}} |
|||
{{#if: {{{author|}}} |<br/>'''Author: <span style="color: #258ed4; font-weight: bold;" >{{{author|}}} </span> |}} |
|||
{{#if: {{{date|}}} |<br/>'''Date: '''{{{date|}}} |}} |
|||
</div> |
|||
[[Category:Announcements]][[announcement_category::{{{category|}}}| ]][[announcement_subject::{{{subject|}}}| ]][[announcement_author::{{{author|}}}| ]][[announcement_date::{{{date|}}}| ]]{{#if: {{{changelog|}}} | [[announcement changelog::true| ]][[changelog year::{{{changelog|}}} |]] |}}</includeonly> |
|||
<noinclude> |
<noinclude> |
||
<pre{{log2|border=none}}> |
|||
This is the "Announcement" template. |
|||
<nowiki> |
|||
It should be called in the following format: |
|||
<pre> |
|||
{{Announcement |
{{Announcement |
||
| category = General, Development, Prime, Premium, Platinum, Events, World, CHE, or MHO. Match the Discord announcements channel. |
|||
|category= |
|||
| subject = Short description, like "New Lore Document: Artisanal Glassworking of Elanthia" |
|||
|subject= |
|||
|author= |
| author = GS4-TIVVY |
||
|date= |
| date = yyyy/mm/dd |
||
| changelog = Year only (empty if not being published to changelog) |
|||
}} |
}} |
||
</nowiki> |
|||
</pre> |
</pre> |
||
Edit the page to see the template text. |
|||
⚫ | |||
==category== |
|||
{{#arraymap:{{{category|}}}|,|x|[[announcement_category::x]]}} |
|||
Remember to protect pages that use this template! |
|||
==subject== |
|||
[[announcement_subject::{{{subject|}}}]] |
|||
[[Category:Miscellaneous special articles templates]] |
|||
==author== |
|||
⚫ | |||
[[announcement_author::{{{author|}}}]] |
|||
==date== |
|||
[[announcement_date::{{{date|}}}]] |
|||
[[Category:Announcements]] |
|||
</includeonly> |
Latest revision as of 15:01, 9 July 2024
This template should only be used by GMs via the official Announcements form.
{{Announcement | category = General, Development, Prime, Premium, Platinum, Events, World, CHE, or MHO. Match the Discord announcements channel. | subject = Short description, like "New Lore Document: Artisanal Glassworking of Elanthia" | author = GS4-TIVVY | date = yyyy/mm/dd | changelog = Year only (empty if not being published to changelog) }}
Remember to protect pages that use this template!