Template:Scrolling window/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Warning
This IP address is used for vandalism on Meta

Welcome to the Wikimedia Meta-Wiki!

Please keep test edits in the sandbox. Otherwise, this could be considered vandalism and may lead to you being blocked from editing.

Description[edit]

This template is designed to display transcluded pages in a compressed, scrolling window on a second page. All data from the transcluded page will be fully displayed on the second page without any side scrolling required.

Syntax[edit]

{{Scrolling window
 |link       = <!-- Sets the link to the page being displayed, required.-->
 |title      = <!-- Sets the name of the box for anchoring purpose, required.-->
 |border     = <!-- Sets the border color on the box, defaults to gray. -->
 |background = <!-- Sets the background color on the box, defaults to transparent. -->
 |width      = <!-- Sets the width of the box, defaults to 100%. -->
 |height     = <!-- Sets the height of the box, defaults to 250px. -->
 |font_size  = <!-- Sets the size of the font displayed in the box, defaults to 90%. -->
}}

Usage[edit]

{{Scrolling window
 |link       = Template:Scrolling window/example
 |title      = Example
}}

Will yield:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Comparison of Fonts.png
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Kfontview.png

v · d · e

See also[edit]

Template:Project template list