Template:Media: Difference between revisions
From Pikmin Fanon
(That looks amazingly better.) |
(Further improvements. Now supports ROM hacks, and not linking to userpages.) |
||
Line 1: | Line 1: | ||
{{box|<big>'''''{{{1}}}'''''</big><br>This article or section contains information pertaining to ''[[{{{1}}}|{{{1}}}]]'', a fanon game created by [[User:{{{2}}}|{{{2}}}]].|100%|height:70px}}<includeonly>[[Category:{{{1}}}{{#if:{{{3|}}}| {{{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>[[Category:{{{1}}}{{#if:{{{3|}}}| {{{3}}}}}]]</includeonly><noinclude> | ||
==Info== | ==Info== | ||
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 | 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. | ||
Using this template automatically categorizes the page into the specified game's category, and subcategory if given. | Using this template automatically categorizes the page into the specified game's category, and subcategory if given. | ||
Line 14: | Line 14: | ||
|- | |- | ||
! 2 | ! 2 | ||
| | | Yes || || Creator || The game's creator. | ||
|- | |- | ||
! 3 | ! 3 | ||
| No || || Subcategory || The specific subcategory the page belongs in, if any. | | 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. | |||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{game|<game>|<creator>|<subcategory>}} | {{game|<game>|<creator>|<subcategory>|<nouser=y>}} | ||
</pre> | </pre> | ||
[[Category:Game header templates| ]] | [[Category:Game header templates| ]] | ||
[[Category:Box templates]]</noinclude> | [[Category:Box templates]]</noinclude> |
Revision as of 15:41, 1 April 2022
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. |
Skeleton
{{game|<game>|<creator>|<subcategory>|<nouser=y>}}