Tag attributes cross-reference
This cross-reference document makes clear the different Textpattern tags associated with a given attribute.
For each attribute, the associated tags are listed underneath it.
active_class
HTML class attribute to be applied to the ‘active’ or current link in a list.
allowoverride
Used to disable assigned override forms. Works within article lists and single article display. Both article tags use 1
(yes) as default.
anchor
aria_label
author
auto_detect
break
HTML tag (without brackets) or string used to separate list items. Suggested values include br
and hr
for presentational markup, or li
if semantic markup is preferred. Textpattern cares for the correct nesting of tags in either case. Default is br
(except for tags marked ●, which default to unset).
breakby
Used to group list items when separating by break
. Possible values are lists of integers, like 2
(groups of 2 items) or 1,2
(alternate groups of 1 and 2 items). Default is 1
(actually unset). New v4.7.0
button
categories
category
children
class
HTML class attribute to be applied to the specified wraptag. Tags marked with ● use the tag name as the class name by default. Otherwise the default is empty. Global v4.7.0
- article
- article_custom
- article_image
- authors
- breadcrumb
- category
- category1
- category2
- category_list ●
- comments ●
- comments_error ●
- comments_form ●
- comments_invite ●
- comments_preview ●
- expires
- feed_link
- file_download_author
- file_download_category
- file_download_description
- file_download_list ●
- image
- image_author
- image_index
- image_info
- images ●
- keywords
- link_author
- link_category
- link_description
- link_feed_link ●
- linklist ●
- modified
- permlink
- popup
- posted
- recent_articles ●
- recent_comments ●
- related_articles ●
- search_input
- section
- section_list ●
- thumbnail
cols
HTML cols attribute to be applied to HTML form textarea tag.
customfieldname
In your tag, replace customfieldname
with the actual name of the desired custom field (see also @@Important notes on creating custom field names@@).
decimals
default
default_title
escape
Escape HTML entities. Global v4.7.0
excerpted
exclude
expired
extension
filename
flavor
forgetlabel
form
Used to format content for display. See Form templates for further explanation.
format
gmt
group
height
hilight
html_id
HTML id attribute to be applied to the wraptag. Global v4.7.0
id
include_default
item
keywords
label
This string will be prepended to the output. When using a wraptag value of either ol
or ul
, the label will be the first list item. Default is unset (except where shown in parentheses). Global v4.7.0
- article
- article_custom
- authors
- breadcrumb (Site name)
- category_list
- comment_submit
- comments_preview
- feed_link
- file_download_list
- image_index
- images
- link_category
- link_description
- link_feed_link
- linklist
- popup (Browse)
- recent_articles (Recent articles)
- recent_comments
- related_articles
- search_input (Search)
- section_list
labeltag
HTML tag (without brackets) to wrap around label. Default is unset. Global v4.7.0
lang
loading
limit
link
link_rel
linkclass
HTML class attribute to be applied to links.
linktext
listform
See Form templates for further explanation.
login
match
max
media
min
month
msg
name
no_widow
not
Used to invert the true/false
parts of conditional and other tags. New v4.7.0
number
offset
pageby
parent
pass
pgonly
Used to return pagination statistics without rendering the article list. Care must be taken to remain consistent with article tag attributes to keep statistics accurate.
placeholder
poplink
process
query
realname
rel
HTML rel attribute to be applied to links.
rememberlabel
replace
rows
HTML rows attribute to be applied to HTML form textarea tag.
searchall
searchform
See Form templates for further explanation.
searchsticky
section
sections
separator
showalways
showcount
size
HTML size attribute to be applied to HTML form input tags.
sort
How to sort the resulting list. Available and default values vary by tag, but multiple, comma-separated values can be used. Each value can be specified as either asc
(ascending) or desc
(descending) order.
status
style
HTML style attribute to be applied to HTML tag. Recommended that you use CSS via class
or id
attribute instead.
test
text
textonly
this_section
thumbnail
time
title
type
url
value
version
width
wraptag
HTML tag (without brackets) to wrap around output. Default value is unset, except where shown in parentheses. Global v4.7.0
- article
- article_custom
- article_image
- authors
- breadcrumb (
p
) - category
- category1
- category2
- category_list
- comments
- comments_error (
div
) - comments_form
- comments_invite
- comments_preview
- expires
- feed_link
- file_download_author
- file_download_category
- file_download_description
- file_download_list
- image
- image_author
- image_index
- image_info
- images
- keywords
- link_author
- link_category
- link_description
- link_feed_link
- linklist
- modified
- popup
- posted
- recent_articles
- recent_comments
- related_articles
- search_input (
p
) - section
- section_list
- thumbnail