Difference between revisions of "Template:Media"

Adding the documentation
m (+usage)
(Adding the documentation)
--></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]]
Editors, Keepers
8,241

edits