Template:Window/doc
Appearance
This is a documentation subpage for Template:Window. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Syntax
[edit]{{window|border=|col1=|col2=|col3=|font-size=|title=|content=}}
Parameters
[edit]- The optional border is used to set the thickness of the edges of the window (example: border=2px).
- Color:
- col1 is used to set the color of the title bar.
- col2 is used to set the background color of the window.
- col3 is used to set the color of the title.
- The optional font-size is used to set the font size of the title (example: font-size=120%).
Example
[edit]{{window |border =1px |col1 =#002A52 |col2 =#eeffff |col3 =#FEB41D |font-size =120% |title =Example |content = * Example * Example }}
produces:
Example
|
See also
[edit]"Window" templates
[edit]- {{Window}}
- {{Window home}}
"Folder" templates
[edit]- {{Framework}}
- {{Invert framework}}
- {{Q-box}}