Template:Suggestion list/Count/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
;;; display the template as a code example: {{templatename|args...}}
;;; display the template as a code example: {{templatename|args...}}
-
--><code>{{((}}
+
--><code>{{((}}<!--
-
:{{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }}
+
 
 +
;;; if this is in any namespace but the normal Template:, include the namespace in the templatename
 +
 
 +
-->{{#ifeq: Template | {{NAMESPACE}}<!--
 +
-->|<!--
 +
-->|{{NAMESPACE}}:<!--
 +
-->}}<!--
 +
 
 +
;;; Give the template name. If this is a Doc subpage, give the name of the parent page (the template itself).
 +
 
 +
-->{{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }}
| {{#titleparts: {{PAGENAME}} | -1 }}
| {{#titleparts: {{PAGENAME}} | -1 }}
| {{PAGENAME}} }}<!--
| {{PAGENAME}} }}<!--

Revision as of 18:44, 3 March 2013

The template {{Suggestion list/Count|Suggestion list}}

The template {{Suggestion list/Count|Suggestion list}} returns the number of Suggestions in the Suggestion list

Suggestion list 
(optional) the page name of the suggestion list. Default is the current page.
Personal tools