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

3 views
Skip to first unread message

pirate-...@googlecode.com

unread,
Feb 9, 2011, 5:43:23 AM2/9/11
to pirate-poli...@googlegroups.com
Revision: 569
Author: fragro
Date: Wed Feb 9 02:42:19 2011
Log: Created wiki page through web user interface.
http://code.google.com/p/pirate-politics/source/detail?r=569

Added:
/wiki/pp_get_reputation.wiki

=======================================
--- /dev/null
+++ /wiki/pp_get_reputation.wiki Wed Feb 9 02:42:19 2011
@@ -0,0 +1,30 @@
+#summary To load this tag include {% load reputationtags %} at the top of
the html file.
+#sidebar TableOfContents
+
+= Custom Tag: `pp_get_reputation` =
+====_Module: pirate_reputation_====
+
+This template tag populates the namespace with a `reputation` object
containing the aggregate score of the user's reputation.
+
+==_Arguments and Parameters_==
+
+ * user: the user being referenced
+
+==_Return value_==
+
+Returns a form containing a HTML form object the user can enter the
registration info into.
+
+ * `pp_reputation.reputation`:
+
+==_Usage Notes_==
+ * *Assumptions*: None
+
+ * *Errors*: None
+
+==_Examples_==
+====Basic form====
+The following code will display the form returned by this tag.
+{{{
+{% pp_get_reputation user=request.object %}
+ {{pp_reputation.reputation %}
+{% endpp_get_reputation %}

Reply all
Reply to author
Forward
0 new messages