• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:NHC TCR url

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

The purpose of this template is to have a single ___location for the National Hurricane Center Tropical Cyclone Report base url as a method of combating link rot.

Usage

The template takes two parameters:

|id= – (required) the 'file name' without the .pdf extension
|title= – (optional) the title of the linked document

Parameter names are not required. When not used, the positional order is:

{{NHC TCR url|identifier|title}}

When |title= is empty or omitted, the template produces a url suitable for use in Citation Style 1 and Citation Style 2 templates.

{{cite report |first=James L. |last=Franklin |title=Tropical Cyclone Report Hurricane Alex 31 July – 6 August 2004 |url={{NHC TCR url|id=AL012004_Alex}} |publisher=[[National Hurricane Center]] |date=26 October 2004 |access-date=2016-03-05}}
Franklin, James L. (26 October 2004). Tropical Cyclone Report Hurricane Alex 31 July – 6 August 2004 (PDF) (Report). National Hurricane Center. Retrieved 2016-03-05.

With a title, the template produces a properly marked up external wikilink:

{{NHC TCR url|id=AL012004_Alex|title=Tropical Cyclone Report Hurricane Alex 31 July – 6 August 2004}}
[http://www.nhc.noaa.gov/data/tcr/AL012004_Alex.pdf Tropical Cyclone Report Hurricane Alex 31 July – 6 August 2004]
Tropical Cyclone Report Hurricane Alex 31 July – 6 August 2004
The above documentation is transcluded from Template:NHC TCR url/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:NHC_TCR_url&oldid=838673242"
Last edited on 28 April 2018, at 15:13

Languages

    • 한국어
    • Lietuvių
    • മലയാളം
    • 日本語
    • Português
    • Русский
    • Simple English
    • Српски / srpski
    • ไทย
    • Türkçe
    • Українська
    • Tiếng Việt
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 28 April 2018, at 15:13 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop