Template:Scrolling window

From Encyclopedia of Buddhism
Jump to: navigation, search

{{}}

Template documentation[view] [edit] [history] [purge]

Description

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

{{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

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

Will yield:

Lorem ipsum dolor sit amet, consectetur adipiscing 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 adipiscing 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

See also

Related templates