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

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).

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.

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

email

escape

Escape HTML entities.

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.

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).

labeltag

HTML tag (without brackets) to wrap around label. Default is unset.

lang

limit

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

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.

realname

rel

HTML rel attribute to be applied to links.

rememberlabel

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.

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.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.