Template:Main Page/Frame: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
fulfilling request by User:Tacsipacsi |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="mp-frame"> |
|||
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px;"> |
|||
<templatestyles src="Main Page/Frame/styles.css" /> |
|||
<div style="background: #{{{color|888}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><span style="opacity: .7;">[[File:Wikidata-logo white.svg|27px|link=|alt=]]</span> '''{{{title}}}'''</div> |
|||
<div class="mp-frame-header" {{#if:{{{color|}}}|style="background: #{{{color}}};"}}>{{{title}}}</div> |
|||
<div |
<div class="mp-frame-body">{{{content}}}</div></div><noinclude>{{documentation}}{{protected}}</noinclude> |
Latest revision as of 02:40, 23 August 2019
{{{title}}}
{{{content}}}
This template is used on the home page to internationalize and standardize home pages in all languages. The design was originally made by TMg.
Usage
{{Main Page/Frame
| color = 069
| title = The title of this frame in your language
| content =
* Bullet 1
* Bullet 2
* Bullet 3
}}
Parameters
This template is used on the home page to internationalize and standardize home pages in all languages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | The title box’s background color (HTML color triplet, without the leading hash mark)
| Line | optional |
title | title | The title of this frame in your language | Content | required |
content | content | The content of this frame in your language. Additional <div></div> tags are set by the template and not needed in the parameter value | Content | required |
See also
The above documentation is transcluded from Template:Main Page/Frame/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |
This template has been protected from editing to prevent vandalism. Please discuss changes on the talk page or request unprotection. |