Template:Suggestion/Value/Parse

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (10:46, 20 September 2012) (edit) (undo)
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
-->{{#switch: {{{1|}}}
+
-->{{#switch: {{lc:{{{1|}}}}}
| high = high
| high = high
| med
| med
| medium = medium
| medium = medium
| low = low
| low = low
 +
| no
 +
| not
| none = none
| none = none
| undefined
| undefined
-
| = undefined
+
| not rated
 +
| = not rated
| #default = error
| #default = error
}}<!--
}}<!--
--></includeonly>
--></includeonly>

Current revision

This is the documentation for the template Template:Suggestion/Value/Parse

Template:Suggestion/Value/Parse/Doc:

The template {{Suggestion/Value/Parse|value}} parses a suggestion value.

Expands to high, medium, low, none, not rated, or error.


You type... You get...
{{Suggestion/Value/Parse|none}} 
none
{{Suggestion/Value/Parse|low}} 
low
{{Suggestion/Value/Parse|Low}} 
low
{{Suggestion/Value/Parse|LOW}} 
low
{{Suggestion/Value/Parse|med}} 
medium
{{Suggestion/Value/Parse|medium}} 
medium
{{Suggestion/Value/Parse|high}} 
high
{{Suggestion/Value/Parse|}} 
not rated
{{Suggestion/Value/Parse|undefined}} 
not rated
{{Suggestion/Value/Parse|foo}} 
error


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

Personal tools