Template:Exemplar ToC: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(removed toc, changed to css (centering for ToC is applying only to the actual text on Wikia for some reason making it look weird))
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|border=0 align=right cellpadding=8
<includeonly><div style="float:right; border:4px solid #FFFF00; border-style:outset; padding:0px">[[File:{{{1}}} Exemplar.jpg]]</div></includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude>
!
<div style="position:relative; top:0px; left:0px">
<span style="z-index:0>[[Image:Exemplar 4px Border.png]]</span>
<span style="position:absolute; top:4px; left:4px; z-index:1">[[Image:{{{1}}} Exemplar.jpg|{{{1}}}]]</span>
|-
|align=center|
__ToC__
|}</includeonly><noinclude>
{{Related|Wiki Templates}}
== Syntax ==
 
<pre style="width:auto; overflow:auto">
{{Exemplar ToC|<Name>}}
</pre>
 
== Usage ==
Floats an exemplar image and Table of Contents on the right (text will wrap on the left). The image should be named ''<Name> Exemplar.jpg'' and 200x200 pixels.
 
For example:
 
<pre>
{{Exemplar ToC|Skeleton}}
</pre>
 
displays as:
 
 
{{Exemplar ToC|Skeleton}}
 
</noinclude>

Latest revision as of 20:17, 21 February 2015