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>{{((}} | + | --><code>{{((}} |
- | + | :{{#ifeq: Doc | {{#titleparts: Suggestion list/Count/Doc | | -1 }} | |
- | + | ||
| {{#titleparts: Suggestion list/Count/Doc | -1 }} | | {{#titleparts: Suggestion list/Count/Doc | -1 }} | ||
| Suggestion list/Count/Doc }}{{#if: Suggestion list| {{!}}{{#if:||Suggestion list }} }}{{))}}</code><!-- | | Suggestion list/Count/Doc }}{{#if: Suggestion list| {{!}}{{#if:||Suggestion list }} }}{{))}}</code><!-- |
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.