No categories assigned

Transclusion


This template allows to transclude a page and add styling to the transcluded content with background, border and padding option.

The template file (Template:Transclusion can be downloaded as part of the template package.

The following parameters can be set in visual editing mode:

Template parameters

ParameterDescriptionTypeStatus
Page to transclude into this documenttranscludedpage

Add the full page name (including namespace if applicable)

Default
Namespace:Pagename
Example
empty
Auto value
empty
Unknownrequired
Page section to includesection

Includes only the contents of a page section (defined by the heading text)

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Color styletcstyle

Sets the background and border color. These colors can be overwritten individually with the border and background setting.

Default
neutral
Example
neutral, businessgrey, summeryellow, arctiblue, mellowgreen, alertred
Auto value
empty
Stringoptional
Backgroundtcbackground

Overwrites the background value of the color style setting.

Default
empty
Example
empty
Auto value
#efefef
Unknownoptional
Bordertcborder

Overwrites the border value of the selected color style.

Default
empty
Example
empty
Auto value
1px solid #cccccc
Unknownoptional
Paddingtcpadding

Overwrites the default padding of 0px

Default
empty
Example
empty
Auto value
20px
Unknownoptional

Attachments

Discussions