Difference between revisions of "Template:Main Page Box Test"

From blackwiki
Jump to navigation Jump to search
imported>Anomalocaris
(unfoster content and get rid of the bombast)
imported>Jonesey95
(fix transclusion of non-existent template (incomplete translation) in ancient test page)
 
Line 46: Line 46:
 
<br>|content=<span style="color:red;">{<nowiki/>{PaginaPrincipale/Progetti}}</span>
 
<br>|content=<span style="color:red;">{<nowiki/>{PaginaPrincipale/Progetti}}</span>
 
<br>|footer=<span style="color:red;">NeveFooter</span>
 
<br>|footer=<span style="color:red;">NeveFooter</span>
<br>}} | <nowiki>{{Window home |title=[[Speciale:Newpages|You knew that... ]] |logo=Icona_losapeviche.jpg|px=25 |col_testata=C2D3FC|col_corpo=FFF|col_footer=FFC253 |font_size=90 |content=</nowiki>{{PaginaPrincipale/Sapevi/{{CURRENTDAYNAME}}}}<nowiki> |footer=NeveFooter}} |}</nowiki>
+
<br>}} | <nowiki>{{Window home |title=[[Speciale:Newpages|You knew that... ]] |logo=Icona_losapeviche.jpg|px=25 |col_testata=C2D3FC|col_corpo=FFF|col_footer=FFC253 |font_size=90 |content=</nowiki>{<nowiki/>{PaginaPrincipale/Sapevi/{{CURRENTDAYNAME}}}}<nowiki> |footer=NeveFooter}} |}</nowiki>
 
</div>
 
</div>
 
</noinclude>
 
</noinclude>

Latest revision as of 20:54, 4 December 2020

{{{Box Title}}}

{{{content}}}


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.

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=
}}
Template:Window home

Example of use

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