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 '..."
 
(6 intermediate revisions by one other user 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|
|align=center|
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
Line 7: Line 7:
|align=center|
|align=center|
__ToC__
__ToC__
{{#ifeq:{{{2| }}} | {{{2|u}}} | | {{!}}- {{!}}align=center{{!}} [[Image:{{{2}}} Exemplar.jpg]]}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
Line 30: Line 29:
{{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: