Template:Publication infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "align={{{align|right}}} " to "")
No edit summary
 
(46 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: #f8fff7; border:1px solid #8a8; color:#000"
<templatestyles src="Publication infobox/styles.css"/>
| align="center" colspan="2" bgcolor="#8afa8a" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
{| id="publication" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | ''{{{title|{{PAGETITLE}}}}}''
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{publisher|}}}|{{!}}- style="background:#afa"
|-
{{!}}'''Publisher'''
{{#if:{{{series|}}}|
{{!}} style="width:17em" {{!}} {{{publisher|}}}
{{!}} '''Series'''
|}}
{{!}} ''{{{series}}}''
|- style="vertical-align: top"
}}
{{#if:{{{label|}}}|{{!}}- style="vertical-align: top;"
|-
{{#if:{{{publisher|}}}|
{{!}} '''Publisher'''
{{!}} {{{publisher}}}
}}
|-
{{#if:{{{label|}}}|
{{!}} '''Label'''
{{!}} '''Label'''
{{!}} {{{label}}}
{{!}} {{{label}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{artist|}}}|{{!}}- style="background:#afa"
{{#if:{{{artist|}}}|
{{!}} '''Artist(s)'''
{{!}} '''Artist(s)'''
{{!}} {{{artist}}}
{{!}} {{{artist}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{volumes|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{writer|}}}|
{{!}} '''Number of Volumes'''
{{!}} '''Writer(s)'''
{{!}} {{{writer}}}
}}
|-
{{#if:{{{volumes|}}}|
{{!}} '''Volumes'''
{{!}} {{{volumes}}}
{{!}} {{{volumes}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{volume_no|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{release|}}}|
{{!}} '''Volume Number'''
{{!}} '''Release date'''
{{!}} {{{volume_no}}}
{{!}} {{date|{{{release}}}}}
|}}
}}
|-
{{#if:{{{next|}}}{{{previous|}}}|
{{!}} style="width:50%;text-align:center" {{!}} '''← Previous'''<br>''{{{previous|—}}}''
{{!}} style="width:50%;text-align:center" {{!}} '''Next →'''<br>''{{{next|—}}}''
{{!}}- style="text-align:center;padding:0 2px !important"
}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{|style="float:right;width:70%;margin:0 0 1em 1em" class=wikitable
!colspan=2|Syntax
!colspan=2|Syntax
|-
|&#124;title=
|The name, if different from the article title.
|-
|-
|&#124;image=
|&#124;image=
|An image of the manga or volume - ideally the cover.
|An image of the publication - ideally the cover.
|-
|&#124;series=
|The book series to which the volume belongs to.
|-
|-
|&#124;publisher=
|&#124;publisher=
|The manga's publishing house.
|The publishing house.
|-
|-
|&#124;label=
|&#124;label=
|The label the manga is published under.
|The label it is published under.
|-
|-
|&#124;artist=
|&#124;artist=
|The manga's artist(s).
|The publication's artist(s).
|-
|&#124;writer=
|The publication's writer(s).
|-
|-
|&#124;volumes=
|&#124;volumes=
|Current number of volumes in the series, where applicable.
|For publication series articles, the number of volumes in the series.
|-
|&#124;release=
|The date of release (use {{tem|flag list}}).
|-
|&#124;previous=
|The previous volume.
|-
|-
|&#124;volume_no=
|&#124;next=
|The volume number of the single volume the article is about, where applicable.
|The next volume.
|}
|}
<pre>
<pre>
{{Manga-infobox
{{publication infobox
|title=
|image=
|image=
|series=
|publisher=
|publisher=
|label=
|label=
|artist=
|artist=
|writer=
|volumes=
|volumes=
|volume_no=
|release=
|previous=
|next=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 04:07, April 29, 2025

Publication infobox

Usage

Syntax
|title= The name, if different from the article title.
|image= An image of the publication - ideally the cover.
|series= The book series to which the volume belongs to.
|publisher= The publishing house.
|label= The label it is published under.
|artist= The publication's artist(s).
|writer= The publication's writer(s).
|volumes= For publication series articles, the number of volumes in the series.
|release= The date of release (use {{flag list}}).
|previous= The previous volume.
|next= The next volume.
{{publication infobox
|title=
|image=
|series=
|publisher=
|label=
|artist=
|writer=
|volumes=
|release=
|previous=
|next=
}}