Jump to content

Template:Book: Difference between revisions

From Monster Girl Encyclopedia
Created page with '{| style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 95%; background: #f9f9f9; color:black; width: 310px; padding: 10px; text-align: left; float: right...'
 
Infobox updated using the portable infobox migration tool
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 95%; background: #f9f9f9; color:black; width: 310px; padding: 10px; text-align: left; float: right;"
<infobox>
|-
<image source="image"/>
| colspan="2" align="center" style="font-size:125%;" bgcolor=#cef2e0 | {{PAGENAME}}
<data source="author">
|-
<label>'''Author'''</label></data>
|
<data source="illustrator"><label>'''Illustrator'''</label></data>
|-
<data source="date"><label>'''Publication date'''</label></data>
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|284px]] }}
<data source="publisher"><label>'''Published by'''</label></data>
|- style="vertical-align: top;"
<data source="isbn"><label>'''ISBN'''</label></data>
{{#if: {{{author|}}} | {{!}} valign=top {{!}} '''Author''' {{!!}} {{{author}}} }}
<data source="previous"><label>previous</label></data>
|- style="vertical-align: top;"
<data source="next"><label>Preceded by<br>{{{previous}}}</label></data>
{{#if: {{{illustrator|}}} | {{!}} valign=top {{!}} '''Illustrator''' {{!!}} {{{illustrator}}} }}
</infobox>
|- style="vertical-align: top;"
<noinclude>
{{#if: {{{date|}}} | {{!}} '''Publication date''' {{!!}} {{{date}}} }}
== Usage & preview ==
|- style="vertical-align: top;"
Type in this:
{{#if: {{{publisher|}}} | {{!}} '''Published by''' {{!!}} {{{publisher}}} }}
 
|- style="vertical-align: top;"
<pre>
{{#if: {{{isbn|}}} | {{!}} '''ISBN''' {{!!}} {{{isbn}}} }}
{{Book
|-
|image      =
| colspan="2" align="center" style="font-size:125%;" bgcolor=#cef2e0 | ''Publication Order''
|author      =
|- align=center
|illustrator =
| valign=top align=center style="font-size:80%;" width=150 | Preceded by<br>{{{previous}}}
|date        =
| valign=top align=center style="font-size:80%;" width=150 | Followed by<br>{{{next}}}
|publisher  =
|}<noinclude>
|isbn        =
<br clear="all">
|previous    =
{{documentation}}
|next        =
[[Category:Templates|Book]]
}}
 
</pre>
 
to see this:
 
{{Book
|image      = nomgphoto.jpg
|author      =This is a test
|illustrator =This is a test
|date        =This is a test
|publisher  =This is a test
|isbn        =This is a test
|previous    =This is a test
|next       =This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Latest revision as of 06:28, 25 June 2016

<infobox> <image source="image"/> <label>Author</label> <label>Illustrator</label> <label>Publication date</label> <label>Published by</label> <label>ISBN</label> <label>previous</label> <label>Preceded by
{{{previous}}}</label>
</infobox>

Usage & preview[edit source]

Type in this:

{{Book
|image       =
|author      =
|illustrator =
|date        =
|publisher   =
|isbn        =
|previous    =
|next        =
}}

to see this:

<infobox> <image source="image"/> <label>Author</label> <label>Illustrator</label> <label>Publication date</label> <label>Published by</label> <label>ISBN</label> <label>previous</label> <label>Preceded by
This is a test</label>
</infobox>


Click here to refresh the preview above