Template:Media: Difference between revisions

From Pikmin Fanon
m (Fixed.)
m (Implemented the text size template and made other minor changes.)
Line 1: Line 1:
{{box|<big>'''''{{{1}}}'''''</big><br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{series|}}}|series of}} {{#if:{{{4|}}}|''{{c|{{{4}}}}}'' ROM hack|fanon game}}{{#if:{{{series|}}}|s}} created by {{#if:{{{nouser|}}}|{{{2}}}|[[User:{{{2}}}|{{{2}}}]]}}.|100%|height:70px}}<includeonly>{{#if:{{{nocat|}}}||[[Category:{{{1}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}}}]]}}</includeonly><noinclude>
{{box|{{text size|'''''{{{1}}}'''''|2}}<br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a {{#if:{{{series|}}}|series of}} {{#if:{{{4|}}}|''{{c|{{{4}}}}}'' ROM hack|fanon game}}{{#if:{{{series|}}}|s}} 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 11: Line 11:
|-
|-
! 1
! 1
| Yes ||  || Main page and category || The page the relevant content belongs to.
| '''Yes''' ||  || Main page and category || The page the relevant content belongs to.
|-
|-
! 2
! 2
| Yes ||  || Creator || The game's creator.
| '''Yes''' ||  || Creator || The game's creator.
|-
|-
! 3
! 3
Line 21: Line 21:
! 4
! 4
| No ||  || Game type || If the game is a ROM hack, specify the game it is a hack of. Also changes some text.
| No ||  || Game type || If the game is a ROM hack, specify the game it is a hack of. Also changes some text.
|-
! 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".
|-
|-
! 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.
|-
! 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".
|-
|-
! nocat
! nocat
Line 34: Line 34:
==Skeleton==
==Skeleton==
<pre>
<pre>
{{game|<game>|<creator>|<subcategory>|<nouser=y>|<nocat=y>}}
{{game|<game>|<creator>|<subcategory>|<hack base>|<series>|<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 15:31, 19 May 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.
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".
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>|<hack base>|<series>|<nouser=y>|<nocat=y>}}