Textpattern logo

Help?

Attributes Cross-reference

From Textbook

(Difference between revisions)
Line 352: Line 352:
* [[related_articles]]
* [[related_articles]]
-
<!-- TO UNCOMMENT WHEN 4.3.0 RELEASED
+
<!-- TODO UNCOMMENT WHEN 4.3.0 RELEASED
* [[search_input]]
* [[search_input]]
-->
-->
Line 597: Line 597:
* [[popup]]
* [[popup]]
 +
<!-- TODO REMOVE WHEN 4.3.0 RELEASED -->
== val ==
== val ==
Line 603: Line 604:
== value ==
== value ==
 +
<!-- TODO UNCOMMENT WHEN 4.3.0 RELEASED
 +
* [[if_custom_field ]]
 +
-->
* [[if_variable]]
* [[if_variable]]
* [[variable]]
* [[variable]]

Revision as of 12:21, 5 March 2010

Tag reference quick links:

This cross-reference makes clear the different Textpattern tags associated with a given attribute. For each attribute, the associated tags are listed underneath it.

Authors: DO NOT add new tags/attributes here from development versions of Textpattern, add them to Tags In Development to avoid confusion. Only the latest stable version of Textpattern is officially supported, and this list should only reflect the latest stable version.

Contents

active_class

(X)HTML class attribute to be applied to the "active" or current link in a list.

align

As of version 4.2.0 this attribute is deprecated.

(X)HTML img tag align attribute. Recommended that you use CSS via class or id attribute instead.

allowoverride

Used to disable assigned override forms within a particular article list. It has no effect on a single article display.

anchor

author

break

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

breakclass

(X)HTML class attribute to be applied to break (when value supplied is a tag).

button

c

category

categories

class

(X)HTML class attribute to be applied to the specified wraptag.

customfieldname

decimals

default

default_title

email

escape

Escape (X)HTML entities for the output's (X)HTML alt and title attributes.

excerpted

exclude

filename

flavor

form

Used to format content for display. See Forms Explained.

format

frontpage

gmt

hilight

html_id

(X)HTML id attribute to be applied to the wraptag.

id

include_default

item

isize

(X)HTML size attribute to be applied to (X)HTML form input output.

keywords

label

This string will be prepended to the output. When using a (wraptag value of either ol or ul), label will be the first list item.

labeltag

(X)HTML tag (without brackets) to wrap around label.

lang

limit

link

linkclass

(X)HTML class attribute to be applied to links.

linktext

listform

See Forms Explained.

login

match

media

msgcols

(X)HTML cols attribute to be applied to (X)HTML form textarea output.

msgrows

(X)HTML rows attribute to be applied to (X)HTML form textarea output.

msgstyle

(X)HTML style attribute to be applied to (X)HTML form textarea output. Recommended that you use CSS via textarea's class or id attribute instead.

month

n

no_widow

name

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.

poplink

rel

(X)HTML rel attribute to be applied to links.

searchall

searchform

See Forms Explained.

searchsticky

section

sections

sep

separator

showalways

showcount

show_preview

size

(X)HTML size attribute to be applied to (X)HTML form input output.

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

text

textonly

this_section

thumbnail

time

title

type

val

value

ver

wraptag

(X)HTML tag (without brackets) to wrap around output. Suggested values can include p, ol or ul.


Translations [?]...

About Textbook