Templatevar: karma
Inserts karma votes data. Karma votes are a method to vote the "karma" of an item. With a single click,the visitor can vote either positive or negative. The total of all these votes gives an idea of how much an item is liked by the visitors
Arguments
- Optional:
- what: Choose a type of information to be displayed:
- totalscore: the total karma vote score (=amount of positive votes minus the amount of negative votes) (default)
- pos: total number of positive votes
- neg: total number of negative votes
- votes: total number of votes
- posp: percentage of votes that is positive
- negp: percentage of votes that is negative
Examples
<%karma(posp)%> out of <%karma(votes)%> were positive
テンプレート変数:karma
カルマ投票のデータを挿入します。カルマ投票は、アイテムの"カルマ"を投票する方法で、正にでも負にでも投票できます。これら投票の総計によって、該当記事が訪問者にどのように思われているのか知ることができます。
引数
- オプション:
名前 挿入される情報の種類 totalscore カルマ投票の総合得点(正の投票数から負の投票数を引いたもの/デフォルト) pos 正の投票の総計 neg 負の投票の総計 votes 投票数の総計 posp 正に投じられたパーセンテージ negp 負に投じられたパーセンテージ
例
<%karma(posp)%>がよい記事だと評価しました(総計<%votes%>票)
コメント送信
Nucleusをご利用いただき、ありがとうございます。ヘルプファイルの内容について気がついた事がございましたら、コメントフォームよりご連絡ください。
いただきましたコメントは、次期バージョンの「オンラインヘルプ」に反映させてまいります。
なお、コチラでは個別対応は出来ませんので、疑問点などございましたら、サポートフォーラムへ投稿をお願いいたします。
コメント
コメントはありません