Template:Suggestion number

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (21:14, 2 March 2013) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
-->{{#ifexist: {{FULLPAGENAME}}/Sug{{{1}}}<!--
+
-->{{Suggestion number/Core<!--
-
-->|{{quote-page|{{FULLPAGENAME}}/Sug{{{1}}}}}<!--
+
normalize number (strip leading zeros)
-
-->|<br/>{{Link/Create|{{FULLPAGENAME}}/Sug{{{1}}}|New suggestion #{{{1}}}|Preload=Template:Suggestion/Boilerplate}}<!--
+
-->|Number={{#expr:{{{1}}}+0}}<!--
 +
 
 +
padded with leading zeros
 +
 
 +
-->|PadNum={{padleft:{{{1}}}|4}}<!--
-->}}<!--
-->}}<!--
 +
 +
-->[[Category:Suggestion compendium]]<!--
--></includeonly>
--></includeonly>

Current revision

This is the documentation for the template Template:Suggestion number

Template:Suggestion number/Doc:
Related Templates
Committee suggestions Report of suggestions for a committee
Committee member suggestions Report of suggestions for member of a committee
Critique report/Suggestion Link to a suggestion within a critique report
Critique report/Suggestion list List of suggestion numbers that have been assigned to a committee in the current critique report
Suggestion Record a suggestion for improving SAR
Suggestion/Page subst: a boilerplate for a new suggestion page
Suggestion number a suggestion relative to the current page
Suggestion list list of suggestions relative to the current page

The template {{Suggestion number|number}} references a suggestion relative to the current page.

If the suggestion has been filled out, it is displayed.

If the suggestion has not yet been filled out, a link is displayed to a subpage for the numbered suggestion. The editor will include the Template:Suggestion/Boilerplate for creating the new suggestion.

The calling page is added to Category:Suggestion compendium so it will not duplicate the suggestions it quotes.

[edit] Supporting templates


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools