Difference between revisions of "Template:ReportEmphasis"

From Wikispooks
Jump to navigation Jump to search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template is a subtemplate of {{Template:SMWQ}}.'''[[category:Semantic Templates‎]]<br/>
+
<noinclude>'''This template is a subtemplate of [[Template:SMWQ]].'''[[category:Semantic Templates‎]]<br/>
It takes one parameter:
+
It takes one parameter, which must be 0 or 1 if the template is to have any effect.
  
 
Usage:
 
Usage:
 
<poem>
 
<poem>
:{{ReportEmphasis|0}} = ''Emphasis added''
+
:<nowiki>{{ReportEmphasis|0}}</nowiki> = ''Emphasis added''
:{{ReportEmphasis|1}} = ''Emphasis in original''
+
:<nowiki>{{ReportEmphasis|1}}</nowiki> = ''Emphasis in original''
 
</poem></noinclude><includeonly>{{#switch: {{{1|}}}
 
</poem></noinclude><includeonly>{{#switch: {{{1|}}}
 
|0 =<br/>''Emphasis added''
 
|0 =<br/>''Emphasis added''
 
|1 =<br/>''Emphasis in original''}}</includeonly>
 
|1 =<br/>''Emphasis in original''}}</includeonly>

Latest revision as of 10:21, 26 March 2019

This template is a subtemplate of Template:SMWQ.
It takes one parameter, which must be 0 or 1 if the template is to have any effect.

Usage:

{{ReportEmphasis|0}} = Emphasis added
{{ReportEmphasis|1}} = Emphasis in original