Template:Suggestion/Value/Parse/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{template doc|value}} parses a suggestion value. Expands to '''high''', '''medium''', '''low''', '''undefined''', or '''error'''. {{Demo Table| {{Demo Row|<nowiki>{{Suggestion/Value/Par...)
Current revision (05:55, 20 September 2012) (edit) (undo)
 
(4 intermediate revisions not shown.)
Line 2: Line 2:
parses a suggestion value.
parses a suggestion value.
-
Expands to '''high''', '''medium''', '''low''', '''undefined''', or '''error'''.
+
Expands to '''high''', '''medium''', '''low''', '''none''', '''not rated''', or '''error'''.
-
{{Demo Table|
+
{{demo table|
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|none}}</nowiki><!--
 +
-->| {{Suggestion/Value/Parse|none}} }}
 +
{{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!--
-->| {{Suggestion/Value/Parse|low}} }}
-->| {{Suggestion/Value/Parse|low}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|lmed}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|Low}}</nowiki><!--
-
-->| {{Suggestion/Value/Parse|lmed}} }}
+
-->| {{Suggestion/Value/Parse|Low}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|lmedium}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|LOW}}</nowiki><!--
-
-->| {{Suggestion/Value/Parse|lmedium}} }}
+
-->| {{Suggestion/Value/Parse|LOW}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|lhigh}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|med}}</nowiki><!--
-
-->| {{Suggestion/Value/Parse|lhigh}} }}
+
-->| {{Suggestion/Value/Parse|med}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|medium}}</nowiki><!--
 +
-->| {{Suggestion/Value/Parse|medium}} }}
 +
{{demo row|<nowiki>{{Suggestion/Value/Parse|high}}</nowiki><!--
 +
-->| {{Suggestion/Value/Parse|high}} }}
 +
{{demo row|<nowiki>{{Suggestion/Value/Parse|}}</nowiki><!--
-->| {{Suggestion/Value/Parse|}} }}
-->| {{Suggestion/Value/Parse|}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|undefined}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|undefined}}</nowiki><!--
-->| {{Suggestion/Value/Parse|undefined}} }}
-->| {{Suggestion/Value/Parse|undefined}} }}
-
{{Demo Row|<nowiki>{{Suggestion/Value/Parse|foo}}</nowiki><!--
+
{{demo row|<nowiki>{{Suggestion/Value/Parse|foo}}</nowiki><!--
-->| {{Suggestion/Value/Parse|foo}} }}
-->| {{Suggestion/Value/Parse|foo}} }}
}}
}}

Current revision

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
Personal tools