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 '..."
 
(10 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|
<div style="position:relative; top:0px; left:0px">
{|border=4 cellpadding=0 cellspacing=0 style=color:#FFFF00
<span style="z-index:0>[[Image:Exemplar 4px Border.png]]</span>
|[[Image:{{{1}}} Exemplar.jpg]]
<span style="position:absolute; top:4px; left:4px; z-index:1">[[Image:{{{1}}} Exemplar.jpg|{{{1}}}]]</span>
|}
|-
|-
|align=center|
|align=center|
Line 29: 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: