Template:Suggestion list/Count/Doc
From PCSAR
(Difference between revisions)
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 | | + | --><code>{{((}}{{#ifeq: Template | |
| | | | ||
- | | | + | | : }}{{#ifeq: Doc | {{#titleparts: Suggestion list/Count/Doc | | -1 }} |
- | | {{#titleparts: | + | | {{#titleparts: Suggestion list/Count/Doc | -1 }} |
- | | | + | | 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.