模板:England Labelled Map
模板介绍
使用方法
所有参数都是可选的(可不填),如果不填参数,连结的名称就是其连结的文章的标题,比如: “东英格兰”。注意:默认的连结里,伦敦就是"伦敦"。如果想要连结到“大伦敦”,就一定要使用{{England Labelled Map|Londonprefix=大}}
。
英文的连结默认是"West Midlands"。在英文版中要将连结改成"West Midlands (region)",就要使用{{England Labelled Map|WMsuffix=(region)}}
。
但在中文版中默认连结就是“西密德兰”,所以请不要使用该参数只是为了连入西密德兰。
参数 | 默认 | 使用方法 |
---|---|---|
width= | 370 | 整个地图的宽度,建议不要改。改小了,字会重合,难以辩认。 |
float= | none |
|
ns= | 每个连结连到的页面的命名空间。默认不填则为条目空间。例如::Category:就会连到分类。必须以冒号开始和结束。 | |
prefix= | Text to precede every region name when forming links. E.g. List of rivers in. If this parameter is specified, the word "the" will automatically be appended for the regions "East of England", "West Midlands" and "East Midlands". | |
suffix= | Text to follow every region name when forming links. | |
Londonprefix= | 。 | Text to precede "London" when forming the link labelled "London". This overrides prefix if specified. Use this to generate a link including "Greater London". |
WMsuffix= | Text to follow "West Midlands" when forming its link. This overrides suffix if specified. Use this to generate a link ending in "West Midlands (region)" or "West Midlands region". | |
UK= | If non-empty, this adds 3 links, one each for Wales, Scotland and Northern Ireland. |
范例
示例连结 | 模板使用方法 |
---|---|
[[East of England]] | {{England Labelled Map|Londonprefix = Greater This example replicates the behaviour of earlier versions of this template, before 22 April 2012.
|
[[List of places in the East of England|East of England]] | {{England Labelled Map|prefix = List of places in
|
[[:Category:East of England|East of England.]] | {{England Labelled Map|ns = :Category:
|
[[:Category:People from the East of England|East of England]] | {{England Labelled Map|ns = :Category:
|
注意事项
参见
给模板编辑者的说明
模板结构
实现方法
编辑注意