Difference between revisions of "Template:CDCVesselSanitationScore"

From blackwiki
Jump to navigation Jump to search
imported>Elwood00
(CDC URL does not include "vsp" in path)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly>[[Centers for Disease Control and Prevention|CDC]] sanitation score: {{{score}}}% ({{{date}}}){{#tag:ref|{{cite web | url = http://wwwn.cdc.gov/InspectionQueryTool/Forms/InspectionScoresAll.aspx?Vessel={{{id}}} | title = Cruise Ships Inspection Score for {{PAGENAME}} | date = {{{date}}} | work = Vessel Sanitation Program | publisher = Centers for Disease Control and Prevention}}}}</includeonly><noinclude>
 
<includeonly>[[Centers for Disease Control and Prevention|CDC]] sanitation score: {{{score}}}% ({{{date}}}){{#tag:ref|{{cite web | url = http://wwwn.cdc.gov/InspectionQueryTool/Forms/InspectionScoresAll.aspx?Vessel={{{id}}} | title = Cruise Ships Inspection Score for {{PAGENAME}} | date = {{{date}}} | work = Vessel Sanitation Program | publisher = Centers for Disease Control and Prevention}}}}</includeonly><noinclude>
 +
 +
{{documentation|content=
  
 
Example Usage: <nowiki>{{CDCVesselSanitationScore|score=97|id=6907|date=2008-06-23}}</nowiki> produces {{CDCVesselSanitationScore|score=97|id=6907|date=2008-06-23}}
 
Example Usage: <nowiki>{{CDCVesselSanitationScore|score=97|id=6907|date=2008-06-23}}</nowiki> produces {{CDCVesselSanitationScore|score=97|id=6907|date=2008-06-23}}
Line 5: Line 7:
 
All fields are required and the id can be found by looking up the ship [http://wwwn.cdc.gov/InspectionQueryTool/Forms/InspectionSearch.aspx here] and noting the id parameter in the resulting URL
 
All fields are required and the id can be found by looking up the ship [http://wwwn.cdc.gov/InspectionQueryTool/Forms/InspectionSearch.aspx here] and noting the id parameter in the resulting URL
  
Includes references using cite web template.  references will look something like this:
+
{{template reference list}}
{{reflist}}
 
  
 +
}}
  
[[Category:WikiProject Ships templates]]
+
[[Category:Ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:57, 31 August 2012


Template documentation

Example Usage: {{CDCVesselSanitationScore|score=97|id=6907|date=2008-06-23}} produces CDC sanitation score: 97% (2008-06-23)[1]

All fields are required and the id can be found by looking up the ship here and noting the id parameter in the resulting URL

References

  1. "Cruise Ships Inspection Score for CDCVesselSanitationScore". Vessel Sanitation Program. Centers for Disease Control and Prevention. 2008-06-23.