Difference between revisions of "Template:Main Page Box Test"
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
{{{content}}}
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing 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.
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=
}}
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}} |}