Template:Infobox machine/doc

From makernexuswiki
Jump to navigation Jump to search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Infobox machine
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:Infobox|infobox}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox machine/doc|Infobox||{{#ifeq:docdocd|Infobox|}}}} | other | #default = }}

Usage

Blank template

{{Infobox machine
| name           = 
| image          = 
| caption        = 
| classification = 
| industry       = 
| application    = 
| dimensions     = 
| weight         = 
| fuel_source    = 
| powered        = 
| self-propelled = 
| wheels         = 
| tracks         = 
| legs           = 
| aerofoils      = 
| axles          = 
| components     = 
| invented       = 
| inventor       = 
| examples       = 
}}

Parameters

Do not use all these parameters for any one machine. The list is long to cover a wide range of machine. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.

Parameter Explanation
name Common name of machine (defaults to article name if left blank).
image Image name: abc.jpg, xpz.png, 123.gif, etc.
caption
classification Simple machines, Clock, Compressors and Pumps, Heat engines, External combustion engines, Internal combustion engines, Linkages, Turbine, Aerofoil, Electronics, Vehicles
industry Automotive, Banking, Biotechnology, Chemicals, Construction, Energy, Engineering, Entertainment, Financial Services, Food & Beverages, Health Care, InfoTech, Retailing, Telecommunications, Textiles, Transportation, Travel
application Conveyance
dimensions
weight
fuel_source Wood, Coal, Gasoline, Diesel, Electric, Atomic
powered Yes, No
self-propelled Yes, No
wheels Number of wheels
tracks Number of tracks
legs Number of legs
aerofoils Number of aerofoils
axles Number of axles
components Axle, Bearings, Belts, Bucket, Fastener, Gear, Key, Link chains, Rack and pinion, Roller chains, Rope, Seals, Spring, Wheel
invented Date of invention
inventor Name of inventors
examples An example to illustrate

Example

{{Infobox machine
| name           = Automobile 
| image          = Benz-velo.jpg
| caption        = Karl Benz's "Velo" model (1894) - entered into an early automobile race
| classification = [[Vehicle]]
| industry       = Various
| application    = [[Transport|Conveyance]]
| dimensions     = 
| weight         =
| fuel_source    = [[Gasoline]], [[Diesel fuel|Diesel]], [[Electric]]
| powered        = Yes
| self-propelled = Yes
| wheels         = 3-4
| tracks         =
| legs           =
| aerofoils      =
| axles          = 0-2
| components     =
| invented       = 1672
| inventor       = [[Ferdinand Verbiest]]
| examples       =
}}