Template:Scrolling window/doc
![]() | This is a documentation subpage for Template:Scrolling window. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template should not be used in main article space. Please, if you see a scroll window in article space, remove it and put in a hidden warning. |
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%. -->
|style = <!-- CSS style items; overrides any of the six style items above -->
}}
Usage
[edit]{{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.
![](http://up.wiki.x.io/wikipedia/commons/5/5d/Comparison_of_Fonts_OpenOffice.org_Writer_2.4.1_Ubuntu_en.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.
See also
[edit]- {{Project assessments}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Project wikimedia}}
- {{Scrolling window}}
- {{WikiProject status}}
Related templates
[edit]- {{Scroll box}}