Template:Book infobox: Difference between revisions

From Pixar Cars Wiki
Jump to navigation Jump to search
RodRedBot
RodRedBot (talk | contribs) (→‎top: text replacement, removed: {{Dummybox}})
m
Line 1: Line 1:
<infobox theme="basic">
{| class="infobox" style="width:300px;" cellspacing="0"
    <title source="name"><default>{{PAGENAME}}</default></title>
! colspan=2 style="background:#000;color:white;text-align: center;line-height: 1.5;padding: 5px;"| {{{name|{{PAGENAME}}}}}
    <!--Mobile Support--><header name="Mtitle">{{{name|{{PAGENAME}}}}}</header><!--Mobile Support-->
|-
<image source="image" />
| colspan="2" style="text-align:center" | {{{image|}}}{{#if:{{{caption|}}}|<br/><span class="caption" style="font-size:11px">{{{caption|}}}|}}</span>
<group row-items="2">
|-
<data span="2" source="caption">{{{caption|}}}</data>
{{#if:{{{published|}}}|
</group>
{{!}} '''Published'''
<group name="params_display">
{{!}} {{{published}}}
<data source="published"><label>Publish date</label></data>
}}
<data source="author"><label>Written by</label></data>
|-
<data source="illustrator"><label>Illustrated by</label></data>
{{#if:{{{author|}}}|
<data source="adapted_by"><label>Adapted by</label></data>
{{!}} '''Author'''
<data source="publisher"><label>Published by</label></data>
{{!}} {{{author}}}
<data source="series"><label>Series</label></data>
}}
</group>
|-
</infobox>
{{#if:{{{illustrator|}}}|
<noinclude>
{{!}} '''Illustrator'''
{{!}} {{{illustrator|}}}
}}
|-
{{#if:{{{adapted_by|}}}|
{{!}} '''Adapted by'''
{{!}} {{{adapted_by|}}}
}}
|-
{{#if:{{{publisher|}}}|
{{!}} '''Publisher'''
{{!}} {{{publisher|}}}
}}
|}<noinclude>
 
== Usage & preview ==
== Usage & preview ==
Type in this:
Type in this:

Revision as of 22:21, 15 April 2024

Book infobox

Usage & preview

Type in this:

{{Book infobox
|image=
|caption=
|name=
|author=
|illustrator=
|adapted=
|published=
|publisher=
}}

to see this:

This is a test
This is a test
This is a test
Published This is a test
Author This is a test
Illustrator This is a test
Publisher This is a test

Click here to refresh the preview above