Difference between revisions of "Template:Cite rowlett"

From blackwiki
Jump to navigation Jump to search
imported>De728631
(→‎top: update)
imported>Matthiaspaul
(Switched from |template-doc-demo to |no-tracking parameter alias as the former will be disabled soon.)
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>{{cite web
 
<includeonly>{{cite web
| url = http://www.unc.edu/~rowlett/lighthouse/{{{1}}}.htm{{#switch: {{{1}}}|pr|jam|ven|doomsday|watch=l}}<!-- These are exceptions that use .html rather than .htm -->
+
| url = {{#switch: {{{1}}}
 +
            |pr|jam|ven|doomsday|watch=http://www.ibiblio.org/lighthouse/{{{1}}}.html
 +
            |#default=http://www.ibiblio.org/lighthouse/{{{1}}}.htm}}
 
| work = {{#ifeq:{{{1}}}|index||The Lighthouse Directory}}
 
| work = {{#ifeq:{{{1}}}|index||The Lighthouse Directory}}
 
| last = Rowlett
 
| last = Rowlett
 
| first = Russ
 
| first = Russ
 
| publisher = {{#ifeq:{{{link|}}} | no |University of North Carolina at Chapel Hill | [[University of North Carolina at Chapel Hill]]}}
 
| publisher = {{#ifeq:{{{link|}}} | no |University of North Carolina at Chapel Hill | [[University of North Carolina at Chapel Hill]]}}
| accessdate = {{{accessdate|}}}
+
| access-date = {{{accessdate|}}}
 
| date = {{{date|}}}
 
| date = {{{date|}}}
| ref = {{{ref|harv}}}
+
| ref = {{{ref|}}}
| template doc demo = {{{template doc demo|}}}
+
| no-tracking = {{{no-tracking|{{{template doc demo|}}}}}}
 
| title = {{#switch: {{{1}}} <!-- Starting with general pages -->
 
| title = {{#switch: {{{1}}} <!-- Starting with general pages -->
 
  | tallest = The Tallest Lighthouses
 
  | tallest = The Tallest Lighthouses
Line 139: Line 141:
 
   | mxs = Mexico: South Coast
 
   | mxs = Mexico: South Coast
 
   | mxy = Mexico: Southern Gulf Coast
 
   | mxy = Mexico: Southern Gulf Coast
   | mxtm = Mexico: Tamaulipas  
+
   | mxtm = Mexico: Tamaulipas
 
   | nic = Nicaragua
 
   | nic = Nicaragua
 
   | pan = Northern Panamá
 
   | pan = Northern Panamá
Line 147: Line 149:
 
   | arg2 = Southern Argentina
 
   | arg2 = Southern Argentina
 
   | argtf = Argentina: Tierra del Fuego
 
   | argtf = Argentina: Tierra del Fuego
   | shn = Saint Helena, Ascension and Tristan da Cunha  
+
   | shn = Saint Helena, Ascension and Tristan da Cunha
 
   | bol = Bolivia
 
   | bol = Bolivia
 
   | brno = Northern Brazil
 
   | brno = Northern Brazil
Line 197: Line 199:
 
   | csi = Australia: Coral Sea Islands Territory
 
   | csi = Australia: Coral Sea Islands Territory
 
   | nsw = Australia: New South Wales
 
   | nsw = Australia: New South Wales
   | nfk = Australia: Norfolk Island  
+
   | nfk = Australia: Norfolk Island
 
   | nt = Australia: Northern Territory
 
   | nt = Australia: Northern Territory
   | qld = Australia: Queensland's East Coast
+
   | qld = Australia: Southern Queensland
   | qldn = Australia: Queensland's Far North
+
   | qldn = Australia: Far North Queensland
 +
  | qldc = Australia: Northern and Central Queenslan
 
   | sa = Australia: South Australia
 
   | sa = Australia: South Australia
 
   | tas = Australia: Tasmania
 
   | tas = Australia: Tasmania
Line 286: Line 289:
 
   | bsc = France: Loire-Atlantique
 
   | bsc = France: Loire-Atlantique
 
   | fras = France: Languedoc-Roussillon
 
   | fras = France: Languedoc-Roussillon
   | frbr = France: Bouches-du-Rhône (Marseille Area)  
+
   | frbr = France: Bouches-du-Rhône (Marseille Area)
 
   | mco = Monaco
 
   | mco = Monaco
 
   | fran2 = France: Haute-Normandie (Eastern Normandy)
 
   | fran2 = France: Haute-Normandie (Eastern Normandy)
Line 346: Line 349:
 
   | tur4 = European Turkey
 
   | tur4 = European Turkey
 
   | ukr1 = Ukraine: Mykolaiv Area
 
   | ukr1 = Ukraine: Mykolaiv Area
 +
  | ukr2 = Russia: Crimea (Krym)
 
   | ukr = Ukraine: Odessa Area
 
   | ukr = Ukraine: Odessa Area
 
   | ukr3 = Ukraine: Sea of Azov
 
   | ukr3 = Ukraine: Sea of Azov
Line 353: Line 357:
 
   | est1 = Northwestern Estonia
 
   | est1 = Northwestern Estonia
 
   | est = Southwestern Estonia
 
   | est = Southwestern Estonia
   | fin1 = Southern Finland
+
   | fin1 = Southern Finland: Hamina to Porvoo
 +
  | fin1a = Southern Finland: Uusimaa (Helsinki Region)
 
   | ala = the Åland Islands
 
   | ala = the Åland Islands
 
   | fin2 = Western Finland
 
   | fin2 = Western Finland
Line 365: Line 370:
 
   | deu2b = Germany: North Frisia
 
   | deu2b = Germany: North Frisia
 
   | deu3 = Germany: Flensburg to Lübeck
 
   | deu3 = Germany: Flensburg to Lübeck
   | deu4 = Northeast Coast (Mecklenburg-Vorpommern)
+
   | deu4 = Germany: Northeast Coast (Mecklenburg-Vorpommern)
 
   | deu5 = Germany: the Bodensee
 
   | deu5 = Germany: the Bodensee
 
   | lva = Latvia
 
   | lva = Latvia
Line 382: Line 387:
 
   | rusn = Russia: Southern White Sea
 
   | rusn = Russia: Southern White Sea
 
   | ruspch = Russia: Pechenga Area
 
   | ruspch = Russia: Pechenga Area
   | rusn1 = Russia: Arkhangel'sk  
+
   | rusn1 = Russia: Arkhangel'sk
 
   | rusn2 = Russia: Eastern White Sea
 
   | rusn2 = Russia: Eastern White Sea
 
   | rusnn = Russia: Nenetsia
 
   | rusnn = Russia: Nenetsia
Line 388: Line 393:
 
   | rusz = Russia: Novaya Zemlya
 
   | rusz = Russia: Novaya Zemlya
 
   | dnkb = Denmark: Bornholm
 
   | dnkb = Denmark: Bornholm
 +
  | dnkh = Denmark: Copenhagen
 +
  | dnk1a = Denmark: Northeast Jylland
 
   | dnk3 = Denmark: Fyn and Langeland
 
   | dnk3 = Denmark: Fyn and Langeland
   | dnk2 = Denmark: Jylland's East Coast
+
   | dnk2 = Denmark: Southeast Jylland
 
   | dnke = Denmark: Sjælland Region
 
   | dnke = Denmark: Sjælland Region
 
   | dnk1 = Denmark: West Coast
 
   | dnk1 = Denmark: West Coast
Line 464: Line 471:
 
   | mye = Sarawak and Sabah (East Malaysia)
 
   | mye = Sarawak and Sabah (East Malaysia)
 
   | myw = Malaya (West Malaysia)
 
   | myw = Malaya (West Malaysia)
 +
  | myw2 = Malaya West Coast
 
   | mmr = Myanmar (Burma)
 
   | mmr = Myanmar (Burma)
 
   | sgp = Singapore
 
   | sgp = Singapore
Line 494: Line 502:
 
   | chn3 = China: Northern Shandong
 
   | chn3 = China: Northern Shandong
 
   | chn3a = China: Southern Shandong
 
   | chn3a = China: Southern Shandong
   | twn1 = China: Taiwan
+
   | twn1 = Taiwan: Northeastern
 +
  | twn2 = Taiwan: Southeastern
 +
  | twnp = Taiwan: Penghu Islands
 
   | chnp = China: Xisha (Paracel Islands)
 
   | chnp = China: Xisha (Paracel Islands)
 
   | chn5a = China: Shengsi and Qiqu Islands, Zhejiang
 
   | chn5a = China: Shengsi and Qiqu Islands, Zhejiang
Line 507: Line 517:
 
   | kur = Russia: Kuril Islands
 
   | kur = Russia: Kuril Islands
 
   | rusb = Russia: Lake Baikal
 
   | rusb = Russia: Lake Baikal
   | rusp = Russia: Maritime Province
+
   | rusp = Russia: Vladivostok Area
 
   | rusne = Russia: Northern Pacific Coast
 
   | rusne = Russia: Northern Pacific Coast
 
   | sak = Sakhalin
 
   | sak = Sakhalin
Line 553: Line 563:
 
   | jpsh1 = Japan: Southeastern Shikoku
 
   | jpsh1 = Japan: Southeastern Shikoku
 
   | jpts = Japan: Tsushima
 
   | jpts = Japan: Tsushima
   | {{citation error|invalid page designation|cite rowlett|nocat={{{template doc demo|}}}}}
+
   | {{citation error|invalid page designation|cite rowlett|nocat={{{no-tracking|{{{template doc demo|}}}}}}}}
 
   }}
 
   }}
 
  }}
 
  }}

Latest revision as of 21:25, 23 September 2020


Template:Outdated

Usage

This template creates a {{cite web}} citation to Russ Rowlett's The Lighthouse Directory.

Parameters

There is one mandatory unnamed parameter, which is the case-sensitive page designation. The designation appears at the end of the page url.

For example: http://www.ibiblio.org/lighthouse/jpst.htm - the designation is jpst.

In addition, date and access date can be specified using the date and accessdate fields.

Error checking is done, thus using {{cite rowlett|foo}} will result in an error:

Rowlett, Russ. "Lighthouses of Error: invalid page designation when using {{[[Template:cite rowlett|cite rowlett]]}}[[:Template:Namespace detect showall]]". The Lighthouse Directory. University of North Carolina at Chapel Hill. URL–wikilink conflict (help)

With the addition of |link=no, the publisher (University of North Carolina at Chapel Hill) can be rendered without a link. This is useful when multiple citations to the directory are used to avoid overlinking in the references section.

Examples:

{{cite rowlett|isr}}

Rowlett, Russ. "Lighthouses of Israel". The Lighthouse Directory. University of North Carolina at Chapel Hill.

{{cite rowlett|isr|date=July 26, 2009|accessdate=August 3, 2010}}

Rowlett, Russ (July 26, 2009). "Lighthouses of Israel". The Lighthouse Directory. University of North Carolina at Chapel Hill. Retrieved August 3, 2010.

Harvard style referencing

This template provides a simple Harvard style reference, using {{sfn|Rowlett}} or {{harvnb|Rowlett}}, as appropriate. However, year referencing is not supported at this time.

One can also specify the ref parameter to use other tags.