Template:Collapsible

From TFC:TNG
Revision as of 04:11, 28 January 2020 by Claycorp (talk | contribs) (New page layout with Examples.)
Jump to navigation Jump to search


Template Data

Template for adding 'spoiler' like content windows.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Collapsedcollapsed

If this should be collapsed by default on load.

Stringsuggested
Titletitle

Bold, always shown on top of the template text.

Lineoptional
Always Shown Contentalwaysshowncontent

Content that is always shown in the box. This information can't be hidden.

Contentoptional
Hidden Contenthiddencontent

Content that can be hidden within the box.

Contentrequired

Examples

{{InlineItemImage|Oak Log|Log}}

words words words Oak Log.png

is good!

{{InlineItemImage|Oak Log|Log|background=sure}}

Look mawh, Oak Log.png I have a background!

{{InlineItemImage|Nope Log|Log|background=}}

and now I don't No block image.png

sad face.