Difference between revisions of "Template:Upcoming"

From Arks-Visiphone
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>{{#switch: {{{1|}}}
 
<onlyinclude>{{#switch: {{{1|}}}
| primary = <div class="alert alert-primary" role="alert">{{#if: {{{title|}}}|<h4 class="alert-heading">{{{title|}}}</h4>|}}{{{2|}}}</div>
+
| warning = <div class="alert alert-warning" role="alert">{{#if: {{{title|}}}|<h4 class="alert-heading">{{{title|}}}</h4>|}}{{{2|}}}</div>
 
}}</onlyinclude>
 
}}</onlyinclude>
 
<noinclude>
 
<noinclude>
 
use case (adapted from [[Template:Alerts]] because it is Administrator protected):
 
use case (adapted from [[Template:Alerts]] because it is Administrator protected):
{{Upcoming|primary|title=This is a simple title!|A simple warning alert—check it out!}}
+
{{Upcoming|warning|title=Upcoming Content (August 42nd, 2029)|This page contains information that has been revealed or announced, but has not been officially released in-game yet.}}
<pre>{{Upcoming|primary|title=This is a simple title!|A simple warning alert—check it out!}}</pre>
+
<pre>{{Upcoming|warning|title=Upcoming Content (August 42nd, 2029)|This page contains information that has been revealed or announced, but has not been officially released in-game yet.}}</pre>
 
__NOTOC__
 
__NOTOC__
 
[[Category: Templates]]
 
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:08, 27 July 2022


use case (adapted from Template:Alerts because it is Administrator protected):

{{Upcoming|warning|title=Upcoming Content (August 42nd, 2029)|This page contains information that has been revealed or announced, but has not been officially released in-game yet.}}