Template:OpenSanctions/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Back ache at 20:18, 7 April 2025 (Created page with '{{See also|Template:OpenSanctions page|Wikipedia:External links/Perennial websites}} {{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Template redirects|OpenSanctions}} {{Tracks and uses Wikidata|P3393}} {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at OpenSanctions, an open database of sanctions and p...'). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:OpenSanctions displays an external link to a page at OpenSanctions, an open database of sanctions and persons of interest data is intended for use in the external links section of an article of organisaions.

Unnamed parameters
{{OpenSanctions | user name or number }}
{{OpenSanctions | user name or number | Displayed Name }}
Named parameters
{{OpenSanctions | id= user name or number }}
{{OpenSanctions | id= user name or number | name= Displayed Name }}
Using Wikidata property
{{OpenSanctions}}
{{OpenSanctions | name= Displayed Name }}

Examples

[edit source]

Linking to a profile or page

[edit source]

In this example, the OpenSanctions ID is Q11142 and the link text is Clarence Thomas:

https://www.OpenSanctions.org/org/Q11142
* {{OpenSanctions | Q11142 | Clarence Thomas }}

Using Wikidata

[edit source]

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

* {{OpenSanctions}}
* {{OpenSanctions |name=NAME }}

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

  • OpenSanctions/doc on OpenSanctions, an open database of sanctions and persons of interest dataLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

See also

[edit source]