Difference between revisions of "Template:Upcoming"
Jump to navigation
Jump to search
(Created page with "<onlyinclude>{{#switch: {{{1|}}} | info = <div class="alert alert-info" role="alert">{{#if: {{{title|}}}|<h4 class="alert-heading">{{{title|}}}</h4>|}}{{{2|}}}</div> }}</onlyi...") |
|||
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> |
}}</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| | + | {{Upcoming|primary|title=This is a simple title!|A simple warning alert—check it out!}} |
− | <pre>{{Upcoming| | + | <pre>{{Upcoming|primary|title=This is a simple title!|A simple warning alert—check it out!}}</pre> |
__NOTOC__ | __NOTOC__ | ||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:51, 26 July 2022
use case (adapted from Template:Alerts because it is Administrator protected):
This is a simple title!
A simple warning alert—check it out!{{Upcoming|primary|title=This is a simple title!|A simple warning alert—check it out!}}