Template:PD-USGov-agency/lookup
This template returns data about individual agencies for use in Template:PD-USGov-agency.
Usage
{{PD-USGov-agency/lookup |1= |2= |3= }}
The first parameter is the abbreviation of the desired agency. The second parameter is the data being requested about that agency; it can be "name", "seal", or "category". The third parameter is a translation of the phrase "part of the" in the desired language, which is used in connecting the agency name to the name of its larger department or agency.
Currently, if "name" or "seal" are requested, the parameters are by default passed on to Template:PD-USGov-agency/autolookup, which pulls the information from Wikidata; "name" uses the Wikidata label in the user's language, and "seal" pulls the seal image (P158), or if that doesn't exist, the logo image (P154). However, values can be directly specified in this template to override them. The "category" is the Commons category that the banner assigns its file pages into; this must be specified in this template, since the naming scheme is inconsistent.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | The abbreviation of the agency | empty | required | |
2 | The data being requested. It could be "name", "seal", or "category". | empty | required | |
3 | A translation of the phrase "part of the" in the desired language, used in connecting the agency name to the name of its larger department or agency if needed. | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified