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>{{((}}{{#ifeq: Template | {{NAMESPACE}}
+
--><code>{{((}}{{#ifeq: Template |
|
|
-
| {{NAMESPACE}}: }}{{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }}
+
| : }}{{#ifeq: Doc | {{#titleparts: Suggestion list/Count/Doc | | -1 }}
-
| {{#titleparts: {{PAGENAME}} | -1 }}
+
| {{#titleparts: Suggestion list/Count/Doc | -1 }}
-
| {{PAGENAME}} }}{{#if: Suggestion list| {{!}}{{#if:||Suggestion list }} }}{{))}}</code><!--
+
| Suggestion list/Count/Doc }}{{#if: Suggestion list| {{!}}{{#if:||Suggestion list }} }}{{))}}</code><!--
;;; Include the described function of the template, if it is supplied
;;; Include the described function of the template, if it is supplied

Revision as of 18:36, 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