Jump to content

Template:Template:Ca-dicc

Unchecked
From Wikipedia

Purpose

[edit]

Ca-dicc is a lightweight showcase/infobox-like template to place:

  • one main image (with adjustable width),
  • an optional second image,
  • a short citation,
  • optional math,
  • and a compact list of internal links.

Parameters

[edit]
title
Optional heading text.
img
Main image filename (without “File:”).
width
Main image display size, default 240x240px.
img2
Optional secondary image filename.
citeurl
Optional external link for {{Cite web}}.
citetitle
Title for the citation (defaults to “reference”).
math
Inline LaTeX to render within Failed to parse (syntax error): {\displaystyle …} .
links
Semicolon-separated page titles to link inline (e.g., Foo;Bar;Baz).

Usage

[edit]
{{Ca-dicc
 | title = Zoom Text demo
 | img = US Navy 090617-N-1783P-001 Bob Gore uses the program called Zoom Text to enlarge the text on his computer monitor.jpg
 | width = 240x240px
 | img2 = Foo.jpg
 | citeurl = http://yahoo.com
 | citetitle = yahoo
 | math = \sqrt\pi
 | links = the text;3rd February FF;the anotherlink;the anotherlink saved
}}

Example output

[edit]
File:US Navy 090617-N-1783P-001 Bob Gore uses the program called Zoom Text to enlarge the text on his computer monitor.jpg

"yahoo".

the text 3rd February FF the anotherlink the anotherlink saved

    See also

    [edit]

    {

     "description": "A compact template to display a main image, optional second image, a citation, optional math, and a short list of internal links.",
     "params": {
       "title": {"label": "Title","type": "string","required": false},
       "img": {"label": "Main image filename","type": "string","required": false},
       "width": {"label": "Main image width","type": "string","required": false,"default": "240x240px"},
       "img2": {"label": "Second image filename","type": "string","required": false},
       "citeurl": {"label": "Citation URL","type": "string","required": false},
       "citetitle": {"label": "Citation title","type": "string","required": false,"default": "reference"},
       "math": {"label": "Math (LaTeX)","type": "string","required": false},
       "links": {"label": "Semicolon-separated links","type": "string","required": false}
     }

    }