Template:Announcement: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No 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;">
<div style="padding: 2px; padding-left: 10px; background: #EFEFDE; border: 1px solid navy; text-align: left; font-family: sans-serif; color: black;">
{{#if: {{{topic|}}} |<span class="announcement_label">Topic: </span><span>{{{topic}}}</span> |}}
{{#if: {{{topic|}}} |<span style="font-weight:bold">Topic: </span><span>{{{topic}}}</span> |}}
{{#if: {{{article|}}} |<br/><span class="announcement_label">Article: </span><span>{{{article}}}</span> |}}
{{#if: {{{article|}}} |<br/><span style="font-weight:bold">Article: </span><span>{{{article}}}</span> |}}
{{#if: {{{author|}}} |<br/><span class="announcement_label">Author: </span><span style="color: #258ed4; font-weight: bold;" >{{{author}}}</span> |}}
{{#if: {{{author|}}} |<br/><span style="font-weight:bold">Author: </span><span style="color: #258ed4; font-weight: bold;" >{{{author}}}</span> |}}
{{#if: {{{date|}}} |<br/><span class="announcement_label">Date: </span><span>{{{date}}}</span> |}}
{{#if: {{{date|}}} |<br/><span style="font-weight:bold">Date: </span><span>{{{date}}}</span> |}}
</div>
</div>
<includeonly>{{#switch: {{{include}}} | yes = [[Category:Announcements]] | no = [[Category:Announcements]] }}</includeonly>
[[Category:Announcements]]
</includeonly>
<noinclude>
<noinclude>
Code to copy/paste:
Code to copy/paste:
<pre{{log2|border=none}}>
<pre{{log2|border=none}}>
<nowiki><div style="display:none;">
<nowiki>
<section begin=headline />
<!-- Add a one to two sentence headline between the section tags here-->
<section end=headline />
</div>
{{Announcement
{{Announcement
| topic = Test topic
| topic = Test topic
Line 19: Line 17:
| author = GS4-TIVVY
| author = GS4-TIVVY
| date = 5/10/2022
| date = 5/10/2022
}}
}}<!-- Post content goes after the template --></nowiki>
<section begin=headline />
<!-- Add a one to two sentence headline between the section tags here-->
<section end=headline />
<!-- Post content goes after the template -->
</nowiki>
</pre>
</pre>



Revision as of 20:48, 14 July 2022


Code to copy/paste:


{{Announcement
| topic    = Test topic
| article  = [[Gswiki:News]]
| author   = GS4-TIVVY
| date     = 5/10/2022
}}
<section begin=headline />
<!-- Add a one to two sentence headline between the section tags here-->
<section end=headline />
<!-- Post content goes after the template -->

Remember to protect pages that use this template!