Template:Aircraft by facing/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Category description template for categories of aircraft categorized by the facing direction of the depicted aircraft

Usage

{{aircraft by facing |item= |face= |image= |imager= |sort= |pcat= |acls= |mfr= |mfrcat= |mfracls= }}

Template parameters

ParameterDescriptionDefaultStatus
item
1
QIDWikidata QID (Q#) for the aircraft or manufactureremptyrequired
face
2
facingwhich facing is described in the category or use meta to indicate it is a meta-category of facing sub-cats:
  • a or away
  • f or forward
  • u or up
  • d or down
  • l or left
  • r or right
  • m or meta (use to indicate it is the 'by facing' meta-category)
metaoptional
image
4
display imagewhat type of image to display in the box:
  • ac - use the image in property P18 (image) of the aircraft model
  • logo - use the image in property P154 (logo image) of the aircraft manufacturer
  • noneoptional
    imager
    5
    right display imageas for image but for right side of boxemptyoptional
    sort
    3
    sort keysort key to use when categorizing model namesemptyoptional
    pcat
    6
    parent catuse only for models with parent familiesemptyoptional
    acls
    7
    aircraft classuse to declare the type of aircraft being discussed:
  • ac: Aircraft
  • al: Airliners
  • hc: Helicopters
  • ga: General aviation aircraft
  • gl: Gliders
  • ma: Military aircraft
  • emptyoptional
    mfrmanufacturer QIDuse to identify the manufacturer QID if different from the item's P176emptyoptional
    mfrcatmanufacturer category nameuse when standard WD data does not match Commons category name for mfr's aircraftemptyoptional
    mfraclsmanufacturer class categoryuse when acls is not used for the manufacturer in questionemptyoptional

    Additional information

    The template is intended to be used in the following namespaces: the Category namespace

    The template is intended to be used by the following user groups: no user group specified

    Localization

    This template uses Template:LangSwitch for localization, implemented by Template:Aircraft by facing/layout.

    Data

    This template uses Template:Data and Template:Label to get data from Wikidata, implemented by Template:Aircraft by facing/data, which passes parameters to Template:Aircraft by facing/layout.