======txp:comments_invite======
The ''comments_invite'' tag is a Single Tag. Textpattern will replace this tag with a link to an article comment form. Text used for the link will be the taken from the invitation field on the "write" screen. Used in an article form.
=====Syntax=====
The ''comments_invite'' tag has the following syntactic structure...
======Attributes======
Tag will accept the following attributes (**case-sensitive**):
=====showcount="boolean"=====
Whether to display comment count. Available values: __1__ (yes), __0__ (no). Default is __1__ (yes).
=====textonly="boolean"=====
Whether to display invite as text, rather than a hyperlink. Available values: __1__ (yes), __0__ (no). Default is __0__ (no).
=====showalways="boolean"=====
Whether to display invite on individual article page. Available values: __1__ (yes), __0__ (no). Default is __0__ (no).
=====class="class name"=====
[[http://www.w3.org/TR/html4/struct/global.html#adef-class |(X)HTML class attribute]] to be applied to __wraptag__. Default is __comments_invite__.
=====wraptag="tag"=====
[[http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.1 |(X)HTML tag]] (without brackets) to wrap around invite text. Default is unset.
======Examples======
===== Display comments invitation and comment count if any comments are associated with the current article.=====
Other tags: <[[txp:if_comments]]>