Template:Exemplar ToC: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
Created page with "<includeonly>{|border=0 align=right cellpadding=8 style="float:right" |align=center| {|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00 |[[Image:{{{1}}} Exemplar.jpg]] |} |- |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 '..."
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|border=0 align=right cellpadding=8
<includeonly>{|border=0 align=right cellpadding=8 style="float:right"
!
|align=center|
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
|[[Image:{{{1}}} Exemplar.jpg]]
|[[Image:{{{1}}} Exemplar.jpg]]
Line 8: Line 8:
__ToC__
__ToC__
|}</includeonly><noinclude>
|}</includeonly><noinclude>
 
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==


Line 24: Line 24:
</pre>
</pre>


displays as (ToC cannot appear twice and will be centered below the image):
displays as:




{{Exemplar ToC|Skeleton}}
{{Exemplar ToC|Skeleton}}


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 03:22, 18 January 2024

Related topics: Wiki Templates

Syntax

{{Exemplar ToC|<Name>}}

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:

{{Exemplar ToC|Skeleton}}

displays as: