{{tpl:PingIfOdd}}

In a <tpl:Pings> loop, the tpl:PingIfOdd tag returns a value if the trackback number is odd.

Attributes

return

Defines what value will be returned in case of success.

  • return="odd_number" will display odd_number if the trackback number is odd. By default, odd will be displayed.

Example

<p{{tpl:PingIfOdd return=" class=\"odd_number\""}}> ... </p>

Wiki powered by Dokuwiki.