Difference between revisions of "Template:Cite OLMS/doc"

From blackwiki
Jump to navigation Jump to search
imported>Djr13
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
== Usage ==
 
== Usage ==
This template is for use in citations, usually linking the search page for locating relevant report(s) in the database of the [[US Department of Labor]]'s [[Office of Labor-Management Standards]]. All parameters are optional, although {{para|rptId}} and {{para|rptForm}} must be used together.
+
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 {{para|rptId}} and {{para|rptForm}} must be used together.
  
 
=== Parameters ===
 
=== Parameters ===
Line 7: Line 7:
 
* {{para|date}}: when the report was submitted and/or accepted by OLMS; not the timespan covered by the report.
 
* {{para|date}}: when the report was submitted and/or accepted by OLMS; not the timespan covered by the report.
 
* {{para|rptId}} and {{para|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 {{code|lang=javascript|javascript:getDetailReport(document.forms[0],539374,'LM2Form',null)}}, revealing the entries ("539374" and "LM2Form", respectively) needed to direct link.
 
* {{para|rptId}} and {{para|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 {{code|lang=javascript|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 ===
 
=== Examples ===
Line 20: Line 23:
 
* {{Cite OLMS|rptId=539374|rptForm=LM2Form}}
 
* {{Cite OLMS|rptId=539374|rptForm=LM2Form}}
  
<includeonly>
+
<includeonly>{{Sandbox other|
 +
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 +
<!--Template categories:-->
 
[[Category:United States government external link templates|Office of Labor-Management Standards]]
 
[[Category:United States government external link templates|Office of Labor-Management Standards]]
 
[[Category:Specific-source templates|OLMS]]
 
[[Category:Specific-source templates|OLMS]]
 
[[Category:Labor templates|OLMS]]
 
[[Category:Labor templates|OLMS]]
[[Category:Reports of the United States Department of Labor|μOffice of Labor-Management Standards]]
+
[[Category:Trade union templates]]
[[Category:United States Department of Labor agencies|μOffice of Labor-Management Standards]]
+
<!--Other categories:-->
</includeonly>
+
[[Category:Reports of the United States Department of Labor|τ Office of Labor-Management Standards]]
 +
[[Category:United States Department of Labor agencies|τ Office of Labor-Management Standards]]
 +
}}</includeonly>

Latest revision as of 14:20, 24 April 2020

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