Go to main content

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

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

labeltag

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

lang

loading

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

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

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

yield

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)