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

3 views
Skip to first unread message

pirate-...@googlecode.com

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

Added:
/wiki/pp_get_arg_types.wiki

=======================================
--- /dev/null
+++ /wiki/pp_get_arg_types.wiki Wed Feb 9 02:53:23 2011
@@ -0,0 +1,29 @@
+#summary To load this tag include {% load argumenttags %} at the top of
the html file.
+#sidebar TableOfContents
+
+= Custom Tag: `pp_get_arg_types` =
+====_Module: pirate_reputation_====
+
+This template tag populates the namespace `pp_argumentation` with a list
of all argument types, or Stance models.
+
+==_Return value_==
+
+Returns a form containing a HTML form object the user can enter the
registration info into.
+
+ * `pp_reputation.reputation`: A reputation object based on the aggregate
of the user's reputation scores from posting comments, issues, solutions
and having those object voted on.
+
+==_Usage Notes_==
+ * *Assumptions*: None
+
+ * *Errors*: None
+
+==_Examples_==
+====Basic form====
+The following code will display the reputation integer.
+{{{
+ {% pp_get_arg_types %}
+ {% for arg in pp_argumentation.arg_type_list %}
+ {{ arg.arg }}
+ {% endfor %}
+ {% endpp_get_arg_types %}
+}}}

Reply all
Reply to author
Forward
0 new messages