Jump to content

Template:River item box/doc

From Wikipedia, the free encyclopedia
For discussion and queries, see Template talk: River item box.

This template is for use with features in rivers, which includes bridges, islands, locks etc. See examples for this template.

Usage

[edit]
Basic usage is
{{River item box
|River = #
|upstream = #
|downstream = #
}}
  • Items shown with a “#” are required
Advanced usage is
{{River item box
|River = #
|upstream = #
|downstream = #

|type = any text (defaults to crossing)
|thisis = any test (defaults to {{PAGENAME}})
|upsub = 
|downsub = 
|location = 

|table = see extended table below
|upstream2 = see River junction below
|upsub2 = see River junction below
}}
  • Items shown with a “#” are required
  • |River needs to be capitalised to be compatible with other templates
  • |type and |thisis have the defaults shown
  • |location only applies to Great Britain

Obsolete templates

[edit]

The template is designed as a one line replacement for various templates. It makes the following redundant:

Extended table

[edit]

It is possible to generate a block of these templates using the option |table=. The first call uses |table=start; any middle ones use |table=middle; and the final one uses |table=end. See examples.

River junction

[edit]

Where there is a river junction upstream the options |upstream2 = and |upsub2 = can be used. See examples.

Examples in real articles

[edit]

Placement

[edit]

The template should be placed at the end of the article.