Template:Bookinfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(add null default for back compat w old templates)
m
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><br style="clear:both" />
+
<onlyinclude><div style="clear:both">
{{ #if: {{{ISBN}}} |<div style="float:right">http://images.amazon.com/images/P/{{{ISBN}}}.01.TZZZZZZZ.jpg</div>}}
+
'''{{{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>|}}
: {{{author}}}. {{ #if: {{{date}}} | ({{{date}}}). |(n.d.). }} {{ #if: {{{publisher}}} | {{{publisher}}}. }} {{ #if: {{{ISBN}}} | ISBN {{{ISBN}}} }}{{ #if: {{{worldcat|}}} | Worldcat #{{{worldcat}}} }}{{ #if: {{{ISSN|}}} | ISSN {{{ISSN}}} }}
+
<div style={{#switch:{{lc:{{{format|}}}}}|compact="font-size:smaller"|"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|}}} |}}{{ #if: {{{ISBN|}}} |<br/>'''Buy from Amazon: [http://astore.amazon.ca/novrom08-20/detail/{{{ISBN}}} Canada] [http://astore.amazon.co.uk/novrom-21/detail/{{{ISBN}}} UK] [http://astore.amazon.com/novrom-20/detail/{{{ISBN}}} USA]'''|}}</div></div><hr style="clear:both;background-color:#000000" /></onlyinclude><noinclude>
: {{{comment}}} '' {{{name}}} ''</includeonly><noinclude>
+
'''Copy the following and paste it into your article. Include whatever information you have.
 +
 
  
 
<nowiki>{{Bookinfo</nowiki><br/>
 
<nowiki>{{Bookinfo</nowiki><br/>
Line 15: Line 16:
 
| comment=<br/>
 
| comment=<br/>
 
| name=<br/>
 
| name=<br/>
}}</noinclude>
+
| format=compact (optional)<nowiki>~~~</nowiki><br/>
 +
}}
 +
 
 +
The optional "format=compact" parameter uses a smaller font and no left indent.
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 13:29, 8 June 2009

'

(n.d.)

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)~~~
}}

The optional "format=compact" parameter uses a smaller font and no left indent.

Personal tools