ข้ามไปเนื้อหา

แม่แบบ:Window home

จากวิกิพีเดีย สารานุกรมเสรี
example

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.

 
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

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
 

See also

[แก้]

แม่แบบ:Window templates