Template:OpenSecrets displays an external link to a page at OpenSecrets, a website that tracks and publishes data on campaign finance and lobbying. It is intend
| This template uses Lua: |
Template:OpenSecrets displays an external link to a page at OpenSecrets, a website that tracks and publishes data on campaign finance and lobbying. It is intended for use in the external links section of an article.
{{OpenSecrets | user name or number }}{{OpenSecrets | user name or number | Displayed Name }}{{OpenSecrets | id= user name or number }}{{OpenSecrets | id= user name or number | name= Displayed Name }}{{OpenSecrets}}{{OpenSecrets | name= Displayed Name }}In this example, the OpenSecrets ID is d000067823 and the link text is Alphabet Inc.:
* {{OpenSecrets | d000067823 | Alphabet Inc. }}
Generally, Wikidata should contain article subjects' OpenSecrets IDs in property OpenSecrets organization ID (P4691), allowing the ID parameter to be omitted:
* {{OpenSecrets}}* {{OpenSecrets |name=NAME }}If the Wikidata property is not defined, the output is:
TemplateData for OpenSecrets
Generate a link to a OpenSecrets profile in a standard format.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Account ID | id 1 | ID of the OpenSecrets account (part of the web page address, for www.OpenSecrets.com/example/ the account id is "example"). This parameter is optional if Wikidata property P4691 exists, but required if not.
| Line | optional |
| Display name | name 2 | Display name for the OpenSecrets account
| Line | optional |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.