Difference between revisions of "Template:Fact or opinion/doc"
imported>SkyGazer 512 (Added proper documentation) |
imported>SUM1 (→Usage: Improved parameter usage templates) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
− | |||
− | |||
− | + | {{Tlx|Fact or opinion|date{{=}}{{Currentmonthname}} {{Currentyear}}}} creates {{Fact or opinion|date={{Currentmonthname}} {{Currentyear}}}}. | |
+ | |||
+ | {{Tlx|Fact or opinion|Is this a fact or opinion?|date{{=}}{{Currentmonthname}} {{Currentyear}}}} creates {{Fact or opinion|Is this a fact or opinion?|date={{Currentmonthname}} {{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 == |
Latest revision as of 00:35, 6 February 2020
![]() | This is a documentation subpage for Template:Fact or opinion. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
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.
Contents
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
TemplateData for Fact or opinion
Use this inline template to tag a statement that is unclear whether it states a fact or an opinion.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month and year | date | Month and year of tagging; e.g., 'January 2013', but not 'jan13'
| String | suggested |
Section name on talk page | talk 1 | Section name on talk page where further information or discussion can be found | String | optional |
See also
- {{Opinion}}