Difference between revisions of "Template:Fact or opinion/doc"

From blackwiki
Jump to navigation Jump to search
imported>SUM1
(→‎Usage: Improved parameter usage templates)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Lua|Module:Unsubst}}
 
{{Lua|Module:Unsubst}}
 +
 +
This template should be placed after a sentence that is unclear whether it states a fact or an opinion. Any article containing this template is automatically added to [[:Category:All articles with minor POV problems]].
 +
 
== Usage ==
 
== Usage ==
{{inadequate documentation|date=July 2017}}
+
 
 +
{{Tlx|Fact or opinion|date{{=}}{{Currentmonthname}}&nbsp;{{Currentyear}}}} creates {{Fact or opinion|date={{Currentmonthname}}&nbsp;{{Currentyear}}}}.
 +
 
 +
{{Tlx|Fact or opinion|Is this a fact or opinion?|date{{=}}{{Currentmonthname}}&nbsp;{{Currentyear}}}} creates {{Fact or opinion|Is this a fact or opinion?|date={{Currentmonthname}}&nbsp;{{Currentyear}}}}.
 +
 
 +
Hovering over the template will show the date in the tooltip. Clicking on "See discussion" will take the user to the relevant talk page discussion.
 +
 
 +
=== Parameters ===
 +
* {{para|talk}} or {{para|1}} (or an empty parameter): the section on the talk page that the template links to
 +
* {{para|date}}: the date that the tag was placed.
 +
 
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
    "description": "Use this inline template to tag a statement that is unclear whether it states a fact or an opinion.",
 +
"params": {
 +
"date": {
 +
"label": "Month and year",
 +
"description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'",
 +
"type": "string",
 +
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 +
"example": "January 2013",
 +
"suggested": true
 +
},
 +
"talk": {
 +
"aliases": [
 +
                "1"
 +
],
 +
"label": "Section name on talk page",
 +
"description": "Section name on talk page where further information or discussion can be found",
 +
"type": "string"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
 
 
== See also ==
 
== See also ==
 
* {{Tl|Opinion}}
 
* {{Tl|Opinion}}

Latest revision as of 00:35, 6 February 2020

This template should be placed after a sentence that is unclear whether it states a fact or an opinion. Any article containing this template is automatically added to Category:All articles with minor POV problems.

Usage

{{Fact or opinion|date=October 2025}} creates [a fact or an opinion?].

{{Fact or opinion|Is this a fact or opinion?|date=October 2025}} creates [a fact or an opinion? (See discussion.)].

Hovering over the template will show the date in the tooltip. Clicking on "See discussion" will take the user to the relevant talk page discussion.

Parameters

  • |talk= or |1= (or an empty parameter): the section on the talk page that the template links to
  • |date=: the date that the tag was placed.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Fact or opinion

Use this inline template to tag a statement that is unclear whether it states a fact or an opinion.

Template parameters

ParameterDescriptionTypeStatus
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Section name on talk pagetalk 1

Section name on talk page where further information or discussion can be found

Stringoptional

See also