Difference between revisions of "Template:Blackbox"

From SacredWiki
Jump to navigation Jump to search
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>
{{Blackbox|fontcolour=C09709|content=To customize it replace C09709 with whatever hex colour you would like and it will change the colour of the text. Replace SacredWiki with whatever you would like to be read. Make sure to always have Title at the start and that you use the proper brackets as it is displayed in the example above.
+
{| cellspacing=0 cellpadding=0 style="background:black; float:{{{float|right}}}; margin: 10px 0px 10px 10px; width:{{{width|auto}}};"
{{titlebar|C09709|SacredWiki}}
 
}}
 
</noinclude>
 
 
 
 
 
 
 
{| class="BGStone" cellspacing=0 cellpadding=0 style="width:auto; float:right; margin:0.5em 0em 1em 2em;"
 
 
|-
 
|-
|class="BGStone" colspan=11|
+
| colspan=11|
 
<div style="position:relative;">
 
<div style="position:relative;">
<div style="font-size:1px; position:absolute; top:-3px; left:5px; width:93%; height:1px; background:#111111;"></div>
+
<div style="font-size:1px; position:absolute; top:-3px; left:5px; width:96%; height:1px; background:#111111;"></div>
<div style="font-size:1px; position:absolute; top:-2px; left:5px; width:93%; height:1px; background:#444444;"></div>
+
<div style="font-size:1px; position:absolute; top:-2px; left:5px; width:96%; height:1px; background:#444444;"></div>
<div style="font-size:1px; position:absolute; top:-1px; left:5px; width:93%; height:1px; background:#888888;"></div>
+
<div style="font-size:1px; position:absolute; top:-1px; left:5px; width:96%; height:1px; background:#888888;"></div>
<div style="font-size:1px; position:absolute; top: 0px; left:5px; width:93%; height:1px; background:#111111;"></div>
+
<div style="font-size:1px; position:absolute; top: 0px; left:5px; width:96%; height:1px; background:#111111;"></div>
 
<div style="font-size:1px; position:absolute; top:-6px; left:-6px;">http://www.sacredwiki.org/images/itemtlc.gif</div>
 
<div style="font-size:1px; position:absolute; top:-6px; left:-6px;">http://www.sacredwiki.org/images/itemtlc.gif</div>
 
<div style="font-size:1px; position:absolute; top:-6px; right:-6px;">http://www.sacredwiki.org/images/itemtrc.gif</div>
 
<div style="font-size:1px; position:absolute; top:-6px; right:-6px;">http://www.sacredwiki.org/images/itemtrc.gif</div>
Line 23: Line 16:
 
|width=1 bgcolor="#555555" |
 
|width=1 bgcolor="#555555" |
 
|width=1 bgcolor="#111111" |
 
|width=1 bgcolor="#111111" |
|width=12|
+
|width=1|
 
|
 
|
<div style="height:1em;"></div>
+
<div style="height:0.4em;"></div>
<span style="color: #{{{fontcolour}}};">{{{content}}}</span>
+
<div style="background:black; color: #{{{fontcolour}}};">{{{content}}}</div>
<div style="height:1em;"></div>
+
<div style="height:0.4em;"></div>
|width=12|
+
|width=1|
 
|width=1 bgcolor="#111111" |
 
|width=1 bgcolor="#111111" |
 
|width=1 bgcolor="#333333" |
 
|width=1 bgcolor="#333333" |
Line 36: Line 29:
 
|colspan=11|
 
|colspan=11|
 
<div style="position:relative;">
 
<div style="position:relative;">
<div style="font-size:1px; position:absolute; bottom: 0px; left:5px; width:93%; height:1px; background:#111111;"></div>
+
<div style="font-size:1px; position:absolute; bottom: 0px; left:5px; width:96%; height:1px; background:#111111;"></div>
<div style="font-size:1px; position:absolute; bottom:-1px; left:5px; width:93%; height:1px; background:#666666;"></div>
+
<div style="font-size:1px; position:absolute; bottom:-1px; left:5px; width:96%; height:1px; background:#666666;"></div>
<div style="font-size:1px; position:absolute; bottom:-2px; left:5px; width:93%; height:1px; background:#404040;"></div>
+
<div style="font-size:1px; position:absolute; bottom:-2px; left:5px; width:96%; height:1px; background:#404040;"></div>
<div style="font-size:1px; position:absolute; bottom:-3px; left:5px; width:93%; height:1px; background:#111111;"></div>
+
<div style="font-size:1px; position:absolute; bottom:-3px; left:5px; width:96%; height:1px; background:#111111;"></div>
 
<div style="font-size:1px; position:absolute; bottom:-6px; left:-6px;">http://www.sacredwiki.org/images/itemblc.gif</div>
 
<div style="font-size:1px; position:absolute; bottom:-6px; left:-6px;">http://www.sacredwiki.org/images/itemblc.gif</div>
 
<div style="font-size:1px; position:absolute; bottom:-6px; right:-6px;">http://www.sacredwiki.org/images/itembrc.gif</div>
 
<div style="font-size:1px; position:absolute; bottom:-6px; right:-6px;">http://www.sacredwiki.org/images/itembrc.gif</div>
 
</div>
 
</div>
|}
+
|}</includeonly>
 +
<noinclude>
 +
Usage:
 +
<pre>
 +
{{Blackbox
 +
|fontcolour=C09709
 +
|content=Typing this, gives you this.  :)
 +
}}
 +
</pre>
 +
{{Blackbox
 +
|fontcolour=C09709
 +
|content=Typing this, gives you this.  :)
 +
}}</noinclude>

Latest revision as of 03:59, 19 June 2020


Usage:

{{Blackbox
|fontcolour=C09709
|content=Typing this, gives you this.  :)
}}
itemtlc.gif
itemtrc.gif
Typing this, gives you this. :)
itemblc.gif
itembrc.gif