Difference between revisions of "Template:BadgeBox"
Jump to navigation
Jump to search
(Created page with "<div style="background:#161616; border: 5px solid #161616;border-radius:5px 5px 0px 0px; padding-left:5px;"> <div class="capcontent" style="color:#161616">{{{content|<span><...") |
|||
Line 1: | Line 1: | ||
<div style="background:#161616; border: 5px solid #161616;border-radius:5px 5px 0px 0px; padding-left:5px;"> | <div style="background:#161616; border: 5px solid #161616;border-radius:5px 5px 0px 0px; padding-left:5px;"> | ||
− | <div class="capcontent" style="color:#161616">{{{content|< | + | <div class="capcontent" style="color:#161616">{{{content|<noinclude>Some primary content here!<hr>And more stuff down here!</noinclude>}}}</div> |
</div> | </div> | ||
<div class="capsule" style="background:#d05d1c;margin:0px;padding:6px 0 6px 0;color:white;-border-radius:0 0 5px 5px;-border-radius:0 0 5px 5px;-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;"> | <div class="capsule" style="background:#d05d1c;margin:0px;padding:6px 0 6px 0;color:white;-border-radius:0 0 5px 5px;-border-radius:0 0 5px 5px;-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;"> | ||
− | <div style="color: white; text-align: center;">{{{footer|}}}</div> | + | <div style="color: white; text-align: center;">{{{footer|<noinclude>A footer suitable for a hyperlink</noinclude>}}}</div> |
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<hr> | <hr> | ||
− | A box that allows you to place some highlighted content in the primary area, as well as | + | A box that allows you to place some highlighted content in the primary area, as well as some content in the footer below it. |
+ | |||
+ | == Usage == | ||
+ | <syntaxhighlight> | ||
+ | {{BadgeBox|content=Some primary content here!|footer=A footer suitable for a hyperlink}} | ||
+ | </syntaxhighlight> | ||
</noinclude> | </noinclude> |
Revision as of 23:06, 22 August 2020
Some primary content here!
And more stuff down here!
And more stuff down here!
A footer suitable for a hyperlink
A box that allows you to place some highlighted content in the primary area, as well as some content in the footer below it.
Usage
{{BadgeBox|content=Some primary content here!|footer=A footer suitable for a hyperlink}}