Difference between revisions of "Template:Q"

From Wikispooks
Jump to navigation Jump to search
m (add line break below highlighted text)
m (remove br)
 
(One intermediate revision by the same user not shown)
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></includeonly>
<includeonly><div style="margin:0px; background-color:#f5f5f5; padding: 0.0em; margin-right:0px;">{{{1}}}</div><br/></includeonly>
 

Latest revision as of 07:03, 9 July 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.