Clarify – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Template refresh)
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<span style="border-bottom: 0.0625em dotted grey; cursor: help" title{{=}}"This statement needs clarification.{{#if:{{{2||}}}|<nowiki/> Reason: {{{2}}}}}">{{{1}}}</span>|}}<sup style="font-size:75%">[[:Category:Clarification needed|Clarify]]</sup>{{#ifeq:{{uc:{{PAGENAME}}}}|CLARIFY||[[Category:Clarification needed|{{uc:{{PAGENAME}}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|<span style="border-bottom: 0.0625em dotted grey; cursor: help" title{{=}}"This statement needs clarification.{{#if:{{{2||}}}|<nowiki/> Reason: {{{2}}}}}">{{{1}}}</span>|}}<sup style="font-size:75%">[[:Category:Clarification needed|Clarify]]</sup>{{TemplateCase||[[Category:Clarification needed|{{uc:{{PAGENAME}}}}]]}}</includeonly><noinclude>{{Doc/Template
This template will add a small superior note that links to the [[:Category:Clarification needed|Clarification needed]] category, whilst simultaneously adding the page to that category.
|descr= This template will add a small superior note that links to the [[:Category:Clarification needed|Clarification needed]] category, whilst simultaneously adding the page to that category.
 
|param1= statement
== Usage ==
|descr1= (Optional) the statement to clarify
{{<nowiki/>Clarify|'''''statement'''''|'''''reason'''''}}
|param2= reason
* statement: (Optional) the statement to clarify
|descr2= (Optional) reason for needed clarification
* reason: (Optional) reason for needed clarification
|example1= <nowiki>unclear statement{{Clarify}}</nowiki>
 
|result1= unclear statement{{Clarify}}
<!-- Template itself can be used thanks to an exclusion for this page -->
|example2= <nowiki>{{Clarify|unclear statement}}</nowiki>
{|class="wikitable"
|result2= {{Clarify|unclear statement}}
|+ Examples
|example3= <nowiki>unclear statement{{Clarify||This statement is unclear!}}</nowiki>
! Code
|result3= unclear statement{{Clarify||This statement is unclear!}}
! Result
|example4= <nowiki>{{Clarify|unclear statement|This statement is unclear!}}</nowiki>
|-
|result4= {{Clarify|unclear statement|This statement is unclear!}}
| <nowiki>unclear statement{{Clarify}}</nowiki>
}}</noinclude>
| unclear statement{{Clarify}}
|-
| <nowiki>{{Clarify|unclear statement}}</nowiki>
| {{Clarify|unclear statement}}
|-
| <nowiki>unclear statement{{Clarify||This statement is unclear!}}</nowiki>
| unclear statement{{Clarify||This statement is unclear!}}
|-
| <nowiki>{{Clarify|unclear statement|This statement is unclear!}}</nowiki>
| {{Clarify|unclear statement|This statement is unclear!}}
|}
 
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</noinclude>

Latest revision as of 19:18, 16 January 2021

This template will add a small superior note that links to the Clarification needed category, whilst simultaneously adding the page to that category.

This template is used on these pages.

Usage

{{Clarify|statement|reason}}

  • statement: (Optional) the statement to clarify
  • reason: (Optional) reason for needed clarification
Examples
Code Result
unclear statement{{Clarify}} unclear statementClarify
{{Clarify|unclear statement}} unclear statementClarify
unclear statement{{Clarify||This statement is unclear!}} unclear statementClarify
{{Clarify|unclear statement|This statement is unclear!}} unclear statementClarify