Template variables: Comments
| Name | Description |
|---|---|
| body | comment body |
| user | user name |
| userid | users URL or e-mail address |
| userlink | a smart link to either the e-mail or URL for non members,or the member detail page for members. Note: this link already includes the <a href="..."> and </a> tags ! (when no valid URL or e-mail is available,only the name of the member will be shown) |
| userlinkraw | same as above,but without the <a href..,empty when no valid URL or e-mail available |
| useremail | the e-mail address of the user,empty if the e-mail address was not provided by the user |
| userwebsite | the URL of the users website,empty if the URL was not provided by the user |
| userwebsitelink | a smart link to URL for non members,or the member detail page for members. Note: this link already includes the <a href="..."> and </a> tags ! (when no valid URL,only the name of the member will be shown) |
| memberid | ID of the member (0 for non-members) |
| commentcount | total amount of comments for the item |
| commentword | 1 "comment",2 "comments" |
| date | date on which comment was added |
| time | time at which comment was added |
| host | host from where comment was added |
| ip | IP-address from where comment was added |
| commentid | ID of the current comment |
| itemid | ID of the current item |
| itemlink | link to the detailed item page |
| itemtitle | Title of the current item |
| blogid | ID of the weblog |
| blogurl | URL of the weblog |
| authtext | the extra text for members,empty for non members |
| short | a cut off version of the body,which truncates after the first line break. A link is added at the end according to the template |
| excerpt | the body of the comment,cut at 60 characters and appended with "..." |
| timestamp | time at which comment was added |
| if-ifnot-else-elseif-elseifnot-endif | performs condition statements in templates (3.60) |
| include | includes a file,whithout parsing |
| parsedinclude | includes a file,parsing it |
| phpinclude | includes a file,parsing by PHP |
| plugin | executes a plugin |
| skinfile | includes the correct URL for a file belonging to an imported skin |
| set | sets a parser property |
テンプレート変数:コメント関連
| 名前 | 説明 |
|---|---|
| body | コメントの本体 |
| user | コメントした人の名前 |
| userid | コメントした人のWebサイトのURL、もしくはコメントした人のメールアドレス(入力されたままのものが挿入されます) |
| コメントした人のメールアドレス(スパム対策として、"@"は"(at)"に、".(ピリオド)"は"(dot)"に変換されます) | |
| userlink | コメントした人がログイン中の登録メンバーの時はメンバー詳細ページに、それ以外の時は入力されたWebサイトのURL、もしくはメールアドレスに対する<a href="...">タグ付きのリンク(有効なURLかメールアドレスが入力されていない場合は、コメントした人の名前のみが表示されます) |
| userlinkraw | userlinkと同じ。ただし、aタグの付いたリンクではなくURL、もしくはmailto:メールアドレスのみの表記。(入力されたURLやメールアドレスがいずれも文法的に有効でない場合は空になります) |
| useremail | ユーザーのメールアドレス。もしコメントした人によって入力されていない場合は空 |
| userwebsite | ユーザーのwebsiteのURL。もしコメントした人によって入力されていない場合は空 |
| userwebsitelink | コメントした人が登録メンバーの時はメンバー詳細ページに、それ以外の時は入力されたWebサイトのURLに対する<a href="...">タグ付きのリンク(有効なURLが入力されていない場合は、コメントした人の名前のみが表示されます) |
| memberid | メンバーのID(コメントした人がログイン中の登録メンバーでない時は0になります) |
| commentcount | 該当アイテムに付けられたコメントの総数 |
| commentword | アイテムに付けられたコメントの件数の数え方の表記 |
| date | コメントが追加された時の日付 |
| time | コメントが追加された時の時刻 |
| host | コメントが投稿されたホスト名 |
| ip | コメントが投稿されたIPアドレス |
| commentid | 現在のコメントのID |
| itemid | 現在のアイテムのID |
| itemlink | アイテムの詳細ページへのリンク |
| itemtitle | 現在のアイテムのタイトル |
| blogid | ブログのID |
| blogurl | ブログのURL |
| authtext | コメントした人がログイン中の登録メンバーの時は「登録メンバーからのコメントへの追加表示」テンプレートで設定した内容、それ以外は空 |
| short | 最初の改行部分から先が省略されたコメントの本体。テンプレートによっては末尾にリンクが追加されます。 |
| excerpt | コメントの本体。60文字でカットし"..."を追加 |
| timestamp | コメントが追加された時のタイムスタンプ |
| if-ifnot-else-elseif-elseifnot-endif | 3.60より、テンプレートでif(条件分岐)が使用できます。(オプションの「nextitem, previtem, archiveprevexists, archivenextexists, skintype」は利用できません。) |
| include | 指定されたファイルの内容をそのまま挿入 |
| parsedinclude | 指定されたファイル内のスキン/テンプレート変数を展開して、その結果を挿入 |
| phpinclude | 指定されたファイルをPHPとして実行した結果を挿入 |
| plugin | プラグインを実行 |
| skinfile | インポートされたスキンに属しているファイルへの正確なURLを挿入 |
| set | パーサーのプロパティを設定 |
コメント送信
Nucleusをご利用いただき、ありがとうございます。ヘルプファイルの内容について気がついた事がございましたら、コメントフォームよりご連絡ください。
いただきましたコメントは、次期バージョンの「オンラインヘルプ」に反映させてまいります。
なお、コチラでは個別対応は出来ませんので、疑問点などございましたら、サポートフォーラムへ投稿をお願いいたします。
コメント
コメントはありません