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))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{|border=0 align=right cellpadding=8 style="float:right"
<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>
|align=center|
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
|[[Image:{{{1}}} Exemplar.jpg]]
|}
|-
|align=center style="float: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}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 20:17, 21 February 2015