From Shifti
Jump to: navigation, search


{{Separator|<identifier>|Optional text|optional image width}}

This template is used for producing separators with fancy dingbat images and text. It has three parameters. The first parameter defines which dingbat image set to use, the second is the text to insert into the dingbat, and the third can be used to adjust the size of the images away from the default.

When no dingbat identifier is given the template simply places a horizontal rule. This is intended as a fallback measure in case the template is used without parameters, it doesn't support the text in this state (though you can specify width if you like - it defaults to 33%).

Dingbat image sets come in threes and must be named with the following pattern:

  • Separator <identifier>.png
  • Separator <identifier> left.png
  • Separator <identifier> right.png

Where <identifier> is an arbitrary string that's the same for all three images in the set.

Image width defaults to 200 pixels without text and 100 pixels with text. To override the width without setting text, use a double pipe to provide an "empty" text parameter, like so:


The following table provides examples of image sets that are currently available.

Inter-paragraph divider dingbats
Template code Without text With text
Separator d.png
Separator d left.png Text Separator d right.png
Separator f.png
Separator f left.png Text Separator f right.png
Separator j.png
Separator j left.png Text Separator j right.png
Separator k.png
Separator k left.png Text Separator k right.png
Separator r.png
Separator r left.png Text Separator r right.png
Separator x.png
Separator x left.png Text Separator x right.png
Separator stars.png
Separator stars left.png Text Separator stars right.png