Template:PolitiFact/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

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 source]

Linking to a profile or page

[edit source]

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 }}

Using Wikidata

[edit source]

Generally, Wikidata should contain article subjects' PolitiFact IDs in property (P3393), allowing the ID parameter to be omitted:

* {{PolitiFact}}
* {{PolitiFact |name=NAME }}

If the Wikidata property is not defined, the output is:

  • PolitiFact/doc on PolitiFact, an American nonprofit fact-checking websitesLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

See also

[edit source]