Differenze tra le versioni di "Template:Sitofan"

2 675 byte aggiunti ,  23:55, 21 mar 2017
Restyling minore, ma struttura template stravolta. Penso che ci siamo.
(Discretamente soddisfatto da come è venuto, propongo di usarlo come base per gli altri casi. Code update e restyling completo)
(Restyling minore, ma struttura template stravolta. Penso che ci siamo.)
{|<div class="flex flex-row flex-wrap flex-items-end flex-main-space-around roundy pull-right width-xl-25 width-lg-33 width-md-50 width-sm-100" style="{{#invoke: css | horizGrad | {{{1|pcwiki}}} | {{{2|light}}} | {{{3|{{{1|pcwiki}}}}}} | {{{4|normale}}}}} margin-left: 1em; margin-bottom: 1em; border-spacing: 0; padding: 0.8ex;">
<div class="big-text text-center width-xl-100"><span class="big-text">'''{{{sitename}}}'''</span></div>{{#ifeq: {{{slogan|yes}}} | yes |
|-
!<div class="bigsmall-text" colspan="2"text-center | <div class="bigwidth-textxl-100">''"{{{sitenamesloganline}}}"''</div>}}
<div class="roundy text-center width-xl-100" style="background: #fff; margin-top: 1ex;"><div>[[File:{{{image}}}|{{{size}}}]]</div><div class="small-text">{{{caption}}}</div></div>
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Lingua'''</div>
{{#ifeq: {{{slogan|yes}}} | yes | {{!}} class="small-text text-center" colspan="2" {{!}} ''"{{{sloganline}}}"''}}
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{lang}}}</div></div>
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Stato'''</div>
|
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{status}}}</div></div>
|-
|<div class="roundywidth-xl-50 width-xs-100 text-centerright" style="backgroundpadding-right: #fff0.5ex;" colspan="2"box-sizing: |border-box; <div>[[Filemargin-top:{{{image}}}|{{{size}}}]]</div><div class="small-text1ex;">{{{caption}}}'''Gestito da'''</div>
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{run}}}</div></div>
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Data di apertura'''</div>
|
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{create}}}</div></div>{{#ifeq: {{{defunct|yes}}} | yes |
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Data di chiusura'''</div>
! class="text-right" | Lingua
|<div class="roundytopwidth-xl-50 textwidth-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; |padding-left: 0.5ex;">{{{langclose}}}</div></div>}}{{#ifeq: {{{reason|yes}}} | yes |
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Motivo'''</div>
|-
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{reason2}}}</div></div>}}
! class="right-text" | Stato
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Creatore/i'''</div>
| style="background: #fff;" | {{{status}}}
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{creator}}}</div></div>{{#ifeq: {{{articles|yes}}} | yes |
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Numero di articoli'''</div>
! class="right-text" | Gestito da
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{noarticles}}}</div></div>}}{{#ifeq: {{{forum|yes}}} | yes |
| style="background: #fff;" | {{{run}}}
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Forum'''</div>
|-
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{forumname}}}</div></div>}}{{#if: {{{mascotte}}} |
! class="right-text" | Data di apertura
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Mascotte'''</div>
| style="background: #fff;" | {{{create}}}
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{mascot}}}</div></div>}}
|-
<div class="width-xl-50 width-xs-100 text-right" style="padding-right: 0.5ex; box-sizing: border-box; margin-top: 1ex;">'''Sito web'''</div>
{{#ifeq: {{{defunct|yes}}} | yes | ! class="right-text" {{!}} Data di chiusura
<div class="width-xl-50 width-xs-100" style="padding-left: 0.5ex; box-sizing: border-box;"><div class="roundy" style="background: #fff; padding-left: 0.5ex;">{{{weblink}}}</div></div>
{{!}} style="background: #fff;" {{!}} {{{close}}}}}
|}</div><noinclude>[[Category:Template Infobox]]</noinclude>
|-
{{#ifeq: {{{reason|yes}}} | yes | ! class="text-right" {{!}} Motivo
{{!}} style="background: #fff;" {{!}} {{{reason2}}}}}
|-
! class="right-text" | Creatore/i
| style="background: #fff;" | {{{creator}}}
|-
{{#ifeq: {{{articles|yes}}} | yes | ! class="text-right" {{!}} Numero di articoli
{{!}} style="background: #fff;" {{!}} {{{noarticles}}}}}
|-
{{#ifeq: {{{forum|yes}}} | yes | ! class="text-right" {{!}} Forum
{{!}} style="background: #fff;" {{!}} {{{forumname}}}}}
|-
{{#if: {{{mascotte}}} | ! class="text-right" {{!}} Mascotte
{{!}} style="background: #fff;" {{!}} {{{mascot}}}}}
|-
! class="text-right" | Sito web
| class="roundybottom" style="background: #fff;" | {{{weblink}}}
|}<noinclude>[[Category:Template Infobox]]</noinclude>