Table des matières

Tags Billets

<tpl:Entries>

Element definition

tpl:Entries - Blog Entries loop

Start tag: Required, End tag: Required

Attributes definition

  • lastn = CDATA IMPLIED. -- limit number of results to specified value
  • author = CDATA IMPLIED. -- get entries for a given user id
  • category = CDATA IMPLIED. -- get entries for specific categories only (multiple comma-separated categories can be specified. Use "!" as prefix to exclude a category)
  • sortby = (title|selected|author|date) IMPLIED. -- specify entries sort criteria (default : date)
  • order = (desc|asc) IMPLIED. -- specify entries order (default : desc)
  • no_content = (0|1) IMPLIED. -- do not retrieve entries content
  • selected = (0|1) IMPLIED. -- retrieve posts marked as selected only (value: 1) or not selected only (value: 0)

{{tpl:DateHeader}}

Element definition

tpl:DateHeader - Displays date, if post is the first post of the given day

Start tag: Required, End tag: Forbidden

{{tpl:DateFooter}}

Element definition

tpl:DateFooter - Displays date, if post is the last post of the given day

Start tag: Required, End tag: Forbidden

<tpl:EntryIf>

Element definition

tpl:EntryIf - tests on current entry

Start tag: Required, End tag: Required

Attributes definition

  • type = CDATA IMPLIED. -- post has a given type (default: "post")
  • first = (0|1) IMPLIED. -- post is the first post from list (value : 1) or not (value : 0)
  • odd = (0|1) IMPLIED. -- post is in an odd position (value : 1) or not (value : 0)
  • even = (0|1) IMPLIED. -- post is in an even position (value : 1) or not (value : 0)
  • extended = (0|1) IMPLIED. -- post has an excerpt (value : 1) or not (value : 0)
  • selected = (0|1) IMPLIED. -- post is selected (value : 1) or not (value : 0)
  • has_category = (0|1) IMPLIED. -- post has a category (value : 1) or not (value : 0)
  • has_attachment = (0|1) IMPLIED. -- post has attachments (value : 1) or not (value : 0)
  • comments_active = (0|1) IMPLIED. -- comments are active for this post (value : 1) or not (value : 0)
  • pings_active = (0|1) IMPLIED. -- trackbacks are active for this post (value : 1) or not (value : 0)
  • show_comments = (0|1) IMPLIED. -- there are comments for this post (value : 1) or not (value : 0)
  • show_pings = (0|1) IMPLIED. -- there are trackbacks for this post (value : 1) or not (value : 0)
  • operator = (and|or) IMPLIED. -- combination of conditions, if more than 1 specifiec (default: and)

{{tpl:EntryIfFirst}}

Element definition

tpl:EntryIfFirst - displays value if entry is the first one

Start tag: Required, End tag: Forbidden

Attributes definition

  • return = CDATA IMPLIED. -- value to display in case of success (default: first)

{{tpl:EntryIfOdd}}

Element definition

tpl:EntryIfOdd - displays value if entry is in an odd position

Start tag: Required, End tag: Forbidden

Attributes definition

  • return = CDATA IMPLIED. -- value to display in case of success (default: odd)

{{tpl:EntryIfSelected}}

Element definition

tpl:EntryIfSelected - displays value if entry is selected

Start tag: Required, End tag: Forbidden

Attributes definition

  • return = CDATA IMPLIED. -- value to display in case of success (default: selected)

{{tpl:EntryContent}}

Element definition

tpl:EntryContent - Entry content

Start tag: Required, End tag: Forbidden

{{tpl:EntryExcerpt}}

Element definition

tpl:EntryExcerpt - Entry excerpt

Start tag: Required, End tag: Forbidden

{{tpl:EntryAttachmentCount}}

Element definition

tpl:EntryAttachmentCount - Number of attachments for entry

Start tag: Required, End tag: Forbidden

Attributes definition

  • none = CDATA IMPLIED. -- text to display for "no attachment" (default: no attachment)
  • one = CDATA IMPLIED. -- text to display for "one attachment" (default: one attachment)
  • more = CDATA IMPLIED. -- text to display for "more attachment" (default: %s attachment, %s is replaced by the number of attachments)

{{tpl:EntryAuthorCommonName}}

Element definition

tpl:EntryAuthorCommonName - Entry author common name

Start tag: Required, End tag: Forbidden

{{tpl:EntryAuthorDisplayName}}

Element definition

tpl:EntryAuthorDisplayName - Entry author display name

Start tag: Required, End tag: Forbidden

{{tpl:EntryAuthorID}}

Element definition

tpl:EntryAuthorID - Entry author ID

Start tag: Required, End tag: Forbidden

{{tpl:EntryAuthorEmail}}

Element definition

tpl:EntryAuthorEmail - Entry author email

Start tag: Required, End tag: Forbidden

Attributes definition

  • spam_protected = (0|1) IMPLIED. -- protect email from spam (default: 1)

Element definition

tpl:EntryAuthorLink - Entry author link

Start tag: Required, End tag: Forbidden

{{tpl:EntryAuthorURL}}

Element definition

tpl:EntryAuthorURL - Entry author URL

Start tag: Required, End tag: Forbidden

{{tpl:EntryBasename}}

Element definition

tpl:EntryBasename - Entry short URL (relative to /post)

Start tag: Required, End tag: Forbidden

{{tpl:EntryCategory}}

Element definition

tpl:EntryCategory - Entry category (full name)

Start tag: Required, End tag: Forbidden

{{tpl:EntryCategoryID}}

Element definition

tpl:EntryCategoryID - Entry category ID

Start tag: Required, End tag: Forbidden

{{tpl:EntryCategoryURL}}

Element definition

tpl:EntryCategoryURL - Entry category URL

Start tag: Required, End tag: Forbidden

{{tpl:EntryFeedID}}

Element definition

tpl:EntryFeedID - Entry feed ID

Start tag: Required, End tag: Forbidden

{{tpl:EntryID}}

Element definition

tpl:EntryID - Entry ID

Start tag: Required, End tag: Forbidden

{{tpl:EntryLang}}

Element definition

tpl:EntryLang - Entry language

Start tag: Required, End tag: Forbidden

<tpl:EntryNext>

Element definition

tpl:EntryNext - Next entry block

Start tag: Required, End tag: Required

Attributes definition

  • restrict_to_category = (0|1) IMPLIED. -- find next post in the same category (default: 0)

<tpl:EntryPrevious>

Element definition

tpl:EntryPrevious - Previous entry block

Start tag: Required, End tag: Required

Attributes definition

  • restrict_to_category = (0|1) IMPLIED. -- find previous post in the same category (default: 0)

{{tpl:EntryTitle}}

Element definition

tpl:EntryTitle - Entry title

Start tag: Required, End tag: Forbidden

{{tpl:EntryURL}}

Element definition

tpl:EntryURL - Entry URL

Start tag: Required, End tag: Forbidden

{{tpl:EntryDate}}

Element definition

tpl:EntryDate - Entry date

Start tag: Required, End tag: Forbidden

Attributes definition

  • format = CDATA IMPLIED. -- date format (encoded in dc:str by default if iso8601 or rfc822 not specified)
  • iso8601 = CDATA IMPLIED. -- if set, tells that date format is ISO 8601
  • rfc822 = CDATA IMPLIED. -- if set, tells that date format is RFC 822

{{tpl:EntryTime}}

Element definition

tpl:EntryTime - Entry time

Start tag: Required, End tag: Forbidden

Attributes definition

  • format = CDATA IMPLIED. -- time format

<tpl:EntriesHeader>

Element definition

tpl:EntriesHeader - First entries result container

Start tag: Required, End tag: Required

<tpl:EntriesFooter>

Element definition

tpl:EntriesFooter - Last entries result container

Start tag: Required, End tag: Required

{{tpl:EntryCommentCount}}

Element definition

tpl:EntryCommentCount - Number of comments for entry

Start tag: Required, End tag: Forbidden

Attributes definition

  • none = CDATA IMPLIED. -- text to display for "no attachment" (default: no attachment)
  • one = CDATA IMPLIED. -- text to display for "one attachment" (default: one attachment)
  • more = CDATA IMPLIED. -- text to display for "more attachment" (default: %s attachment, %s is replaced by the number of attachments)

{{tpl:EntryPingCount}}

Element definition

tpl:EntryPingCount - Number of trackbacks for entry

Start tag: Required, End tag: Forbidden

Attributes definition

  • none = CDATA IMPLIED. -- text to display for "no attachment" (default: no attachment)
  • one = CDATA IMPLIED. -- text to display for "one attachment" (default: one attachment)
  • more = CDATA IMPLIED. -- text to display for "more attachment" (default: %s attachment, %s is replaced by the number of attachments)

{{tpl:EntryPingData}}

Element definition

tpl:EntryPingData - Display trackback RDF information

Start tag: Required, End tag: Forbidden

Element definition

tpl:EntryPingLink - Entry trackback link

Start tag: Required, End tag: Forbidden

<tpl:Pagination>

Element definition

tpl:Pagination - Pagination container

Start tag: Required, End tag: Required

{{tpl:PaginationCounter}}

Element definition

tpl:PaginationCounter - Number of pages

Start tag: Required, End tag: Forbidden

{{tpl:PaginationCurrent}}

Element definition

tpl:PaginationCurrent - current page

Start tag: Required, End tag: Forbidden

<tpl:PaginationIf>

Element definition

tpl:PaginationIf - pages tests

Start tag: Required, End tag: Required

Attributes definition

  • start = (0|1) IMPLIED. -- test if we are at first page (value : 1) or not (value : 0)
  • end = (0|1) IMPLIED. -- test if we are at last page (value : 1) or not (value : 0)

{{tpl:PaginationURL}}

Element definition

tpl:PaginationURL - link to previoux/next page

Start tag: Required, End tag: Forbidden

Attributes definition

  • offset = CDATA IMPLIED. -- page offset (negative for previous pages), default: 0