Template:Infobox plang: Difference between revisions

From XionKB
Jump to navigationJump to search
m (don't render image and caption if image field is empty)
(reskin the box)
Line 1: Line 1:
<noinclude><div style="display:none"></noinclude>
<noinclude><div style="display:none"></noinclude>
{| class="wikitable" align="right" width="{{{width|315px}}}"
{| 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%" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span>
Line 9: Line 9:
|}}|}}{{#if:{{{paradigm|}}}|<span></span>
|}}|}}{{#if:{{{paradigm|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Paradigm
! colspan="3" width="33.334%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 0 0 4px;padding:4px;text-align:left" {{!}} Paradigm
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{paradigm}}}
{{!}} colspan="9" width="66.666%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 4px 4px 0;padding:4px" {{!}} {{{paradigm}}}
|}}{{#if:{{{by|}}}|<span></span>
|}}{{#if:{{{by|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Designed by
! colspan="3" width="33.334%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 0 0 4px;padding:4px;text-align:left" {{!}} Designed by
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{by}}}
{{!}} colspan="9" width="66.666%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 4px 4px 0;padding:4px" {{!}} {{{by}}}
|}}{{#if:{{{appeared|}}}|<span></span>
|}}{{#if:{{{appeared|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} First appeared
! colspan="3" width="33.334%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 0 0 4px;padding:4px;text-align:left" {{!}} First appeared
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{appeared}}}
{{!}} colspan="9" width="66.666%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 4px 4px 0;padding:4px" {{!}} {{{appeared}}}
|}}{{#if:{{{typing|}}}|<span></span>
|}}{{#if:{{{typing|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Typing discipline
! colspan="3" width="33.334%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 0 0 4px;padding:4px;text-align:left" {{!}} Typing discipline
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{typing}}}
{{!}} colspan="9" width="75%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 4px 4px 0;padding:4px" {{!}} {{{typing}}}
|}}{{#if:{{{exts|}}}|<span></span>
|}}{{#if:{{{exts|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Filename extensions
! colspan="3" width="33.334%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 0 0 4px;padding:4px;text-align:left" {{!}} Filename extensions
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{exts}}}
{{!}} colspan="9" width="66.666%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 4px 4px 0;padding:4px" {{!}} {{{exts}}}
|}}{{#if:{{{influencedby|}}}|<span></span>
|}}{{#if:{{{influencedby|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="12" width="10%" valign="top" style="text-align:center" {{!}} Influenced by
! colspan="12" width="100%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 4px 0 0;padding:4px" {{!}} Influenced by
{{!}}-
{{!}}-
{{!}} colspan="12" width="100%" valign="top" style="text-align:center" {{!}} {{{influencedby}}}
{{!}} colspan="12" width="100%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 0 4px 4px;padding:4px;text-align:center" {{!}} {{{influencedby}}}
|}}{{#if:{{{influenced|}}}|<span></span>
|}}{{#if:{{{influenced|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="12" width="10%" valign="top" style="text-align:center" {{!}} Influenced
! colspan="12" width="100%" valign="top" style="background-color:rgba(184,184,184,0.75);border-radius:4px 4px 0 0;padding:4px" {{!}} Influenced
{{!}}-
{{!}}-
{{!}} colspan="12" width="10%" valign="top" style="text-align:center" {{!}} {{{influenced}}}
{{!}} colspan="12" width="100%" valign="top" style="background-color:rgba(224,224,224,0.75);border-radius:0 0 4px 4px;padding:4px;text-align:center" {{!}} {{{influenced}}}
|}}{{#if:{{{notes|}}}|<span></span>
|}}{{#if:{{{notes|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="12" width="100%" {{!}} Notes
! colspan="12" width="100%" style="background-color:rgba(184,184,184,0.75);border-radius:4px 4px 0 0;padding:4px" {{!}} Notes
{{!}}-
{{!}}-
{{!}} colspan="12" width="100%" {{!}} {{{notes}}}
{{!}} colspan="12" width="100%" style="background-color:rgba(224,224,224,0.75);border-radius:0 0 4px 4px;padding:4px;text-align:center" {{!}} {{{notes}}}
|}}
|}}
|}
|}

Revision as of 08:04, 2 February 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
  • designer (optional) – name of the designer (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