Difference between revisions of "Template:Fact or opinion/doc"
imported>SkyGazer 512 (Added proper documentation) |
imported>SUM1 (Updated usage notes and added TemplateData) |
||
Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
− | |||
− | |||
− | The | + | {{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 === | ||
+ | * {{param|talk}} or {{param|1}} (empty): The section on the talk page that the template links to | ||
+ | * {{param|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 == |
Revision as of 14:06, 5 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}}}
(empty): 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}}