{breakevery:XX::<htmlcode>}
{breakat:XX::<htmlcode>}
{breakdisplay:XX::<htmlcode>}
Inserts <htmlcode> if the condition applies
{breakevery:5::<br />}
would insert a <br />
every 5 listed referers.
{breakevery:10::<br />}
would insert a <br />
every 10 listed referers.
Usually this is used to insert your own banner or some text
(e.g. "Click here to list your site")
every 10 listed referers.
{breakat is the same as {breakdisplay,
except that {breakat expects the
absolute referer number, while {breakdisplay
is the referer number of the current page. In other words: {breakat:1::}
applies only 1 time (= after the first referer on the first
page) while {breakdisplay:1::}
applies to every first referer on every page.
If 0 is used like in {breakat:0::}
it applies to the LAST referer.
If 0 is used like in {breakdisplay:0::}
it applies to the LAST referer on every page.
If a ! is used then <htmlcode>
is inserted when the condition does NOT apply.
{breakat:!0::<br />} would
display a <br /> after
EVERY referer EXCEPT the last.
If 2 conditions apply then only the last one is used:
{breakevery:2::<br />}
{breakevery:4::<br /><br />}
{breakevery:8::<br /><br /><br />}
{breakat:0::end of file}
will cause the following output if you had 12 referers:
referer1
referer2
<br />
referer3
referer4
<br /><br />
referer5
referer6
<br />
referer7
referer8
<br /><br /><br />
referer9
referer10
<br />
referer11
referer12
end of file
As you see from the above example that if two conditions
overlap ("every 10" is also "every 5") then
only the last applying condition is kept. If you want to keep
the condition (even if another one applies) then use
"condition grouping" as
shown here:
{breakevery:2:1:<br />}
{breakevery:4:2:<br /><br />}
{breakevery:8:2:<br /><br /><br /><br />}
will cause the following output if you had 9 referers:
referer1
referer2
<br />
referer3
referer4
<br /><br /><br />
referer5
referer6
<br />
referer7
referer8
<br /><br /><br /><br /><br />
referer9
The second number (after the second :)
is used to put the condition into its own group. So now you
actually have 2 groups of independent conditions.
Please note that :2: is not the
same as :02: However you can use
spaces thus :2: is the same as : 2: |