Template:Media: Difference between revisions
From Pikmin Fanon
mNo edit summary |
(Minor tweaks.) |
||
Line 1: | Line 1: | ||
{{box|{{text size|'''''{{{1}}}'''''|2}}<br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{series|}}}|series of}} {{#if:{{{3|}}}|''{{c|{{{3}}}}}'' ROM hack|{{#if:{{{fanfic|}}}|fanfiction|fanon game}}|fanon game}}{{#if:{{{series|}}}|s}} created by {{#if:{{{nouser|}}}|{{{2}}}|[[User:{{{2}}}|{{{2}}}]]}}.|100%}}<includeonly>{{#if:{{{nocat|}}}||[[Category:{{{1}}}{{#if:{{{subcat|}}}| {{{subcat}}}}}]]}}</includeonly><noinclude> | {{box|{{text size|'''''{{{1}}}'''''|2}}<br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{series|}}}|series of}} {{#if:{{{3|}}}|''{{c|{{{3}}}}}'' ROM hack|{{#if:{{{fanfic|}}}|fanfiction|fanon game}}|fanon game}}{{#if:{{{series|}}}|s}} created by {{#if:{{{nouser|}}}|{{{2}}}|[[User:{{{2}}}|{{{2}}}]]}}.|100%}}<includeonly>{{#if:{{{nocat|}}}||[[Category:{{{1}}}{{#if:{{{subcat|}}}| {{{subcat}}}}}]]}}{{#if:{{{fanfic|}}}|[[Category:Fanfictions]]}}</includeonly><noinclude> | ||
==Info== | ==Info== | ||
{{rename|Template:Media|More inclusive name.}} | {{rename|Template:Media|More inclusive name.}} | ||
{{todo|Make every media header template to resemble this template.}} | {{todo| | ||
*Make every media header template to resemble this template. | |||
*Possibly make the template categorize pages that have the <code><nowiki>nocat=</nowiki></code> field set to true into a special category. This would apply to categories, such as game articles, that would otherwise contain just a single article.}} | |||
This template is a substitute for nonexistent [[:Category:Game header templates|game header template]]s. It links to the [[:Category:Fanon games|fanon game]] an article's page or section pertains to, and unless undesired, the game's creator. | This template is a substitute for nonexistent [[:Category:Game header templates|game header template]]s. It links to the [[:Category:Fanon games|fanon game]] an article's page or section pertains to, and unless undesired, the game's creator. | ||
Line 23: | Line 25: | ||
|- | |- | ||
! fanfic | ! fanfic | ||
| No || || Inclusion || If the media is fanfiction, give this field a value such as "y". Also changes some text. | | No || || Inclusion || If the media is fanfiction, give this field a value such as "y". Also changes some text. Ignores <code><nowiki>nocat=</nowiki></code>. | ||
|- | |- | ||
! series | ! series | ||
Line 35: | Line 37: | ||
|- | |- | ||
! nocat | ! nocat | ||
| No || || No categorization || Disallow the page from being categorized into its own fanon game content category. | | No || || No categorization || Disallow the page from being categorized into its own fanon game content category. Useful if the page is standalone. | ||
|} | |} | ||
Revision as of 14:55, 30 May 2022
This article or section contains information pertaining to [[{{{1}}}|{{{1}}}]], a fanon game created by [[User:{{{2}}}|{{{2}}}]]. |
Info
Reason: More inclusive name. |
|
This template is a substitute for nonexistent game header templates. It links to the fanon game an article's page or section pertains to, and unless undesired, the game's creator.
Using this template automatically categorizes the page into the specified game's category, and subcategory if given.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Main page and category | The page the relevant content belongs to. | |
2 | Yes | Creator | The game's creator. | |
3 | No | Game type | If the game is a ROM hack, specify the game it is a hack of. Also changes some text. | |
fanfic | No | Inclusion | If the media is fanfiction, give this field a value such as "y". Also changes some text. Ignores nocat= .
| |
series | No | Inclusion | If the fanon game is not standalone and is instead part of a series, give this field a value such as "y". | |
subcat | No | Subcategory | The specific subcategory the page belongs in if any. This works only if a game is specified. | |
nouser | No | User page link | If the user is not registered, give this field a value such as "y" to disable the link to their user page. | |
nocat | No | No categorization | Disallow the page from being categorized into its own fanon game content category. Useful if the page is standalone. |
Skeleton
{{game|<game>|<creator>|<hack base>|<series=y>|<subcat>|<nouser=y>|<nocat=y>}}