Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  shipwreck list begin  





1.2  shipwreck list item  





1.3  shipwreck list end  







2 Examples  





3 technical details  





4 Notes  














Template:Shipwreck list item






Azərbaycanca
فارسی

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{shipwreck list begin}} – creates table headings; one per table
{{shipwreck list item}} – table data; one template for each row
{{shipwreck list end}} – closes the table markup

Usage

shipwreck list begin

{{shipwreck list begin}} is required for each table. The template takes two parameters, one of which is required:

|date= – required; this parameter is used to create a table caption for those who use screen readers. The caption is not displayed but is present.
|sort= - optional; set this parameter to y to create a sortable table.

shipwreck list item

One or more {{shipwreck list item}} template is required for each table. The template takes three parameters, none of which are required:

|ship= – the wrecked ship's name; ship name styling per WP:NCSHIPS is the responsibility of the editor.
|country=or|flag= – country, independent city, or navy to which the wrecked ship belonged; often uses a {{flag}} template.
|desc= – a brief description of the wreck and/or its causes and consequences.

The parameter names for this template are not required except when the value includes '='. The positional order is:

{{shipwreck list item|ship|country|desc}}

shipwreck list end

{{shipwreck list end}} is required for each table. The template takes no parameters. Because these tables are wrapped in <div>...</div> tags, use this template instead of simply closing the table with |} wiki markup so that the </div> tag in properly included.

Examples

Typical use:[a]

{{shipwreck list begin |date=4 August 2014 |sort=}}
{{shipwreck list item
|ship= ''Diver Master'' 
|flag={{flag|Denmark}}
|desc=The [[tugboat|tug]] was sunk by {{ship||Kruzenshtern|ship|2}} ({{navy|Russia}}) at [[Esbjerg]] when a line between the two vessels failed to release. Her three crew were rescued.
}}
{{shipwreck list item
|ship= ''Pinak-6'' 
|flag={{flag|Bangladesh|civil}}
|desc=The ferry, carrying approximately two hundred passengers, capsized on the [[Padma River]]in[[Munshiganj District]], 30&nbsp;km from [[Dhaka]].
}}
{{shipwreck list item
|ship=''Tahoe Queen'' 
|flag={{flag|United States}}
|desc=The [[passenger ship]] ran aground off [[Tahoe Keys, California]]. Two hundred and ninety-six passengers were taken off the vessel in an operation coordinated by the [[United States Coast Guard]].
}}
{{shipwreck list end}}
List of shipwrecks: 4 August 2014
Ship State Description
Diver Master  Denmark The tug was sunk by Kruzenshtern ( Russian Navy) at Esbjerg when a line between the two vessels failed to release. Her three crew were rescued.
Pinak-6  Bangladesh The ferry, carrying approximately two hundred passengers, capsized on the Padma RiverinMunshiganj District, 30 km from Dhaka.
Tahoe Queen  United States The passenger ship ran aground off Tahoe Keys, California. Two hundred and ninety-six passengers were taken off the vessel in an operation coordinated by the United States Coast Guard.

When |date= is omitted or left blank in {{shipwreck list begin}}:

List of shipwrecks: |date= required
Ship State Description
Diver Master  Denmark The tug was sunk by Kruzenshtern ( Russian Navy) at Esbjerg when a line between the two vessels failed to release. Her three crew were rescued.
Pinak-6  Bangladesh The ferry, carrying approximately two hundred passengers, capsized on the Padma RiverinMunshiganj District, 30 km from Dhaka.
Tahoe Queen  United States The passenger ship ran aground off Tahoe Keys, California. Two hundred and ninety-six passengers were taken off the vessel in an operation coordinated by the United States Coast Guard.

To create a sortable list, set |sort=y:

List of shipwrecks: 4 August 2014
Ship State Description
Diver Master  Denmark The tug was sunk by Kruzenshtern ( Russian Navy) at Esbjerg when a line between the two vessels failed to release. Her three crew were rescued.
Pinak-6  Bangladesh The ferry, carrying approximately two hundred passengers, capsized on the Padma RiverinMunshiganj District, 30 km from Dhaka.
Tahoe Queen  United States The passenger ship ran aground off Tahoe Keys, California. Two hundred and ninety-six passengers were taken off the vessel in an operation coordinated by the United States Coast Guard.

technical details

This table created by these templates is wrapped in <div style="overflow-x:auto">...</div> tags so that images may coexist along the right edge of the page without an unwarranted amount white space in the page.

This template includes a table caption (|+ using wikimarkup; <caption>...</caption> using html markup) for accessibility. The caption is hidden from sighted readers by setting the element's opacity to 0. Because the caption is still present but hidden, the excess blank space between the bottom of the preceding text and the top of the TOC table is reduced by setting the table's top margin to -1.5em.

Notes

  1. ^ To help avoid Wikipedia's post expansion include size template limit, use {{flagg}} with the appropriate additional parameters instead of {{flag}}, {{flagcountry}}, etc. on long pages or on templates that will be used on long pages.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Shipwreck_list_item&oldid=819688076"

Category: 
Ship templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 10 January 2018, at 19:22 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki