साँचा:Epi/moft/doc

मुक्त ज्ञानकोश विकिपीडिया से
imported>संजीव कुमार द्वारा परिवर्तित ०९:५७, २४ नवम्बर २०१८ का अवतरण (en:Template:Epi/moft/doc से 37 अवतरण आयात किये गए)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

Use

This subtemplate is used by साँचा:tl. It creates one sortable cell of a sortable table displaying a measurement formatted in meters followed with the same measurement formatted in international feet (of exactly 0.3048 meters).

The syntax of this template is:

{{moft|var1|a=|d=|e=|l=|p=|r=|s=}}

where:

  • var1 is a real number representing the measurement in meters (may not contain a thousands separator), # for sea level, or NA if not available.
  • a is an optional alignment parameter:
    • a=left yields left alignment
    • a=center yields center alignment (default)
    • a=right yields right alignment
  • d is an optional integer representing the number of decimal places of feet to display (default=0)
  • e is an optional integer representing the number of decimal places of meters to display (default=0)
  • l is an optional lines parameter:
    • l=1 yields a single-line display
    • l=2 yields a double-line display (default)
  • p is an optional prefix to display before each number, e.g. about , ~, >, < (default is no prefix)
  • r is an optional integer representing the number of rows to span (default=1)
  • s is an optional style parameter:
    • s= yields regular style (default)
    • s='' yields italic style
    • s=''' yields bold style
    • s=''''' yields bold italic style

See also