Difference between revisions of "Template:Media"

From The Coppermind
Jump to navigation Jump to search
m (fix cat)
m
 
(6 intermediate revisions by 3 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}} }}|}}
{{#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 35: 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 ===
All the parameters are optional, though it is advised that most of them should be filled in.
<pre class=mw-code>
: Passing a file name in {{{image}}} will output a thumbnail at the top of the infobox.
{{media
: The release date can be added in {{{released}}}.
|image=
: 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.
|series=
: To indicate whether a piece is standalone, or part of a larger series, use {{{setting}}}
|prequel=
: {{{publisher}}} link to the publisher's Wikipedia page
|sequel=
: Passing {{{annotations}}} will link to one of the annotations pages on [[Brandon]]'s website.
|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]]
[[category: infoboxes]]

== Articles using Template ==
{{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