[pirate-politics] r601 committed - Created wiki page through web user interface.

2 views
Skip to first unread message

pirate-...@googlecode.com

unread,
Feb 9, 2011, 8:23:17 AM2/9/11
to pirate-poli...@googlegroups.com
Revision: 601
Author: fragro
Date: Wed Feb 9 04:55:09 2011
Log: Created wiki page through web user interface.
http://code.google.com/p/pirate-politics/source/detail?r=601

Added:
/wiki/pp_comment_count.wiki

=======================================
--- /dev/null
+++ /wiki/pp_comment_count.wiki Wed Feb 9 04:55:09 2011
@@ -0,0 +1,29 @@
+#summary To load this tag include {% load notificationtags %} at the top
of the html file.
+#sidebar TableOfContents
+
+= Custom Tag: `pp_comment_count` =
+====_Module: pirate_messges_====
+
+This template tag populates the namespace `pp_comment` with a integer
count value.
+
+==_Arguments and Parameters_==
+
+ * object: The Object we want a comment count for
+
+==_Return value_==
+
+ * `pp_comment.count`: number of comments
+
+==_Usage Notes_==
+ * *Assumptions*: None
+
+ * *Errors*: None
+
+==_Examples_==
+====Basic form====
+The following code will display the reputation integer.
+{{{
+ {% pp_comment_count object=request.object %}
+ {{ pp_comment.count }}
+ {% endpp_comment_count %}
+}}}

Reply all
Reply to author
Forward
0 new messages