.weblog engine

Warning: include_once(../adserver/phpadsnew.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 155

Warning: include_once() [function.include]: Failed opening '../adserver/phpadsnew.inc.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 155

Warning: include_once(../adserver/phpadsnew.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 167

Warning: include_once() [function.include]: Failed opening '../adserver/phpadsnew.inc.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 167

Warning: include_once(../adserver/phpadsnew.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 179

Warning: include_once() [function.include]: Failed opening '../adserver/phpadsnew.inc.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 179
 

Formatting Tags

Introduction

Here you can find a list of all formatting tags which can be used by Pivot to… well, format things! Formatting tags look like %tag%. If you're looking for template [[tags]], look here instead. If you have any questions related to formatting tags, post them to the Pivot Support Forum.

Overview

Date/time formatting tags

Note: based on Pivot help.

  • %minute% - the number of minutes after the hour: from 00 to 59
  • %hour12% - inserts the hour from 00 to 11
  • %ampm% - inserts either AM or PM
  • %hour24% - inserts the hour from 00 to 23
  • %day% - insert the day, as a double digit from '01' to '31'
  • %ordday% - ordinal day - insert the day, as a number from 1 to 31
  • %daynum% - insert the number of the day in the week, from 1 to 7
  • %dayname% - insert the name of the day, as defined by your language file
  • %weekday% - insert the name of the day, as defined by your language file (same as %dayname%)
  • %weeknum% - the number of the week, from 1 to 53
  • %month% - the number of the month, as a double digit from '01' to '12'
  • %ordmonth% - ordinal month - the number of the month, from 1 to 12
  • %monthname% - insert the name of the month, as defined by your language file
  • %monname% - insert the short name of the month, as defined by your language file
  • %year% - the year, in four digits: like '2004'
  • %ye% - the year, in two digits: like '04'
  • %aye% - apostrophe year - the year, in two digits: prefixed with a typographically correct apostrophe, like ’04

Formatting of list of archives

Note: based on Pivot help.

  • %st_day% %en_day% - insert the day, as a double digit from '01' to '31'
  • %st_ordday% %en_ordday% - ordinal day - insert the day, as a number from 1 to 31
  • %st_daynum% %en_daynum% - insert the number of the day in the week, from 1 to 7
  • %st_dayname% %en_dayname% - insert the name of the day, as defined by your language file
  • %st_weekday% %en_weekday% - insert the name of the day, as defined by your language file (same as %dayname%)
  • %st_weeknum% %en_weeknum% - the number of the week, from 1 to 53
  • %st_month% %en_month% - the number of the month, as a double digit from '01' to '12'
  • %st_ordmonth% %en_ordmonth% - ordinal month - the number of the month, from 1 to 12
  • %st_monthname% %en_monthname% - insert the name of the month, as defined by your language file
  • %st_monname% %en_monname% - insert the short name of the month, as defined by your language file
  • %st_year% %en_year% - the year, in four digits: like '2004'
  • %st_ye% %en_ye% - the year, in two digits: like '04'
  • %st_aye% %en_aye% - apostrophe year - the year, in two digits: prefixed with a typographically correct apostrophe, like ’04

Entrypage/archivepage-url (page 1 of the weblog settings)

  • %1 - outputs the unique number of an entry
  • %title% - outputs the title (in URL safe form) for the entry

In addition you can use all the normal date/time-formatting tags.

Formatting of last comments

Note: Use the date/time-formatting tags to display the date/time.

  • %url% - inserts the url to the comment
  • %popup% - outputs the tooltip code
  • %name% - outputs the name
  • %title% - outputs the title of the entry the comment was placed to
  • %comm% - outputs the comment

Formatting of last referers

Note: Use the date/time-formatting tags to display the date/time.

  • %url% - outputs the url of the referer
  • %title% - outputs the title ('name') of the referer

Formatting of [[date]], [[fulldate]] and [[diffdate]] (page 3 of the weblog-settings)

Note: For these you can use the normal date/time-formatting tags.

Formatting of number of comments/trackbacks

  • %n% - displays the number of comments (example: 3)
  • %num% - displays the number of comments as a word (example: three)

Formatting of comments

Note: You can't use the date/time-formatting tags here.

  • %anchor% - inserts an anchor to link to individual comments
  • %name% - inserts the name of the person who placed the comment
  • %url% - inserts the url entered by the commenter (if provided)
  • %email% - inserts the email-address of the commenter (if provided)
  • %gravatar% - inserts the corresponding Gravatar (or a default one if no e-mail is provided)
  • %url-to-name% - inserts a link with the name of the commenter to the url of the commenter (if provided)
  • %email-to-name% - inserts a link with the name of the commenter to the email-address of the commenter (if provided)
  • %comment% - the comment itself
  • %date% - inserts the date of the comment, according to the formatting of full date, which can be set on page 3 of the weblog-settings)
  • %quote% - inserts a link for people who want to respond to this particular comment (format can be defined on page 3 of the weblog-settings)
  • %quoted-back% - when the comment is a response on an earlier comment, this tag will output something (output can be defined on page 3 of the weblog-settings)
  • %quoted-forward% - inserts the names of people who responded to this particular comment (format can be defined on page 3 of the weblog-settings)
  • %ip% - inserts the IP-address of the commenter
  • %even-odd% - outputs odd or even, with this you can give comments a different style
  • %count% - outputs the number of the comment
  • %code% - outputs the number/id of the entry (which the comment belongs to)

Formatting of trackbacks

  • %title% - displays the title of the trackback entry
  • %url% - outputs a link to the submitted entry (displays the name of the website)
  • %excerpt% - outputs a summary of the submitted entry
  • %date% - inserts the date of the entry (defined by the format of Full date, set on page 3 of the weblog settings)
  • %ip% - outputs the IP-address from who submitted the trackback
  • %even-odd% - outputs odd or even, with this you can give trackbacks a different style
  • %count% - outputs the number of the trackback

Formatting of trackback-links

  • %url% - outputs the url for the trackback-link

Tag missing?

If a tag is missing from this list please bring it to our attention by emailing us at docs [at] pivotlog [dot] net or by posting a message about it on the Pivot Support Forum.

 
formatting_tags.txt · Last modified: 2008/09/23 05:25 by hansfn
 
Special thanks to our platinum sponsors:
Warning: include(/home/pivotis/pivotlog.net/pivot/templates/donate_platinum.html) [function.include]: failed to open stream: No such file or directory in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 311

Warning: include() [function.include]: Failed opening '/home/pivotis/pivotlog.net/pivot/templates/donate_platinum.html' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/pivotis/pivotlog.net/docs/lib/tpl/default/main.php on line 311