Template:Announcement

From Scribus Wiki
Jump to navigation Jump to search

Usage

{{Announcement||}}

↓ Generated by this style of coding ↓


{|style="padding: 0em 0em; background-color: #D5EAF0; border: border-top: 0px solid #D5EAF0; border-right: 0px solid #D5EAF0; border-bottom: 0px solid #D5EAF0; border-left: 0px solid #D5EAF0; background-color:#D5EAF0; width: 100%; -moz-border-radius:0px; margin-top:0px; margin-bottom:3px"
|-
|<font size="+1"><center>'''Announcement: (#1 Required Entry) '''</center></font>
|-
|<center> (#2 Required Entry) </center>
|}


An announcement banner is generated by template brackets surrounding the phrase {{ Announcement (pipe) Title (pipe) Description }}

  • Both title and description are needed to satisfy conditional logic statements in the wiki coding.

Sample entry:

{{Announcement|Server Maintenance|Scribus will be READ-ONLY until Noon on Friday. Sorry for the inconvenience.}}

-- will yield --

Announcement: Server Maintenance
Scribus will be READ-ONLY until Noon on Friday. Sorry for the inconvenience.