[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം
For discussion and queries, see Template talk: infobox UK feature.

This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.

There is a sandbox for this template, and testcases.

Usage തിരുത്തുക

This template is for use with features in UK rather than places in UK. Places are associated with people, and need to show various "administrative" functions e.g. police and fire service. This template is for those features that do not involve people e.g. man-made structures such as bridges, or natural features such as mountains. The template has been designed to look very similar to Template:Infobox UK place and like that template includes an option to include up to two images in addition to the location map.

Basic usage is
{{Infobox UK feature
|official_name = # [defaults to {{PAGENAME}}]
|shire_county/state = #
|country = England #
|label_position = auto|top|bottom|left|right (label position relative to the mark on the map)
|nation = UK #
|map_name =
|static_image_name = 
|static_image_caption = 
|static_image_alt = 
|static_image_2_name = 
|static_image_2_caption = 
|static_image_2_alt = 
|os_grid_reference = 
|irish_grid_reference =
|latitude = *
|longitude = *
}}
  • Items shown with a "#" are required
  • |country and |nation have the defaults shown
  • |map_name may be used to select a map which has a different name to |country, see Template:Location map for more details. The map can be suppressed with 'nomap'.
  • |static_image_alt is for an alternate text – see WP:ALT
  • |static_image_name and |static_image_2_name have a default width of 240px. For smaller widths use the following options;
|static_image_width = [width as number (180) or size (180px)]
|static_image_2_width = [width as number (180) or size (180px)]

Official name തിരുത്തുക

The heading (official_name) uses the same coding as Template:Infobox UK place including the style 'nowrap'. For long names this will force the infobox to expand sideways. To avoid this include <br /> (bottom rule; equivalent to break or newline) in official_name.

Captions and text size തിരുത്തുക

The four image options [image, caption, image_2, image_2_caption] can be used in any combination. Normal usage would be image + caption; caption+image_2+image_2_caption gives caption top and bottom to one image.

The captions are by default made to print in smaller text using the HTML container <small>caption</small>. Any valid html tags can be used, but for normal text or large text the default has to be reversed:
</small><big><b>caption</b></big><small>
See example.

Embedded tables തിരുത്തുക

It is, in theory, possible to embed any table or infobox in this infobox after the second caption - see the example. Although this should work for all tables most of the tables tested default to a greater width (typically 300px) making the application unsatisfactory – see poor example.

Warning

If an embedded table is used then |latitude = and |longitude = must appear in both parts i.e. top and bottom. The top generates a call to Template:Coord, and the bottom part creates the map.

Non-UK usage തിരുത്തുക

The template should work for any country. See example for Australia.

Examples തിരുത്തുക

Undocumented options തിരുത്തുക

UK articles should use the defaults so that the articles match with Template:Infobox UK place and other infoboxes. Other articles may wish to make use of the following options (defaults shown). See example.

 |label = |official_name [which defaults to {{PAGENAME}}]
 |marksize = 9
 |mark = Red_pog.svg

Using the correct template തിരുത്തുക

This template is a very basic template, which should be suitable for many articles. There are many other templates available which in some cases will be more suitable, although most of them are also far more complex. See:

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Infobox_UK_feature&oldid=1093472" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്