This is the template sandbox page for Template:River item box (diff). See also the companion subpage for test cases. |
- 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
editThe template is designed as a one line replacement for various templates. It makes the following redundant:
- Template:River item line
- Template:River island start
- Template:River bridge start
Template:River bridge lineTemplate:River item line X- Template:River lock start
Template:River lock line PLTemplate:River lock start PL- Template:River lock line
Template:River succession- Template:River confluence start
Extended table
editIt 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
editWhere there is a river junction upstream the options |upstream2 = and |upsub2 = can be used. See examples.
Examples in real articles
editPlacement
editThe template should be placed at the end of the article.