Template:Suggestion/Value/Parse/Doc
From PCSAR
(Difference between revisions)
(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...) |
|||
Line 4: | Line 4: | ||
Expands to '''high''', '''medium''', '''low''', '''undefined''', or '''error'''. | Expands to '''high''', '''medium''', '''low''', '''undefined''', or '''error'''. | ||
- | {{ | + | {{demo table| |
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|low}} }} | -->| {{Suggestion/Value/Parse|low}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|lmed}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|lmed}} }} | -->| {{Suggestion/Value/Parse|lmed}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|lmedium}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|lmedium}} }} | -->| {{Suggestion/Value/Parse|lmedium}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|lhigh}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|lhigh}} }} | -->| {{Suggestion/Value/Parse|lhigh}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|}} }} | -->| {{Suggestion/Value/Parse|}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|undefined}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|undefined}} }} | -->| {{Suggestion/Value/Parse|undefined}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|foo}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|foo}} }} | -->| {{Suggestion/Value/Parse|foo}} }} | ||
}} | }} |
Revision as of 05:37, 20 September 2012
The template {{Suggestion/Value/Parse|value}}
parses a suggestion value.
Expands to high, medium, low, undefined, or error.
You type... | You get... |
---|---|
{{Suggestion/Value/Parse|low}} | low |
{{Suggestion/Value/Parse|lmed}} | error |
{{Suggestion/Value/Parse|lmedium}} | error |
{{Suggestion/Value/Parse|lhigh}} | error |
{{Suggestion/Value/Parse|}} | not rated |
{{Suggestion/Value/Parse|undefined}} | not rated |
{{Suggestion/Value/Parse|foo}} | error |