Template:Suggestion/Value/Parse

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{subst:template}})
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
--><!--
+
-->{{#switch: {{{1|}}}
 +
| high = high
 +
| med
 +
| medium = medium
 +
| low = low
 +
| none = none
 +
| undefined
 +
| = undefined
 +
| #default = error
 +
}}<!--
--></includeonly>
--></includeonly>

Revision as of 05:30, 20 September 2012

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