Template:PolitiFact/doc
Appearance
![]() | This is a documentation subpage for Template:PolitiFact. It may contain usage information, categories and other content that is not part of the original template page. |

![]() | This template uses Lua: |
Template:PolitiFact displays an external link to a page at PolitiFact, an American nonprofit fact-checking website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{PolitiFact | user name or number }}
{{PolitiFact | user name or number | Displayed Name }}
- Named parameters
{{PolitiFact | id= user name or number }}
{{PolitiFact | id= user name or number | name= Displayed Name }}
- Using Wikidata property
{{PolitiFact}}
{{PolitiFact | name= Displayed Name }}
Examples
[edit]Linking to a profile or page
[edit]In this example, the PolitiFact ID is allen-west and the link text is Allen West:
- https://www.politifact.com/personalities/allen-west
* {{PolitiFact | allen-west | Allen West }}
- Allen West on PolitiFact, an American nonprofit fact-checking websites
Using Wikidata
[edit]Generally, Wikidata should contain article subjects' PolitiFact IDs in property LittleSis organization ID (P3393), allowing the ID parameter to be omitted:
* {{PolitiFact}}
* {{PolitiFact |name=NAME }}
If the Wikidata property is not defined, the output is:
- String Module Error: Target string is empty PolitiFact/doc on PolitiFact, an American nonprofit fact-checking websites
See also
[edit]