Template:Infobox plang: Difference between revisions

From XionKB
Jump to navigationJump to search
(reskin the box)
m (change table width to 300px)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><div style="display:none"></noinclude>
{| align="right" class="roundy" width="{{{width|300px}}}" style="border-bottom-left-radius:0;border-bottom-right-radius:0;border:2px solid rgba(48,48,48,0.75);background-color:rgba(240,240,240,0.75);border-bottom:none"
{| class="wikitable" align="right" width="{{{width|315px}}}" style="border:2px solid rgba(48,48,48,0.75);background-color:rgba(240,240,240,0.75);border-radius:5px 5px 10px 10px;border-bottom:none;padding:4px;border-spacing:2px"
|-
|-
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span>
! colspan="12" width="100%" style="text-align:center;background-color:rgba(184,184,184,0.75);border-radius:2px 2px 0 0" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span>
{{!}}-
{{!}}-
{{!}} colspan="12" width="100%" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span>
{{!}} colspan="12" width="100%" style="text-align:center;padding:0" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span>
{{!}}-
{{!}}-
{{!}} colspan="12" width="100%" style="text-align:center" {{!}} {{{caption}}}
{{!}} colspan="12" width="100%" style="text-align:center" {{!}} {{{caption}}}
Line 44: Line 43:
|}}
|}}
|}
|}
<noinclude></div>
<noinclude>
==Usage==
==Usage==
'''Note:''' When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".
'''Note:''' When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".
Line 55: Line 54:
* <code>caption</code> <sup>(optional)</sup> – a subtitle to caption to image
* <code>caption</code> <sup>(optional)</sup> – a subtitle to caption to image
* <code>paradigm</code> <sup>(optional)</sup> – programming paradigms in use
* <code>paradigm</code> <sup>(optional)</sup> – programming paradigms in use
* <code>designer</code> <sup>(optional)</sup> – name of the designer (person)
* <code>by</code> <sup>(optional)</sup> – name of the creator (person)
* <code>appeared</code> <sup>(optional)</sup> – date first appeared
* <code>appeared</code> <sup>(optional)</sup> – date first appeared
* <code>typing</code> <sup>(optional)</sup> – typing discipline(s)
* <code>typing</code> <sup>(optional)</sup> – typing discipline(s)

Latest revision as of 04:53, 20 June 2024

{{{name}}}

Usage

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".

Parameters

  • name – the name of the language
  • width (optional) – override the box width (defaults to 315px for 2-sided conflicts and 380px for 3-sided conflicts)
  • image (optional) – an image file to display summarising the conflict
  • image_size (optional) – override the image size
  • caption (optional) – a subtitle to caption to image
  • paradigm (optional) – programming paradigms in use
  • by (optional) – name of the creator (person)
  • appeared (optional) – date first appeared
  • typing (optional) – typing discipline(s)
  • exts (optional) – filename extensions
  • influencedby (optional) – languages that influenced its design
  • influenced (optional) – languages whose design was influenced by it
  • notes (optional) – additional notes