There are currently 0 stubs. You can help us by expanding these articles!

Difference between revisions of "Template:Main-media"

From the Conker Wiki, the Conker encyclopedia
Jump to navigationJump to search
m
m
Line 1: Line 1:
<includeonly>:''{{#ifexist:{{{1|List of {{PAGENAME}} media}}}|For a complete list of media for this subject, see [[{{{1|List of {{PAGENAME}} media}}}]].}} {{#ifexist:{{{ingame|List of {{PAGENAME}} in-game music}}}|For a list of in-game music, see [[{{{ingame|List of {{PAGENAME}} in-game music}}}]].}}''</includeonly><noinclude>__NOTOC__
<includeonly>:For a complete list of media for this subject, see ''[[{{#if:{{{1|}}}|{{{1|}}}|List of {{PAGENAME}} media}}]]''</includeonly><noinclude>__NOTOC__
==Usage==
==Usage==
Place the template on the desired page and it will link to the corresponding media list page and/or in-game music page. By default, it will always assume <code>List of ___ media</code> and <code>List of ___ in-game music</code> where the blanks will be the article name.
Place the template on the desired page and it will link to the corresponding media list page and/or in-game music page. By default, it will always assume <code>List of ___ media</code> where the blanks will be the article name.


==Overrides==
e.g., <code><nowiki>{{main-media|Conker: Live & Reloaded}}</nowiki></code> gives:
If there is a reason to link elsewhere and not create a new page or an identifier is present, the default links can be overridden. The first parameter is used for the name of the media list, and the <code>ingame</code> parameter is use for the name of the in-game music article. To remove the in-game music link, such as if the list exists but is a redirect, set the <code>ingame</code> parameter to blank.
{{main-media|Conker: Live & Reloaded}}


===Code===
*<code><nowiki>{{Main-media}}</nowiki></code>
*<code><nowiki>{{Main-media|Conker's Bad Fur Day}}</nowiki></code>
*<code><nowiki>{{Main-media|Conker|ingame=Conker: Live & Reloaded}}</nowiki></code>
*<code><nowiki>{{Main-media|ingame=Conker: Live & Reloaded}}</nowiki></code>
===Outputs===
{{Main-media}}
{{Main-media|Conker's Bad Fur Day}}
{{Main-media|Conker|ingame=Conker: Live & Reloaded}}
{{Main-media|ingame=Conker: Live & Reloaded}}
Original template is from [[mariowiki:Template:Main-media|Super Mario Wiki]].
[[Category:Notice templates]]</noinclude>
[[Category:Notice templates]]</noinclude>

Revision as of 02:23, March 5, 2022

Usage

Place the template on the desired page and it will link to the corresponding media list page and/or in-game music page. By default, it will always assume List of ___ media where the blanks will be the article name.

e.g., {{main-media|Conker: Live & Reloaded}} gives:

For a complete list of media for this subject, see Conker: Live & Reloaded