Template variables: Advanced variables
| Name | Description |
|---|---|
| authorid | ID of the current items author |
| blogid | ID of the blog |
| catid | ID of the category for the current item |
| query | search query (if there is one) |
| syndicate_title | Syndicated title |
| syndicate_description | Syndicated body text |
| karmaposlink | raw vote link |
| karmaneglink | raw vote link |
| new | "New Item!"-text |
| include | includes a file,whithout parsing |
| parsedinclude | includes a file,parsing it |
| phpinclude | includes a file,parsing by PHP |
| if-ifnot-else-elseif-elseifnot-endif | performs condition statements in templates (3.60) |
| plugin | executes a plugin |
| edit | inserts an "edit this item" link |
| editlink | raw "edit item" link (links to bookmarklet) |
| editpopupcode | javascript code to open a popup window for editlink |
| skinfile | includes the correct URL for a file belonging to an imported skin |
| set | sets a parser property |
| image | inline image from media library |
| popup | popup image from media dir |
| media | other media object from media dir |
| relevance | Includes the "search hit relevance" in templates that display search results |
テンプレート変数:上級の変数
| 名前 | 説明 |
|---|---|
| authorid | 現在のアイテムの投稿者のID |
| blogid | アイテムが所属するブログのID |
| catid | アイテムが所属するカテゴリーのID |
| query | 存在していれば、検索文字列 |
| syndicate_title | RSSなどの配信用に、指定文字数以上を省略したアイテムのタイトル |
| syndicate_description | RSSなどの配信用に、指定文字数以上を省略した「本文」テキスト |
| karmaposlink | 投票用のURL |
| karmaneglink | 投票用のURL |
| new | 前回訪問時意向に追加されたアイテムを示すテキストなど |
| include | 指定されたファイルの内容をそのまま挿入 |
| parsedinclude | 指定されたファイル内のスキン/テンプレート変数を展開して、その結果を挿入 |
| phpinclude | 指定されたファイルをPHPとして実行した結果を挿入 |
| if-ifnot-else-elseif-elseifnot-endif | 3.60より、テンプレートでif(条件分岐)が使用できます。(オプションの「nextitem, previtem, archiveprevexists, archivenextexists, skintype」は利用できません。) |
| plugin | プラグインを実行 |
| edit | テンプレート「アイテムを編集するためのリンク」の内容を挿入 |
| editlink | アイテム編集画面(bookmarklet)のURL |
| editpopupcode | editlink用のウィンドウをポップアップするjavascriptコード |
| skinfile | インポートされたスキンに属しているファイルへの正確なURLを挿入 |
| set | パーサーのプロパティを設定 |
| image | メディア・ライブラリの画像をインライン表示 |
| popup | メディア・ディレクトリの画像をポップアップ |
| media | メディア・ディレクトリの他のメディア・オブジェクト |
| relevance | 検索結果を表示するテンプレートに「検索関連度」を挿入する(2.5より) |
コメント送信
Nucleusをご利用いただき、ありがとうございます。ヘルプファイルの内容について気がついた事がございましたら、コメントフォームよりご連絡ください。
いただきましたコメントは、次期バージョンの「オンラインヘルプ」に反映させてまいります。
なお、コチラでは個別対応は出来ませんので、疑問点などございましたら、サポートフォーラムへ投稿をお願いいたします。
コメント
gblsm (2012年03月10日 22:33:45)
new 前回訪問時意向に追加されたアイテムを示すテキストなど
…「意向」⇒「以降」
Item ID:187
…「意向」⇒「以降」
Item ID:187