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: Template | {{NAMESPACE}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
| | | | ||
- | | {{NAMESPACE}}: }} | + | | {{NAMESPACE}}: }}{{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
| {{#titleparts: {{PAGENAME}} | -1 }} | | {{#titleparts: {{PAGENAME}} | -1 }} | ||
- | | {{PAGENAME}} }} | + | | {{PAGENAME}} }}{{#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:35, 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.