Template:River item box/doc
此頁面是Template:River item box的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
- For discussion and queries, see Template talk: River item box.
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.
用法
本模版用於河流的特徵,包含橋樑、島嶼、水閘等,具體例子可參見examples。
- 基本用法
{{River item box |River = # |upstream = # |downstream = # }}
- 顯示有“#”的項目是必須要有的。
- 高級用法
{{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 }}
- 顯示有“#” 的項目是必須要有的
- |River 需要首字大寫以便與其它模版兼容
- |type 和 |thisis have the defaults shown
- |location 僅用於英格蘭
Using the correct template
The template is designed as a one line replacement for Template:River bridge start and Template:River item line. It should also make the following redundant: Template:River island start, Template:River bridge start, Template:River bridge line, Template:River item line X.
Extended table
It is possible to generate a block of these templates using the option |table =. The first call uses |table = start; the middle ones |table = middle; and the final one |table = end. Beware: the alignment in the third column can be disrupted unless the templates are linked together with a comment e.g. <!-- --> - See examples.
River junction
Where there is a river junction upstream the options |upstream2 = and |upsub2 = can be used. See examples.
真實條目中的例子
放置位置
本模版可放置於條目的末尾。