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>[[{{#ifeq:{{{1|}}}{{{2|}}}|CC1L|Questions#Is the consumer allowed to modify the software and/or hardware without retaliation?|}}]]</includeonly>
+
<includeonly>
 +
{{#switch: {{{1|}}}
 +
| CC1 = Is the consumer forbidden from modifying the software and/or hardware without retaliation?
 +
| CC2 = Does the provider reserve to himself the right to modify/delete his own content?
 +
| other = Invalid Q code
 +
}}
 +
</includeonly>

Revision as of 10:04, 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