Template:Window home/doc

From MOASSpedia
< Template:Window home
Revision as of 17:05, 29 April 2020 by Wikipedia>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The template {{Window home}} is a page layout for the various sections of the Italian Wikipedia main page. It uses conditional syntax, in which some of the parameters specified by the user are not displayed. Although the use of the template is quite simple, the way it is done behind the scenes is quite complicated:

Usage

To use this template just copy the text in the box below (which contains the complete syntax for template) and add it to the page you are working on it (see the example of use shown below) .

{{Window home
|title      =
|logo       =
|px         =
|caption    =
|head_color =
|body_color =
|foot_color =
|font_size  =
|content    =
|footer     =
}}
[[File:[logo]|[px]px|[caption]]] [title]

[content]

[[Image:[footer]]] 

Examples

{{Window home
|title      = Picture of the Day
|logo       = Nuvola camera.svg
|px         = 25
|caption    = Icona
|head_color = #C2D3FC
|body_color = #FFF
|foot_color = #FFC253
|font_size  = 90
|content    = {{POTD}}
|footer     = NeveFooter.gif
}}
{{{caption}}} Picture of the Day
NeveFooter.gif 

See also

"Window" templates

"Folder" templates