Attributes Cross-reference
From Textbook
| Line 352: | Line 352: | ||
* [[related_articles]] | * [[related_articles]] | ||
| - | <!-- | + | <!-- 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
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.
active_class
(X)HTML class attribute to be applied to the "active" or current link in a list.
align
(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.
- article
- article_custom
- category_list
- image_index
- comments
- comments_error
- file_download_list
- linklist
- recent_articles
- recent_comments
- related_articles
- search_result_excerpt
- section_list
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.
- article_image
- breadcrumb
- category
- category1
- category2
- category_list
- comments
- comments_error
- comments_invite
- comments_form
- comments_preview
- image
- image_index
- file_download_category
- file_download_description
- file_download_list
- link_category
- link_description
- link_to_home
- linklist
- permlink
- posted
- recent_articles
- related_articles
- recent_comments
- section
- section_list
- thumbnail
customfieldname
decimals
default
default_title
escape
Escape (X)HTML entities for the output's (X)HTML alt and title attributes.
- article_image
- custom_field
- file_download_description
- image
- link_description
- link_name
- search_term
- thumbnail
excerpted
exclude
filename
flavor
form
Used to format content for display. See Forms Explained.
- article
- article_custom
- category_list
- comments
- comments_form
- comments_preview
- file_download
- file_download_list
- linklist
- output_form
- recent_comments
- related_articles
- search_input
- section_list
format
- comment_time
- css
- expires
- feed_link
- file_download_created
- file_download_modified
- file_download_size
- link_date
- link_feed_link
- modified
- posted
frontpage
gmt
hilight
html_id
(X)HTML id attribute to be applied to the wraptag.
id
- article
- article_custom
- file_download
- file_download_link
- file_download_list
- if_article_id
- image
- permlink
- thumbnail
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.
- breadcrumb
- category_list
- feed_link
- image_index
- file_download_list
- link_category
- link_description
- link_feed_link
- linklist
- popup
- recent_articles
- recent_comments
- related_articles
- search_input
- section_list
labeltag
(X)HTML tag (without brackets) to wrap around label.
- category_list
- file_download_list
- image_index
- link_category
- link_description
- linklist
- recent_articles
- recent_comments
- related_articles
- section_list
lang
limit
- article
- article_custom
- comments
- feed_link
- file_download_list
- image_index
- linklist
- recent_articles
- recent_comments
- related_articles
- search_result_excerpt
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
- category
- custom_field
- if_article_author
- if_article_category
- if_article_section
- if_author
- if_custom_field
- if_category
- if_plugin
- if_section
- if_variable
- image
- thumbnail
- section
- variable
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
- article
- article_custom
- author
- category
- category1
- category2
- category_list
- feed_link
- popup
- related_articles
- recent_articles
- search_input
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.
- article
- article_custom
- category_list
- comments
- file_download_list
- image_index
- linklist
- recent_articles
- recent_comments
- related_articles
- section_list
status
style
text
textonly
this_section
thumbnail
time
title
- breadcrumb
- category
- category1
- category2
- css
- feed_link
- file_download_category
- link_category
- link_feed_link
- permlink
- section
type
val
value
ver
wraptag
(X)HTML tag (without brackets) to wrap around output. Suggested values can include p, ol or ul.
- article_image
- breadcrumb
- category
- category1
- category2
- category_list
- comments
- comments_error
- comments_form
- comments_invite
- comments_preview
- feed_link
- image
- image_index
- file_download_category
- file_download_description
- file_download_list
- link_category
- link_description
- link_feed_link
- linklist
- popup
- posted
- recent_articles
- recent_comments
- related_articles
- search_input
- section
- section_list
- thumbnail




