Template:Priority Announcement: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Atlanta-Ned
(This was SO HARD to track down using just github. I hope you appreciate that.)
 
(Added revision note about potential removal. Improved documentation. Added includeonly-tags.)
 
Line 1: Line 1:
<h1 style='border: none; font-family: Georgia, Verdana, sans-serif;'>{{{Who|Priority Announcement}}}</h1>
<includeonly><h1 style='border: none; font-family: Georgia, Verdana, sans-serif;'>{{{Who|Priority Announcement}}}</h1>
<br>
<br>
<font style='color: red; font-family: Verdana, sans-serif;'>{{{Message|I have an important message for you}}}</font>
<font style='color: red; font-family: Verdana, sans-serif;'>{{{Message|I have an important message for you}}}</font>
<br><br>
<br><br>
<noinclude>
</includeonly><noinclude>
The in-game Priority Announcement, presented here for your enjoyment. Default usage looks like:
{{Needs revision
|reason = This template abuses the h1-tag and I failed to find where it is used and to think of somewhere to use it. Remove?
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 20:26, 24 April 2020 (UTC)
}}
 
== About ==
The in-game Priority Announcement, presented here for your enjoyment.
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!Who
|Priority Announcement
|Title of the announcement
|-
!Message
|I have an important message for you
|Content of the announcement.
|}


== Examples ==
=== Bare ===
<pre>{{Priority Announcement}}</pre>
{{Priority Announcement}}
{{Priority Announcement}}


...with two variables: <code>Who</code> and <code>Message</code>. ''In situ:''
=== Normal ===
<pre><nowiki>
<pre>{{Priority Announcement
{{Priority Announcement
|Who=Captain Announces
|Who=Captain Announces
|Message=No one is getting paid today
|Message=No one is getting paid today
}}
}}</pre>
</nowiki></pre>
 
yields...
 
{{Priority Announcement
{{Priority Announcement
|Who=Captain Announces
|Who=Captain Announces
|Message=No one is getting paid today
|Message=No one is getting paid today
}}
}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:26, 24 April 2020


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "This template abuses the h1-tag and I failed to find where it is used and to think of somewhere to use it. Remove?"
Marked by: "Helpful Herbert (talk) 20:26, 24 April 2020 (UTC)"



About

The in-game Priority Announcement, presented here for your enjoyment.

Parameter-Usage

Parameter Default Description
Who Priority Announcement Title of the announcement
Message I have an important message for you Content of the announcement.

Examples

Bare

{{Priority Announcement}}

Priority Announcement


I have an important message for you


Normal

{{Priority Announcement
|Who=Captain Announces
|Message=No one is getting paid today
}}

Captain Announces


No one is getting paid today