Difference between revisions of "Template:Blackbox"

From SacredWiki
Jump to navigation Jump to search
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| cellspacing=0 cellpadding=0 style="background:black; float:right; clear:right; width:auto;"
+
{| cellspacing=0 cellpadding=0 style="background:black; float:{{{float|right}}}; margin: 10px 0px 10px 10px; width:{{{width|auto}}};"
 
|-
 
|-
|style="background:black;" 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 16: 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 29: 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>
</includeonly>
 
 
 
 
<noinclude>
 
<noinclude>
 
Usage:  
 
Usage:  
Line 47: Line 45:
 
}}
 
}}
 
</pre>
 
</pre>
 
 
{{Blackbox
 
{{Blackbox
 
|fontcolour=C09709
 
|fontcolour=C09709
 
|content=Typing this, gives you this.  :)
 
|content=Typing this, gives you this.  :)
}}
+
}}</noinclude>
 
 
</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