Difference between revisions of "Template:Q"

From Wiki IoT
Jump to: navigation, search
Line 11: Line 11:
 
<nowiki>{{Q|CC1|L}}</nowiki> to return text with link
 
<nowiki>{{Q|CC1|L}}</nowiki> to return text with link
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#switch: {{{1|}}}{{{2|}}}
{{#switch: {{{1|}}}
+
 
| CC1 = Is the consumer forbidden from modifying the software and/or hardware without retaliation?
 
| CC1 = Is the consumer forbidden from modifying the software and/or hardware without retaliation?
 +
| CC1L = [[test]]
 
| CC2 = Does the provider reserve to himself the right to modify/delete his own content?
 
| CC2 = Does the provider reserve to himself the right to modify/delete his own content?
 
| other = Invalid Q code
 
| other = Invalid Q code
}}
+
}}</includeonly>
</includeonly>
+

Revision as of 10:05, 17 June 2015

This template return the text of a chosen question

Usage

{{Q|code|L}}

Examples

{{Q|CC1}} to return only the text

{{Q|CC1|L}} to return text with link