Template:Main Page/Frame/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 5: | Line 5: | ||
<pre style="white-space:pre-wrap;"> | <pre style="white-space:pre-wrap;"> | ||
{{Main Page/Frame | {{Main Page/Frame | ||
| color = 069 | | color = #069 | ||
| title = The title of this frame | | title = The title of this frame | ||
| content = | | content = | ||
| Line 15: | Line 15: | ||
=== Syntax === | === Syntax === | ||
; color : This changes the title box background color. Default: | ; color : This changes the title box background color. Default: #8f2011 (Radboud Berry). | ||
; title : The title of this frame in your language. | ; title : The title of this frame in your language. | ||
; content : The title of this frame in your language. Additional tags <tt><nowiki><div></div></nowiki></tt> are set by the template and not needed in the inclusion. | ; content : The title of this frame in your language. Additional tags <tt><nowiki><div></div></nowiki></tt> are set by the template and not needed in the inclusion. | ||
Latest revision as of 16:19, 24 November 2026
| This is a documentation subpage for Template:Main Page/Frame. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on the home page to organize subcategories in a more widescreen-friendly manner. Based on the elegant work of TMg for Wikidata.
Usage
{{Main Page/Frame
| color = #069
| title = The title of this frame
| content =
* Bullet 1
* Bullet 2
* Bullet 3
}}
Syntax
- color
- This changes the title box background color. Default: #8f2011 (Radboud Berry).
- title
- The title of this frame in your language.
- content
- The title of this frame in your language. Additional tags <div></div> are set by the template and not needed in the inclusion.
Styling
Most of the frame is styled inline, but for a responsive design, the styling for the outer div is done in Mediawiki:Common.css so we can handle media queries a bit better.