Difference between revisions of "Template:Media"

From The Coppermind
Jump to navigation Jump to search
(Created page with "{{infobox |id=media |title=<!-- -->{{#if:{{{prequel|}}}|<span style="float: left; ">[[{{{prev|{{{prequel}}}|}}}|<]]</span>}}<!-- -->{{{title|{{PAGENAME}}|}}}<!-- -->{{#if:{{{...")
 
m
 
(9 intermediate revisions by 4 users not shown)
Line 9: Line 9:
 
-->|1=
 
-->|1=
 
<!-- image -->
 
<!-- image -->
{{#if:{{{image|}}} |{{row/image| {{{image}}} |artist={{{image-artist|}}} }}|}}
+
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}|}}
 
<!-- series -->
 
<!-- series -->
 
{{#if:{{{series|}}}{{{prequel|}}}{{{sequel|}}}|
 
{{#if:{{{series|}}}{{{prequel|}}}{{{sequel|}}}|
Line 28: Line 28:
 
{{#if:{{{released|}}} |{{row/kv|Released |{{{released}}} }}|}}
 
{{#if:{{{released|}}} |{{row/kv|Released |{{{released}}} }}|}}
 
<!-- publisher's wikipedia page -->
 
<!-- publisher's wikipedia page -->
{{#if:{{{publisher-raw|}}} |{{row/kv|Publisher |{{{publisher-raw}}} }}|}}
 
 
{{#if:{{{publisher|}}} |{{row/kv|Publisher |[[wikipedia:{{{publisher}}}|{{{publisher}}}]] }}|}}
 
{{#if:{{{publisher|}}} |{{row/kv|Publisher |[[wikipedia:{{{publisher}}}|{{{publisher}}}]] }}|}}
  +
{{#if:{{{'publisher|}}} |{{row/kv|Publisher |{{{'publisher}}} {{raw/publisher}} }}|}}
<!-- ISBN -->
 
{{#if:{{{ISBN|}}} |{{row/kv|ISBN |[[Special: BookSources/{{{ISBN}}}|{{{ISBN}}}]] }}|}}
+
{{#if:{{{publisher-raw|}}} |{{row/kv|Publisher |{{{publisher-raw}}} {{raw/publisher}} }}|}}
 
<!-- annotations -->
 
<!-- annotations -->
 
{{#if:{{{annotations|}}} |{{row/kv|Annotations |[[bws:{{{annotations}}}|{{{a-text|Portal}}}]] }}|}}
 
{{#if:{{{annotations|}}} |{{row/kv|Annotations |[[bws:{{{annotations}}}|{{{a-text|Portal}}}]] }}|}}
Line 37: Line 36:
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[category: media]]<!--
+
-->{{cat ns|media|only=0}}<!--
-->[[category: meta]]<!--
+
-->{{cat ns|meta|only=0}}<!--
  +
  +
-->{{#if:{{{publisher-raw|}}}{{{raw-publisher|}}}|[[category: depreciated raw parameters]]}}<!--
  +
  +
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
  +
This template is used to describe non-book works either created by [[Brandon Sanderson]] or based on his creations, such as games, audio dramas or movies. However, graphic novels and comicbooks should use [[Template:Book]], while standalone artwork should use [[Template:Art]] or [[Template:Cover]].
This template is used to describe media. It will add the article to [[:Category: Media]].
 
  +
  +
=== Template ===
  +
<pre class=mw-code>
  +
{{media
  +
|image=
  +
|series=
  +
|prequel=
  +
|sequel=
  +
|setting=
  +
|released=
  +
|publisher=
  +
|annotations=
  +
}}
  +
</pre>
  +
  +
=== Parameters ===
  +
There are no mandatory parameters, though it is advised that most of them should be filled in.
  +
  +
{{docs|title={{t|media}} Parameters}}
  +
  +
<!-- ---------- -->
  +
<!-- ROW: image -->
  +
<!-- ---------- -->
  +
{{docs/image
  +
|eg=
  +
<code><nowiki>|image=Call to Adventure cover.jpg</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: series -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=series
  +
|desc=Use this parameter if the work is part of a series.
  +
|eg=
  +
<code><nowiki>|series=Mistborn Adventure Game</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: prequel -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=prequel
  +
|desc=Use this parameter if this piece of media has a previous part; it will create a "<" arrow by the title at the top of the box.
  +
|eg=
  +
<code><nowiki>|prequel=Mistborn Adventure Game (rule book)</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: sequel -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=sequel
  +
|desc=Use this parameter if this piece of media has a sequel; it will create a ">" arrow by the title at the top of the box.
  +
|eg=
  +
<code><nowiki>|sequel=Terris: Wrought of Copper</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: setting -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=setting
  +
|desc=Use this to indicate in which universe or world this work is set.
  +
|eg=
  +
<code><nowiki>|setting=[[Cosmere]], [[Roshar]]</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: released -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=released
  +
|desc=The date when the work was released.
  +
|eg=
  +
<code><nowiki>|released=June 25, 2020</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: publisher -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param=publisher
  +
|desc=Which company published this work. <br> <small>'''Note:''' Automatically generates a link to the publisher's Wikipedia page. To bypass this, use <code>'publisher</code>.</small>
  +
|eg=
  +
<code><nowiki>|publisher=Crafty Games</nowiki></code>
  +
}}
  +
  +
|}
  +
  +
  +
=== Categories & Tags ===
  +
Pages that make use of the ''{{t|media}}'' template will be added to [[:Category: Media]].
   
  +
[[category: infoboxes]]
All the parameters are optional, though it is advised that most of them should be filled in.
 
: Passing a file name in {{{cover}}} will output a thumbnail at the top of the infobox.
 
: The release date can be added in {{{released}}}.
 
: The {{{series}}}, {{{prequel}}} and {{{sequel}}} parameters can be used where appropriate, the prequel and sequel links will add < or > links to the title at the top of the box.
 
: To indicate whether a book is standalone, or part of the cosmere, use {{{setting}}}
 
: {{{publisher}}} link to the publisher's Wikipedia page and {{{ISBN}}} does something with the books ISBN number.
 
: Passing {{{annotations}}} will link to one of the annotations pages on [[Brandon]]'s website.
 
   
  +
== Articles using Template ==
[![category: infoboxes]]
 
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 22:53, 20 November 2022

Media

This template is used to describe non-book works either created by Brandon Sanderson or based on his creations, such as games, audio dramas or movies. However, graphic novels and comicbooks should use Template:Book, while standalone artwork should use Template:Art or Template:Cover.

Template

{{media
|image=
|series=
|prequel=
|sequel=
|setting=
|released=
|publisher=
|annotations=
}}

Parameters

There are no mandatory parameters, though it is advised that most of them should be filled in.

{{media}} Parameters
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Call to Adventure cover.jpg

series Use this parameter if the work is part of a series.

|series=Mistborn Adventure Game

prequel Use this parameter if this piece of media has a previous part; it will create a "<" arrow by the title at the top of the box.

|prequel=Mistborn Adventure Game (rule book)

sequel Use this parameter if this piece of media has a sequel; it will create a ">" arrow by the title at the top of the box.

|sequel=Terris: Wrought of Copper

setting Use this to indicate in which universe or world this work is set.

|setting=[[Cosmere]], [[Roshar]]

released The date when the work was released.

|released=June 25, 2020

publisher Which company published this work.
Note: Automatically generates a link to the publisher's Wikipedia page. To bypass this, use 'publisher.

|publisher=Crafty Games


Categories & Tags

Pages that make use of the {{media}} template will be added to Category: Media.

Articles using Template