Template:Cover info: Difference between revisions

From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:File/styles.css" /><div class="articlehead"><table class="infobox ib-type-band">
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox
| autoheaders=y
<tr><td colspan="2" style="text-align: center; font-size:140%;">'''{{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''</td></tr>
| bodystyle = width:100%; border: 2px solid #DFCDDD;
<tr><td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}</td></tr><!--
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
--><tr><td colspan="2" style="text-align: center;>This file is a cover to a book, comic, game, home media or album. Please note that this template does not denote '''copyright''' but instead exists to organize files easier!</td></tr><!--
| imagestyle = padding-top: 9px;
--><!--
| captionstyle = padding: 5px 10px;
--><td colspan="2" class="ib-line"></td>
| subheaderstyle = font-size: 110%; padding: 5px;
<!-------------------------------------------------------------------------------------------------------------------
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
-->
| bodyclass = infobox
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Information</td></tr>

-->{{#if: {{{medium|}}}|<tr>
| above = Comic info
<td class="ib-data-title">Medium</td>
|subheader = {{Comic info/MediumCategorization|medium={{{medium|}}}}}
<td class="ib-data">{{#switch:{{{medium}}}|book=Book[[Category:Book covers]]|comic=Comic[[Category:Comic covers]]|game=Video game[[Category:Video game covers]]|home media=Home media[[Category:Home media covers]]|album=Album[[Category:Album covers]]}}</td>

</tr>}}<!--
| image =
-->{{#if: {{{type|}}}|<tr>
| caption = {{{caption|}}}
<td class="ib-data-title">Type</td>

<td class="ib-data">
| header1 = Overview
{{#switch:{{{type|}}}
| label2 = Series
|#default=Regular
| data2 = {{Comic info/SeriesCategorization|series={{{series|}}}}}
|regular=Regular
| rowclass2 = bordered
|variant=Variant[[Category:Variant covers]]{{#if:{{{series|}}}
| label3 = Type
|MLP2022=[[Category:My Little Pony (2022 comic) variant covers]]
| data3 = {{Comic info/TypeCategorization|type={{{type|}}}}}
}}
| rowclass3 = bordered
}}</td>
</tr>}}<!--
| label4 = Text
| data4 = {{Comic info/TextCategorization|text={{{text|}}}}}
-->{{#if: {{{series|}}}|<tr>
| rowclass4 = bordered
<td class="ib-data-title">Series</td>
| label5 = Line
<td class="ib-data">{{{#switch:{{{series}}}|MLP2022=[[Category:My Little Pony (2022 comic) covers]]}}
| data5 = {{Comic info/LineCategorization|line={{{line|}}}}}
</td>
| rowclass5 = bordered
</tr>}}<!--
| label6 = Convention
-->{{#if: {{{line|}}}|<tr>
| data6 = {{Comic info/ConCategorization|convention={{{convention|}}}}}
<td class="ib-data-title">Line</td>
| rowclass6 = bordered
<td class="ib-data">{{{line}}}</td>
| label7 = Retailer
</tr>}}<!--
| data7 = {{Comic info/RetailerCategorization|retailer={{{retailer|}}}}}
<!--
| rowclass7 = bordered
-->{{#if: {{{text|}}}|<tr>
}}</onlyinclude>
<td class="ib-data-title">Text</td>
<noinclude><br style="clear:both;" />{{documentation}}</noinclude>
<td class="ib-data">{{#switch:{{{text}}}|textless=Textless|covered=Covered}}</td>
</tr>}}<!--
-->{{#if: {{{convention|}}}|<tr>
<td class="ib-data-title">Convention</td>
<td class="ib-data">{{{convention}}}</td>
</tr>}}<!--
-->{{#if: {{{retailer|}}}|<tr>
<td class="ib-data-title">Retailer</td>
<td class="ib-data">{{{retailer}}}</td>
</tr>}}
</td></tr>
</table></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 17:25, 24 May 2023

Comic info
Overview
SeriesTemplate:Comic info/SeriesCategorization
TypeTemplate:Comic info/TypeCategorization
TextTemplate:Comic info/TextCategorization
ConventionTemplate:Comic info/ConCategorization
RetailerTemplate:Comic info/RetailerCategorization


Template documentation[view] [edit] [history] [purge]

Cover info is a template to help organize covers, because unsurprisingly, they can be a mess organization wise. It should be paired with {{File info}} always, as it does not denote copyright information. The code is as following:

{{Cover info
|medium       = 
|series       = 
|type         = 
|text         = 
|line         = 
|convention   = 
|retailer     = 
}}

Further details for each parameter

  • medium book, comic, album, game, or home video. All undercase. Denotes the medium this cover is from.
  • series Typical abbreviations apply. Only for comics
  • type main or variant. Only for comics
  • text covered or textless. Only for comics
  • line The line of covers it is from. These can include events, crossover promotions, guest artists, etc.
  • convention If this cover is convention exclusive - link the convention.
  • retailer If this cover is retailer exclusive - link the retailer.