Template:Announcement: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
m (Undo revision 175020 by GS4-TIVVY (talk))
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:''' {{#arraymap:{{{category|}}}|,|x|[[announcement_category::x]]}} |}}
{{#if: {{{subject|}}} |<br/>'''Subject:''' [[announcement_subject::{{{subject|}}}]] |}}
{{#if: {{{author|}}} |<br/>'''Author: <span style="color: #258ed4; font-weight: bold;" >[[announcement_author::{{{author|}}}]] </span> |}}
{{#if: {{{date|}}} |<br/>'''Date: '''[[announcement_date::{{{date|}}}]] |}}
</div>
[[Category:Announcements]]</includeonly>
<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 = GS4-TIVVY
|author=
| date = 5/10/2022
|date=
}}
}}
</nowiki>
</pre>
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
==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|}}}]]


[[Category:Announcements]]
*[[Template:Announcement/testcases]]
</includeonly>
[[Category:Miscellaneous special articles templates]]
</noinclude>

Revision as of 19:21, 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.