Difference between revisions of "Template:BadgeBox"

From Frictional Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
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|<noinclude>Some primary content here!<hr>And more stuff down here!</noinclude>}}}</div>
+
   <div class="capcontent">{{{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;">
Line 10: Line 10:
  
 
== Usage ==
 
== Usage ==
<syntaxhighlight>
+
<pre>
 
{{BadgeBox|content=Some primary content here!|footer=A footer suitable for a hyperlink}}
 
{{BadgeBox|content=Some primary content here!|footer=A footer suitable for a hyperlink}}
</syntaxhighlight>
+
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 23:08, 22 August 2020

Some primary content 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}}