Difference between revisions of "Omni"
From NEC Retro
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center" | + | <includeonly>{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center" style="width:100%;" |
! class="bottomtemphead" align="center" colspan="2"| ''[[{{#if:{{{title|}}}|{{{title|}}}|{{#replace:{{{name}}}|!!|<nowiki>!!</nowiki>}}}}]]'' | ! class="bottomtemphead" align="center" colspan="2"| ''[[{{#if:{{{title|}}}|{{{title|}}}|{{#replace:{{{name}}}|!!|<nowiki>!!</nowiki>}}}}]]'' | ||
|- | |- | ||
| class="bottomtempalt" width="120" valign="top" | | | class="bottomtempalt" width="120" valign="top" | | ||
{{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:bobscreen|mode=userformat|skipthispage=no|secseparators=,,}}}}{{#vardefine:forcewidescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:forcewidescreen|mode=userformat|skipthispage=no|secseparators=,,}}}}{{#vardefine:noresize|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:noresize|mode=userformat|skipthispage=no|secseparators=,,}}}} | {{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:bobscreen|mode=userformat|skipthispage=no|secseparators=,,}}}}{{#vardefine:forcewidescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:forcewidescreen|mode=userformat|skipthispage=no|secseparators=,,}}}}{{#vardefine:noresize|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:noresize|mode=userformat|skipthispage=no|secseparators=,,}}}} | ||
− | {{#if: {{#var:titlescreen}} | {{bobscreen|{{#var:titlescreen}}|width=120|forcewidescreen={{#var:forcewidescreen}}|noresize={{#var:noresize}}}} | [[File:Notavailable.svg|120px]] }} | + | {{#if: {{#var:titlescreen}} | {{bobscreen|{{#var:titlescreen}}|width=120|forcewidescreen={{#var:forcewidescreen}}|noresize={{#var:noresize}}|link={{{name|}}}}} | [[File:Notavailable.svg|120px|link={{{name|}}}]] }} |
| valign="top"| | | valign="top"| | ||
[[{{{name}}}|Main page]]{{ | [[{{{name}}}|Main page]]{{ | ||
Line 14: | Line 14: | ||
OmniSubPageCheck|name={{{name|}}}|override={{{changelogpage|}}}|subpage=Changelog}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{changelogpage|}}}|subpage=Changelog}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{creditspage|}}}|subpage=Production credits|subpagename=Credits}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{creditspage|}}}|subpage=Production credits|subpagename=Credits}}{{ | ||
+ | OmniSubPageCheck|name={{{name|}}}|override={{{passwordspage|}}}|subpage=Passwords}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{hiddencontentpage|}}}|subpage=Hidden content}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{hiddencontentpage|}}}|subpage=Hidden content}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{bugspage|}}}|subpage=Bugs}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{bugspage|}}}|subpage=Bugs}}{{ | ||
Line 50: | Line 51: | ||
| changelogpage= | | changelogpage= | ||
| creditspage= | | creditspage= | ||
+ | | passwordspage= | ||
| hiddencontentpage= | | hiddencontentpage= | ||
| bugspage= | | bugspage= |
Latest revision as of 13:06, 17 February 2024
This template has been manually copied from Sega Retro, specifically Template:Omni Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date. |
This task is unfinished This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of NEC Retro:Todo until this message is removed. |
Omni template for navigating sub-pages. Most video games will need one. Most of this template is automated when a "name" is provided, but by adding "xxxpage=yes" arguments, you can force a red link to appear.
{{Omni | name= | comparisonspage= <!--optional overrides --> | mapspage= | achievementspage= | dlcpage= | historypage= | changelogpage= | creditspage= | passwordspage= | hiddencontentpage= | bugspage= | developmentpage= | magazinepage= | videopage= | receptionpage= | promopage= | merchandisepage= | compatibilitypage= | techpage= | audiobooks= | prereleases= }}
Use | extrasubpageX= for any necessary non-standard sub-pages.
Example
{{Omni | name=Bonk's Adventure | comparisonspage=yes | mapspage=yes | hiddencontentpage=yes | magazinepage=yes | videopage=yes | receptionpage=yes | extrasubpage1=Smelly | extrasubpage2=Bums }}
Bonk's Adventure | |
---|---|
Main page | Comparisons | Maps | Hidden content | Bugs | Magazine articles | Video coverage | Reception | Promotional material
|