Template:Infobox device: Difference between revisions

From Guild of Archivists
(Created page with "{{Infobox |bodyclass=chemists |title = {{{name|{{PAGENAME}}}}} |image = {{ #if: {{{image|}}} | [[File:{{{image}}}|270px]] }} |caption = {{{imagecaption|}}} }}{{ns0|Cat...")
 
m (wrong bodyclass)
Line 1: Line 1:
{{Infobox  
{{Infobox  
  |bodyclass=chemists
  |bodyclass=mechanists


  |title = {{{name|{{PAGENAME}}}}}
  |title = {{{name|{{PAGENAME}}}}}

Revision as of 20:58, 16 January 2018

Infobox device
Template documentation[view] [edit] [history] [purge]

This template is for articles about devices and machines. It will automatically add Category:Devices to the article.

Usage

{{{name}}}
[[File:{{{image}}}|270px]]
{{{imagecaption}}}
{{Infobox device
| name
| image 
| imagecaption 
| dni-name
| dni-dictionary
| location
}}

Parameters

This template is for articles about devices and machines. It will automatically add [[:Category:Devices]] to the article.

Template parameters

ParameterDescriptionTypeStatus
Namename

When this parameter is absent, the infobox will automatically use the article's page title.

Auto value
{{PAGETITLE}}
Stringoptional
Imageimage

Supply a file name with an image of the device or machine. Don't provide the full <nowiki>[[File:…]]</nowiki> tag, just the file name (e.g. "KI.jpg").

Filesuggested
Captionimagecaption

You can optionally include a caption that will appear beneath the image. Use this rather than '''name''' to provide additional information or context for the image you include.

Stringoptional
D'ni Namedni-name

If the device has a D'ni name, provide it here in Dnifont format, ''without'' the accompanying <nowiki><dni></dni></nowiki> tags.

Stringsuggested
Locationlocation

If a device or machine exists in a specific Age or location, provide a link to that location's article using this parameter. If the device is portable (such as the [[KI]]), do not include this parameter.

Stringsuggested
D'ni Dictionary Namedni-dictionary

If the device has a corresponding dictionary entry, provide the name of that entry here. Do not include the <code>Dictionary:</code> namespace, that will be added automatically.

Unknownsuggested