Template:Bookinfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (alt suntax)
(+compat format switch)
Line 2: Line 2:
 
'''{{{title|}}}'''
 
'''{{{title|}}}'''
 
{{ #if: {{{ISBN|}}} |<div style="float:right; clear:right; margin:0px 0.5em 0.5em 0.5em"> http://ec2.images-amazon.com/images/P/{{{ISBN|}}}.01.TZZZZZZZ.jpg</div>|}}
 
{{ #if: {{{ISBN|}}} |<div style="float:right; clear:right; margin:0px 0.5em 0.5em 0.5em"> http://ec2.images-amazon.com/images/P/{{{ISBN|}}}.01.TZZZZZZZ.jpg</div>|}}
<div style="margin-left:3em">{{ #if: {{{author|}}} | {{{author|}}}. |}} {{ #if: {{{date|}}} |({{{date}}}). |(n.d.) }} {{ #if: {{{publisher|}}} | {{{publisher|}}}. | }} {{ #if: {{{ISBN|}}} | ISBN {{{ISBN}}}| }} {{ #if: {{{worldcat|}}} |[http://worldcat.org/oclc/{{{worldcat}}} Worldcat #{{{worldcat}}}]| }} {{ISSN|{{{ISSN|}}}}}
+
{{#switch:{{lc:{{{format|}}}}}|compact=<div style="font-size:smaller">|<div style="margin-left:3em">}}{{ #if: {{{author|}}} | {{{author|}}}. |}} {{ #if: {{{date|}}} |({{{date}}}). |(n.d.) }} {{ #if: {{{publisher|}}} | {{{publisher|}}}. | }} {{ #if: {{{ISBN|}}} | ISBN {{{ISBN}}}| }} {{ #if: {{{worldcat|}}} |[http://worldcat.org/oclc/{{{worldcat}}} Worldcat #{{{worldcat}}}]| }} {{ISSN|{{{ISSN|}}}}}
 
<br/>{{{comment|}}} {{ #if:{{{name|}}} | Contributed by {{{name|}}} |}}</div></div><hr style="clear:both;background-color:#000000" /></onlyinclude><noinclude>
 
<br/>{{{comment|}}} {{ #if:{{{name|}}} | Contributed by {{{name|}}} |}}</div></div><hr style="clear:both;background-color:#000000" /></onlyinclude><noinclude>
 
'''Copy the following and paste it into your article. Include whatever information you have.
 
'''Copy the following and paste it into your article. Include whatever information you have.
Line 16: Line 16:
 
| worldcat=<br/>
 
| worldcat=<br/>
 
| comment=<br/>
 
| comment=<br/>
| name=<nowiki>~~~</nowiki><br/>
+
| name=
 +
| format=compact (optional)<nowiki>~~~</nowiki><br/>
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 04:03, 17 November 2008

'

(n.d.)    

</div>

Copy the following and paste it into your article. Include whatever information you have.


{{Bookinfo
| title=
| author=
| date=
| publisher=
| ISBN=
| ISSN=
| worldcat=
| comment=
| name= | format=compact (optional)~~~
}}

Personal tools