Clarify – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Hopefully useful and used by both those seeking and with knowledge.)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><sup style="font-size:75%;">[[:Category:Clarification needed|Clarify]][[Category:Clarification needed|{{uc:{{PAGENAME}}}}]]</sup></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
 
|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.
===Usage===
|param1= statement
 
|descr1= (Optional) the statement to clarify
{{Inline code|<nowiki>{{Clarify}}</nowiki>}} placed immediately after an ambiguous or confusing statement, will add a small but superior note{{Clarify}} at that point in the text, that links to [[:Category|Clarification needed]], whilst simultaneously adding the page to that Category.
|param2= reason
 
|descr2= (Optional) reason for needed clarification
Removal of the Template after clarification of the statement, will thus remove the page (assuming this template is not used elsewhere on the same page) from the Category.
|example1= <nowiki>unclear statement{{Clarify}}</nowiki>
 
|result1= unclear statement{{Clarify}}
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
|example2= <nowiki>{{Clarify|unclear statement}}</nowiki>
 
|result2= {{Clarify|unclear statement}}
</noinclude>
|example3= <nowiki>unclear statement{{Clarify||This statement is unclear!}}</nowiki>
|result3= unclear statement{{Clarify||This statement is unclear!}}
|example4= <nowiki>{{Clarify|unclear statement|This statement is unclear!}}</nowiki>
|result4= {{Clarify|unclear statement|This statement is unclear!}}
}}</noinclude>

Latest revision as of 20: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