Template:Figure

From sona pona, the Toki Pona wiki
Revision as of 01:19, 11 January 2024 by Menasewi (talk | contribs) (Created page with "<div class="thumb t{{{float|right}}}"><div class="thumbinner">{{#if:{{{2|}}}|<div>{{{1}}}</div>}}<div class="thumbcaption">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</div></div></div><noinclude> ==Documentation== ===Template data=== <templatedata> { "params": { "1": { "label": "Main content", "type": "content", "required": true }, "2": { "label": "Caption", "type": "content", "suggested": true }, "float": { "label": "Float", "description": "Used...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{1}}}

Documentation

Template data

Allows content to be presented in the same figure layout as an image thumbnail

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Main content1

no description

Contentrequired
Caption2

no description

Contentsuggested
Floatfloat

Used to float the figure to the left

Suggested values
left right
Stringoptional