Template:Libri: differenze tra le versioni

Da SWX | DataBank Italiano su Star Wars - Guerre Stellari.
Riga 1: Riga 1:
<div id="Libri" class="infobox" style="border-width: 0px; padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
+
<div id="Infobox_Book" class="infobox" style="border-width: 0px; padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
 
{| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px"
 
{| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px"
|-
+
|-
 
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:996|background: #996|background: #999999}}}}" | {{{image|}}}
 
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:996|background: #996|background: #999999}}}}" | {{{image|}}}
|-  
+
|-  
 
! class="infoboxheading" colspan="2" style="{{#if:996|background: #996|background: #999999}};" | ''{{{book name}}}''
 
! class="infoboxheading" colspan="2" style="{{#if:996|background: #996|background: #999999}};" | ''{{{book name}}}''
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
+
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Team creativo'''}}
+
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Attribution'''}}
{{#if:{{{author|}}}|
+
{{#if:{{{author|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Autore/i
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Author(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{author|}}}
 
{{{author|}}}
Riga 15: Riga 15:
 
|}} {{#if:{{{cover artist|}}}|
 
|}} {{#if:{{{cover artist|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Artista di copertina
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Cover artist
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{cover artist|}}}
 
{{{cover artist|}}}
Riga 21: Riga 21:
 
|}} {{#if:{{{editor|}}}|
 
|}} {{#if:{{{editor|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Editore
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Editor(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{editor|}}}
 
{{{editor|}}}
 
{{!}}-
 
{{!}}-
 
|}} {{#if:{{{hidep|}}}|{{!}}-|{{!}}-
 
|}} {{#if:{{{hidep|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Informazioni di pubblicazione'''}}
+
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Publication information'''}}
{{#if:{{{publisher|}}}|
+
{{#if:{{{publisher|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Casa editrice
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Publisher
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
{{{publisher|}}}
+
{{!}}-
+
|}}
+
{{#if:{{{publisher ita|}}}|
+
{{!}}-
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Casa editrice italiana
+
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{publisher|}}}
 
{{{publisher|}}}
Riga 42: Riga 35:
 
|}} {{#if:{{{release date|}}}|
 
|}} {{#if:{{{release date|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Data di pubblicazione
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Release date
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{release date|}}}
 
{{{release date|}}}
 
{{!}}-
 
{{!}}-
|}}  
+
|}} {{#if:{{{media type|}}}|
{{#if:{{{release date ita|}}}|
+
{{!}}-
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Data di pubblicazione italiana
+
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
{{{publisher|}}}
+
{{!}}-
+
{{#if:{{{media type|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Formato
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Media type
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{media type|}}}
 
{{{media type|}}}
Riga 61: Riga 47:
 
|}} {{#if:{{{pages|}}}|
 
|}} {{#if:{{{pages|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Pagine
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Pages
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{pages|}}}
 
{{{pages|}}}
Riga 67: Riga 53:
 
|}} {{#if:{{{isbn|}}}|
 
|}} {{#if:{{{isbn|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[it:wikipedia:International Standard Book Number|ISBN]]
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[wikipedia:International Standard Book Number|ISBN]]
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
[[Special:Booksources/isbn={{{isbn}}}|{{{isbn|}}}]]
 
[[Special:Booksources/isbn={{{isbn}}}|{{{isbn|}}}]]
 
{{!}}-
 
{{!}}-
 
|}} {{#if:{{{hidec|}}}|{{!}}-|{{!}}-
 
|}} {{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Timeline'''}}
+
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Chronology'''}}
 
  {{#if:{{{era|}}}|
 
  {{#if:{{{era|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Era
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[List of publishing eras|Era]]
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{era|}}}
 
{{{era|}}}
Riga 87: Riga 73:
 
|}} {{#if:{{{series|}}}|
 
|}} {{#if:{{{series|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Serie
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Series
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{{series|}}}
 
{{{series|}}}
Riga 93: Riga 79:
 
|}} {{#if:{{{preceded by|}}}|
 
|}} {{#if:{{{preceded by|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Preceduto da
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Preceded by
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{{preceded by|}}}
 
{{{preceded by|}}}
Riga 99: Riga 85:
 
|}} {{#if:{{{followed by|}}}|
 
|}} {{#if:{{{followed by|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Seguito da
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Followed by
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; font-style:italic;" {{!}}
 
{{{followed by|}}}
 
{{{followed by|}}}
Riga 105: Riga 91:
 
|}}  
 
|}}  
 
|}
 
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:996|background: #996|background: #999999}}"><span id="infoboxend"></span>[[{{{srclink|Template:Libri}}}|[Source]]]</div>
+
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:996|background: #996|background: #999999}}"><span id="infoboxend"></span>[[{{{srclink|Template:Infobox Book}}}|[Source]]]</div>
{{#if:996|{{rb|#996}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>{{Ere}}{{clear}}
+
{{#if:996|{{rb|#996}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>{{Eras|sprot}}{{clear}}
==Utilizzo==
+
==Usage==
Copia e incolla in codice seguente compilando i campi necessari.
+
 
<pre>
 
<pre>
{{Libri
+
{{Infobox Book
 
|image=
 
|image=
 
|book name=
 
|book name=
Riga 117: Riga 102:
 
|editor=
 
|editor=
 
|publisher=
 
|publisher=
|publisher ita=
 
 
|release date=
 
|release date=
|release date ita=
 
 
|media type=
 
|media type=
 
|pages=
 
|pages=
Riga 131: Riga 114:
 
</pre>
 
</pre>
  
[[Categoria:Infobox per i prodotti Star Wars|Libri]]</noinclude>
+
==Source==
 +
The ISBN link must be added manually if you regenerate the template with the following code. To do so, replace the line <code><nowiki>{{{isbn|}}}</nowiki></code> with <code><nowiki>[[Special:Booksources/isbn={{{isbn}}}|{{{isbn|}}}]]</nowiki></code>
 +
 
 +
<nowiki>
 +
{{subst:slh|996}} {{subst:sli|996}} {{subst:slc|996|book name|css=font-style:italic;}} {{subst:sls|Attribution|ddb|hidea}} {{subst:sld|Author(s)|author}} {{subst:sld|Cover artist|cover artist}} {{subst:sld|Editor(s)|editor}} {{subst:sls|Publication information|ddb|hidep}} {{subst:sld|Publisher|publisher}} {{subst:sld|Released|release date}} {{subst:sld|Media type|media type}} {{subst:sld|Pages|pages}} {{subst:sld|[[wikipedia:International Standard Book Number|ISBN]]|isbn}} {{subst:sls|Chronology|ddb|hidec}} {{subst:sld|[[List of publishing eras|Era]]|era}} {{subst:sld|Timeline|timeline}} {{subst:sld|Series|series|css=font-style:italic;}} {{subst:sld|Preceded&nbsp;by|preceded by|css=font-style:italic;}} {{subst:sld|Followed&nbsp;by|followed by|css=font-style:italic;}} {{subst:slf|996}}
 +
</nowiki>
 +
 
 +
[[Category:Books (real-world)| ]][[Category:Media infoboxes|Book]]</noinclude>

Versione delle 13:15, 7 mag 2010

{{{book name}}}
Attribution
Publication information
Chronology
Template:Eras

Usage

{{Infobox Book
|image=
|book name=
|author=
|cover artist=
|editor=
|publisher=
|release date=
|media type=
|pages=
|isbn=
|era=
|timeline=
|series=
|preceded by=
|followed by=
}}

Source

The ISBN link must be added manually if you regenerate the template with the following code. To do so, replace the line {{{isbn|}}} with [[Special:Booksources/isbn={{{isbn}}}|{{{isbn|}}}]]

{{subst:slh|996}} {{subst:sli|996}} {{subst:slc|996|book name|css=font-style:italic;}} {{subst:sls|Attribution|ddb|hidea}} {{subst:sld|Author(s)|author}} {{subst:sld|Cover artist|cover artist}} {{subst:sld|Editor(s)|editor}} {{subst:sls|Publication information|ddb|hidep}} {{subst:sld|Publisher|publisher}} {{subst:sld|Released|release date}} {{subst:sld|Media type|media type}} {{subst:sld|Pages|pages}} {{subst:sld|[[wikipedia:International Standard Book Number|ISBN]]|isbn}} {{subst:sls|Chronology|ddb|hidec}} {{subst:sld|[[List of publishing eras|Era]]|era}} {{subst:sld|Timeline|timeline}} {{subst:sld|Series|series|css=font-style:italic;}} {{subst:sld|Preceded by|preceded by|css=font-style:italic;}} {{subst:sld|Followed by|followed by|css=font-style:italic;}} {{subst:slf|996}}