From PCSAR
(Difference between revisions)
|
m |
| (4 intermediate revisions not shown.) |
| Line 1: |
Line 1: |
| - | <!--
| |
| - |
| |
| - | ;;; "The template"
| |
| - | ;;; if this is a "Doc" subpage, "template" links to the template.
| |
| - |
| |
| - | -->The {{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }}
| |
| - | | [[ {{#titleparts: {{FULLPAGENAME}} | -1 }} |template]]
| |
| - | | template }}<!--
| |
| - |
| |
| - | ;;; space between words
| |
| - |
| |
| - | -->{{~}}<!--
| |
| - |
| |
| - | ;;; display the template as a code example: {{templatename|args...}}
| |
| - |
| |
| - | --><code>{{((}}{{#ifeq: Template |
| |
| - | |
| |
| - | | : }}{{#ifeq: Doc | {{#titleparts: {{FULLPAGENAME}} | | -1 }}
| |
| - | | {{#titleparts: {{PAGENAME}} | -1 }}
| |
| - | | {{PAGENAME}} }}<!--
| |
| - |
| |
| - | ;;; If arguments are supplied (combined as arg 1), include them.
| |
| - |
| |
| - | -->{{#if: Suggestion list<!--
| |
| - |
| |
| - | ;;; separate the arguments from the template name with a vertical bar: |
| |
| - |
| |
| - | -->| {{!}}<!--
| |
| - |
| |
| - | ;;; strip the argument list of leading/trailing spaces and display it
| |
| - |
| |
| - | -->{{#if:||Suggestion list }} }}<!--
| |
| - |
| |
| - | -->{{))}}<!--
| |
| - | --></code><!--
| |
| - |
| |
| - | ;;; Include the described function of the template, if it is supplied
| |
| - |
| |
| - | -->{{#if: | {{~}}{{{2}}} }}<!--
| |
| - |
| |
| - | -->
| |
| - |
| |
| | {{template doc|Suggestion list}} | | {{template doc|Suggestion list}} |
| | returns the number of Suggestions in the 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. | | ; Suggestion list : (optional) the page name of the suggestion list. Default is the current page. |
Current revision
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.