Template:Novel infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#EFF0FF}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; border:1px solid #B5B7CF; color:{{{color1|#000}}};" | |||
{{!}}- | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{!}}- | |||
{{#if:{{{image|}}}| | |||
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{author|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{author-title|Author(s)}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{author|}}} | |||
{{!}}-}} | |||
{{#if:{{{publisher|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{publisher-title|Publisher}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{publisher|}}} | |||
{{!}}-}} | |||
{{#if:{{{publication|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{publication-title|Publication date}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{publication|}}} | |||
{{!}}-}} | |||
{{#if:{{{media|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{media-title|Media type}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{media|}}} | |||
{{!}}-}} | |||
{{#if:{{{length|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{length-title|Pages}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{length|}}} | |||
{{!}}-}} | |||
{{#if:{{{ISBN-10|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{ISBN-title|ISBN}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ISBN|}}} | |||
[ | {{!}}-}} | ||
</ | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Affiliation infobox|<span style="color:#000;">[Source]</span>]] | ||
|}<noinclude>{{Clear}} | |||
Add the following code and change the values to add the book template to the an article: | Add the following code and change the values to add the book template to the an article: | ||
< | <pre> | ||
{{Book Info | {{Book Info | ||
|name= | |name= | ||
|image= | |image= | ||
| | |author= | ||
| | |publisher= | ||
| | |publication= | ||
| | |media= | ||
| | |length= | ||
|ISBN= | |ISBN= | ||
}} | }} | ||
</ | </pre> | ||
[[Category:Infoboxes|{{PAGENAME}}]] | [[Category:Infoboxes|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 06:50, April 23, 2012
Novel infobox | |
---|---|
[Source] |
Add the following code and change the values to add the book template to the an article:
{{Book Info |name= |image= |author= |publisher= |publication= |media= |length= |ISBN= }}