Difference between revisions of "Template:Q"

From Wikispooks
Jump to navigation Jump to search
m (add line break below highlighted text)
m (t)
Line 7: Line 7:
 
:<Code><nowiki>{{Q|TEXT}}</nowiki></code>
 
:<Code><nowiki>{{Q|TEXT}}</nowiki></code>
 
The result will be as shown below with your text replacing the curly-braced parameter.
 
The result will be as shown below with your text replacing the curly-braced parameter.
</noinclude>
+
</noinclude><includeonly><div style="margin:0px; background-color:#f5f5f5; padding: 0.0em; margin-right:0px;">{{{1}}}</div><br/></includeonly>
<includeonly><div style="margin:0px; background-color:#f5f5f5; padding: 0.0em; margin-right:0px;">{{{1}}}</div><br/></includeonly>
 

Revision as of 16:40, 2 May 2014

This to set a backgound colour. It is intended for use especially in 1:1 interviews to clearly delineate questions from answers.

It has just the one parameter which is the text to be placed.

Copy and past the following to use the template, then replace 'TEXT' with the text to be highlighted:

{{Q|TEXT}}

The result will be as shown below with your text replacing the curly-braced parameter.