Template:Media: Difference between revisions
From Pikmin Fanon
mNo edit summary |
(→Skeleton: why) |
||
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{box| | {{box|{{text size|'''''{{{t1|{{{1}}}}}}'''''|16}}<br>This article or section presents information pertaining to {{#if:{{{the|}}}|the}} ''[[{{{1}}}|{{{t1|{{{1}}}}}}]]'', a {{#if:{{{series|}}}|series of}} {{#if:{{{3|}}}|''[[{{{3}}}]]'' {{#if:{{{dlc|}}}|DLC|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}}}}}{{#ifeq:{{{1}}}|{{BASEPAGENAME}}|{{!}} }}]]}}{{#if:{{{dlc|}}}|[[Category:DLC]]}}</includeonly> | ||
<noinclude> | |||
==Info== | ==Info== | ||
{{todo| | |||
*Make every media header template resemble this template. | |||
*Add an "engine" parameter for fanon media such as ''[[Pikifen]]''. <!-- Might not be necessary. --> | |||
*Have the template properly categorize pages that have the same name as the specified media under the space character in their respective category. | |||
*Have the template categorize fanfictions into [[:Category:Fanfictions]] only if both the page title matches the text in the <code><nowiki>{{{1}}}</nowiki></code> field and <code><nowiki>fanfic=</nowiki></code> is true. | |||
*Make the template categorize pages that have the <code><nowiki>nocat=</nowiki></code> field set to true into a special category, such as "Category:Standalone games". This would apply to media articles that have no other pages related to them.}} | |||
Using this template automatically categorizes the page into the specified | This template is a substitute for nonexistent [[:Category:Media banner templates|media header template]]s. It links to fanon content such as [[:Category:Games|fanon games]] an article's page or section pertains to, and unless undesired, its creator. | ||
Using this template automatically categorizes the page into the specified media's category, and subcategory if given. | |||
==Parameters== | ==Parameters== | ||
Line 11: | Line 19: | ||
|- | |- | ||
! 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 | ||
| No || || Subcategory || The specific subcategory the page belongs in | | No || || Game type || If the game is a ROM hack or DLC, specify the game it is a hack or DLC of. Also changes some text. | ||
|- | |||
! t1 | |||
| No || || Link text || Text to display on the link to the media's main article. | |||
|- | |||
! dlc | |||
| No || || Inclusion || If the media is DLC content, give this field a value such as "y". Also changes some text. Sorts pages into [[:Category:DLC]]. Ignores <code><nowiki>nocat=</nowiki></code>. | |||
|- | |||
! fanfic | |||
| 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 | |||
| 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. | |||
|- | |- | ||
! | ! the | ||
| No || || | | No || || Inclusion || Places the definitive article "the" in front of the game, DLC, or fanfiction title. To be used only if wording would otherwise be awkward. | ||
|- | |- | ||
! nouser | ! nouser | ||
Line 26: | Line 49: | ||
|- | |- | ||
! 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. | ||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{ | {{media|<game>|<creator>|<hack/DLC base>|<series=y>|<subcat>|<the=y>|<nouser=y>|<nocat=y>}} | ||
</pre> | </pre> | ||
[[Category: | [[Category:Media banner templates| ]] | ||
[[Category:Box templates]]</noinclude> | [[Category:Box templates]]</noinclude> |
Latest revision as of 20:43, 26 April 2024
This article or section presents information pertaining to [[{{{1}}}|{{{1}}}]], a fanon game created by [[User:{{{2}}}|{{{2}}}]]. |
Info
|
This template is a substitute for nonexistent media header templates. It links to fanon content such as fanon games an article's page or section pertains to, and unless undesired, its creator.
Using this template automatically categorizes the page into the specified media'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 or DLC, specify the game it is a hack or DLC of. Also changes some text. | |
t1 | No | Link text | Text to display on the link to the media's main article. | |
dlc | No | Inclusion | If the media is DLC content, give this field a value such as "y". Also changes some text. Sorts pages into Category:DLC. Ignores nocat= .
| |
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. | |
the | No | Inclusion | Places the definitive article "the" in front of the game, DLC, or fanfiction title. To be used only if wording would otherwise be awkward. | |
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
{{media|<game>|<creator>|<hack/DLC base>|<series=y>|<subcat>|<the=y>|<nouser=y>|<nocat=y>}}