Template:Main Page Box Test

From Wikipedia, the free encyclopedia

{{{Box Title}}}

{{{content}}}


This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in either the template sandbox or your user space before applying anything here.

This template ({{Main_Page_Box_Test}} it is a layout of pagination for the different sections of Main Page. It makes use of a set of conditions that, when you set the parameters it does the coding for you. Although the use of the template is rather simple, the "behind the scenes" is complicated: do not modify the code if not if you are not experienced in CSS, any change will affect the Main Page.

[edit] Guide to template use

In order to use the template copy the text contained in following example (that she contains the complete sintassi of the template ones) and to save it (vd. the example of use indicated below).

{{Main Page Box Test
|Box Title=
|logo= |px= |Image Text=
|Title_color= |content_color= |footer_color=
|font_size=
|content=
|footer=
}}


[[Image:[logo]|[px]px|[didascalia]]] [titolo]

[contenuto]

[[Image:[footer].gif]] 

[edit] Example of use

{{finestraHome
|titolo=Oltre Wikipedia
|logo=Icona_progetti.jpg|px=25|didascalia=Icona
|col_testata=ADA|col_corpo=DFD|col_footer=CEC
|font_size=90
|contenuto={{PaginaPrincipale/Progetti}}
|footer=NeveFooter
}}
| {{finestraHome |titolo=[[Speciale:Newpages|You knew that... ] ] |logo=Icona_losapeviche.jpg|px=25 |col_testata=C2D3FC|col_corpo=FFF|col_footer=FFC253 |font_size=90 |contenuto=Template:PaginaPrincipale/Sapevi/Monday |footer=NeveFooter}} |}