Difference between revisions of "Template:Cite OLMS"

From blackwiki
Jump to navigation Jump to search
imported>Hydrargyrum
m (avoid indirect links in template)
imported>Djr13
(update for new OLMS data platform, https, no weird subdomains, fixes linking reports, and now even attachments! ...still no apparent way to link an interactive search/full report record; fix whitespace issue)
 
Line 1: Line 1:
[[United States Department of Labor|U.S. Department of Labor]], [[Office of Labor-Management Standards]]. {{#if:{{{filenum|{{{1|}}}}}}|File number {{{filenum|{{{1}}}}}}.|}} {{#if:{{both|{{{rptId|}}}|{{{rptForm|}}}}}|[http://kcerds.dol-esa.gov/query/orgReport.do?rptId={{{rptId}}}&rptForm={{{rptForm}}} Report {{#if:{{{date|}}}||online.}}]|([https://www.dol.gov/olms/ Search])}} {{#if:{{{date|{{{2|}}}}}}|{{#if:{{both|{{{rptId|}}}|{{{rptForm|}}}}}||Report}} submitted {{{date|{{{2}}}}}}.}}<noinclude>
+
[[United States Department of Labor|US Department of Labor]], [[Office of Labor-Management Standards]]. {{#if:{{{filenum|{{{1|}}}}}}|File number {{{filenum|{{{1}}}}}}.|}} {{#if:{{both|{{{rptId|}}}|{{{rptForm|}}}}}|[https://olms.dol-esa.gov/query/orgReport.do?rptId={{{rptId}}}&rptForm={{{rptForm}}} Report{{#if:{{{date|}}}||&nbsp;online.}}]|([https://www.dol.gov/olms/ Search])}} {{#if:{{{date|{{{2|}}}}}}|{{#if:{{both|{{{rptId|}}}|{{{rptForm|}}}}}||Report}} submitted {{{date|{{{2}}}}}}.}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:54, 23 August 2019

US Department of Labor, Office of Labor-Management Standards. (Search)

Template documentation[view] [edit] [history] [purge]

Usage

This template is for use in citations, usually linking the search page for locating relevant report(s) in the database of the United States Department of Labor's Office of Labor-Management Standards. All parameters are optional, although |rptId= and |rptForm= must be used together.

Parameters

  • |filenum=: the reporting file-number for the subject of the report.
  • |date=: when the report was submitted and/or accepted by OLMS; not the timespan covered by the report.
  • |rptId= and |rptForm=: these allow linking directly to a report (possibly HTML, PDF or any other format), but for many reports can be difficult to obtain, and may require examining the javascript links provided on index pages. For example, your link may look like javascript:getDetailReport(document.forms[0],539374,'LM2Form',null), revealing the entries ("539374" and "LM2Form", respectively) needed to direct link.

OLMS record types

A table of known record types, as discovered by use of the site, can be seen and contributed to at Template talk:Cite OLMS/OLMS records types.

Examples