Actions

Template

Difference between revisions of "Comic"

From Sonic Retro

 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{IssueExists|{{PAGENAME}}|prev}}{{#vardefine:prevIssue|{{{prev|{{#var:link}}}}}}}{{IssueExists|{{PAGENAME}}|next}}{{#vardefine:nextIssue|{{{next|{{#var:link}}}}}}}{{#vardefine:link|}}{{BobTable|
 
{{IssueExists|{{PAGENAME}}|prev}}{{#vardefine:prevIssue|{{{prev|{{#var:link}}}}}}}{{IssueExists|{{PAGENAME}}|next}}{{#vardefine:nextIssue|{{{next|{{#var:link}}}}}}}{{#vardefine:link|}}{{BobTable|
 
{{BobRow||{{{screen|}}}|align=center|default=[[File:Coverartnotavailable.jpg|110px]]<includeonly>[[Category:No comic cover]]</includeonly>|content=[[File:{{{screen|}}}|240px]]}}
 
{{BobRow||{{{screen|}}}|align=center|default=[[File:Coverartnotavailable.jpg|110px]]<includeonly>[[Category:No comic cover]]</includeonly>|content=[[File:{{{screen|}}}|240px]]}}
{{BobRow||{{{series|}}}|headline=yes|align=center|content={{ #if: {{{series|}}} | ''{{{series}}}''[[Category:{{{series}}} issues]] | }}{{
+
{{BobRow||{{{series|}}}|headline=yes|align=center|content={{ #if: {{{series|}}} | ''{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{series}}}| (Archie)|}}| (IDW)|}}|g (IDW comics)|g}}|g (Archie comics)|g}}|a (Archie comics)|a}}''[[Category:{{{series}}} issues]] | }}{{
#if: {{{number|}}} | &nbsp;<nowiki>#</nowiki>{{{number}}}<br> | }}{{
+
#if: {{{number|}}} | &nbsp;<nowiki>#</nowiki>{{{number}}} | }}<br>{{
#if: {{{title|}}} | "{{{title}}}" | "{{PAGENAME}}" }}}}
+
#if: {{{title|}}} | "{{{title}}}" | "{{#replace:{{PAGENAME}}| (Archie)|}}" }}}}
 
{{BobRow||{{{coverdate|}}}|content='''Cover date''': {{{coverdate}}}}}
 
{{BobRow||{{{coverdate|}}}|content='''Cover date''': {{{coverdate}}}}}
{{BobRow||{{{releasedate|}}}|content='''Release date''': {{{releasedate}}}}}
 
{{BobRow||{{{price|}}}|content='''Price''': {{{price}}}}}
 
{{BobRow||{{{country|}}}|content='''Country''': {{{country}}}}}
 
 
{{BobRow||{{{gift|}}}|content='''Free gift''': {{{gift}}}}}
 
{{BobRow||{{{gift|}}}|content='''Free gift''': {{{gift}}}}}
 
{{BobRow||{{{writer|}}}|content='''Writer''': {{{writer}}}[[Category:Move to production credits section]]}}
 
{{BobRow||{{{writer|}}}|content='''Writer''': {{{writer}}}[[Category:Move to production credits section]]}}
Line 20: Line 17:
 
{{BobRow||{{{coverartist|}}}|content='''Cover artist''': {{{coverartist}}}[[Category:Move to production credits section]]}}
 
{{BobRow||{{{coverartist|}}}|content='''Cover artist''': {{{coverartist}}}[[Category:Move to production credits section]]}}
 
{{BobRow||{{{specialthanks|}}}|content='''Special thanks''': {{{specialthanks}}}[[Category:Move to production credits section]]}}
 
{{BobRow||{{{specialthanks|}}}|content='''Special thanks''': {{{specialthanks}}}[[Category:Move to production credits section]]}}
 +
{{BobRow||{{{releases|}}}|content={{releasesHeader}}
 +
{{{releases}}}
 +
{{releasesEnd}}}}
 
{{BobRow||{{#var:nextIssue}}{{#var:prevIssue}}|content={{#if: {{#var:prevIssue}} | ← [[{{#var:prevIssue}}{{!}}Previous issue]] }} {{#if:{{#var:nextIssue}}|{{#if:{{#var:prevIssue}}|{{!}}|}}|}} {{#if: {{#var:nextIssue}} | [[{{#var:nextIssue}}{{!}}Next issue]] → }}|align=center}}
 
{{BobRow||{{#var:nextIssue}}{{#var:prevIssue}}|content={{#if: {{#var:prevIssue}} | ← [[{{#var:prevIssue}}{{!}}Previous issue]] }} {{#if:{{#var:nextIssue}}|{{#if:{{#var:prevIssue}}|{{!}}|}}|}} {{#if: {{#var:nextIssue}} | [[{{#var:nextIssue}}{{!}}Next issue]] → }}|align=center}}
 
}}<noinclude>
 
}}<noinclude>
Line 33: Line 33:
 
| title=
 
| title=
 
| coverdate=
 
| coverdate=
| releasedate=
+
| releases={{releases
| price=
+
 
| country=
+
}}
 
| gift=
 
| gift=
 
| prev=
 
| prev=
Line 51: Line 51:
 
| title= A Prickly Day  
 
| title= A Prickly Day  
 
| coverdate= June 2009
 
| coverdate= June 2009
| releasedate=2009-03-20
+
| releases={{releases
| price= $19.91
+
| comic_date_us=2009-03-20
| country= America
+
| comic_rrp_us=19.91
 +
}}
 
}}
 
}}
 
<pre>
 
<pre>
Line 62: Line 63:
 
| title= A Prickly Day  
 
| title= A Prickly Day  
 
| coverdate= June 2009
 
| coverdate= June 2009
| releasedate=2009-03-20
+
| releases={{releases
| price= $19.91
+
| comic_date_us=2009-03-20
| country= America
+
| comic_rrp_us=19.91
 +
}}
 
}}
 
}}
 
</pre>
 
</pre>
 
 
[[Category:Breakout box templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Breakout box templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:35, 1 September 2023

Coverartnotavailable.jpg

Usage

This template is to be used on articles about a comic series. Place the following at the top of a page:

{{Comic
| screen=
| series=
| number=
| title=
| coverdate=
| releases={{releases

}}
| gift=
| prev=
| next=
}}

All fields are optional.

Example

Hedgehog.jpg
The Real Adventures of Sonic the Hedgehog #47
"A Prickly Day"
Cover date: June 2009
Release Date RRP Code Rating
Comic
US
2009-03-20 $19.91 ?
{{Comic
| screen= Hedgehog.jpg
| series= The Real Adventures of Sonic the Hedgehog
| number= 47
| title= A Prickly Day 
| coverdate= June 2009
| releases={{releases
| comic_date_us=2009-03-20
| comic_rrp_us=19.91
}}
}}