Template:Media: Difference between revisions

From Pikmin Fanon
(Further improvements. Now supports ROM hacks, and not linking to userpages.)
m (Nocat field.)
Line 1: Line 1:
{{box|<big>'''''{{{1}}}'''''</big><br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{4|}}}|''{{c|{{{4}}}}}'' ROM hack|fanon game}} created by {{#if:{{{nouser|}}}|{{{2}}}|[[User:{{{2}}}|{{{2}}}]]}}.|100%|height:70px}}<includeonly>[[Category:{{{1}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}}}]]</includeonly><noinclude>
{{box|<big>'''''{{{1}}}'''''</big><br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{4|}}}|''{{c|{{{4}}}}}'' ROM hack|fanon game}} created by {{#if:{{{nouser|}}}|{{{2}}}|[[User:{{{2}}}|{{{2}}}]]}}.|100%|height:70px}}<includeonly>{{#if:{{nocat|}}||[[Category:{{{1}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}}}]]}}</includeonly><noinclude>


==Info==
==Info==
Line 24: Line 24:
! nouser
! 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.
| 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.
|}
|}


==Skeleton==
==Skeleton==
<pre>
<pre>
{{game|<game>|<creator>|<subcategory>|<nouser=y>}}
{{game|<game>|<creator>|<subcategory>|<nouser=y>|<nocat=y>}}
</pre>
</pre>


[[Category:Game header templates| ]]
[[Category:Game header templates| ]]
[[Category:Box templates]]</noinclude>
[[Category:Box templates]]</noinclude>

Revision as of 20:42, 12 April 2022

{{{1}}}
This article or section contains information pertaining to [[{{{1}}}|{{{1}}}]], a fanon game created by [[User:{{{2}}}|{{{2}}}]].

Info

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 Subcategory The specific subcategory the page belongs in, if any.
4 No Game type If the game is a ROM hack, specify the game it is a hack of. Also changes some text.
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.

Skeleton

{{game|<game>|<creator>|<subcategory>|<nouser=y>|<nocat=y>}}