Difference between revisions of "Omni"
From NEC Retro
(7 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: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|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]]{{ | ||
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{achievementspage|}}}|subpage=Achievements}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{dlcpage|}}}|subpage=Downloadable content}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{historypage|}}}|subpage=History}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{changelogpage|}}}|subpage=Changelog}}{{ | |
− | + | 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={{{bugspage|}}}|subpage=Bugs}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{developmentpage|}}}|subpage=Development}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{magazinepage|}}}|subpage=Magazine articles}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{videopage|}}}|subpage=Video coverage}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{receptionpage|}}}|subpage=Reception}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{promopage|}}}|subpage=Promotional material}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{merchandisepage|}}}|subpage=Merchandise}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{compatibilitypage|}}}|subpage=Compatibility}}{{ | |
− | #if: {{{extrasubpage1|}}}|<br/> | + | OmniSubPageCheck|name={{{name|}}}|override={{{techpage|}}}|subpage=Technical information}}{{ |
− | + | #if: {{{extrasubpage1|}}}|<br/>{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{extrasubpage1|}}}|subpage={{{extrasubpage1|}}}|nopipe=true}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{extrasubpage2|}}}|subpage={{{extrasubpage2|}}}}}{{ | |
+ | OmniSubPageCheck|name={{{name|}}}|override={{{extrasubpage3|}}}|subpage={{{extrasubpage3|}}}}}{{ | ||
+ | OmniSubPageCheck|name={{{name|}}}|override={{{extrasubpage4|}}}|subpage={{{extrasubpage4|}}}}} | ||
|}} | |}} | ||
Line 36: | Line 38: | ||
#if:{{{prereleases|}}}|<br/>'''Prereleases:''' {{{prereleases}}}|}} | #if:{{{prereleases|}}}|<br/>'''Prereleases:''' {{{prereleases}}}|}} | ||
|}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]|[[Category:{{{name}}}]]}}</includeonly><noinclude>{{SegaRetroTemplate}}{{TODO}} | |}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]|[[Category:{{{name}}}]]}}</includeonly><noinclude>{{SegaRetroTemplate}}{{TODO}} | ||
− | Omni template for navigating sub-pages. Most video games will need one. | + | 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. |
<pre> | <pre> | ||
{{Omni | {{Omni | ||
| name= | | name= | ||
− | | comparisonspage= | + | |
+ | | comparisonspage= <!--optional overrides --> | ||
| mapspage= | | mapspage= | ||
| achievementspage= | | achievementspage= | ||
Line 48: | Line 51: | ||
| changelogpage= | | changelogpage= | ||
| creditspage= | | creditspage= | ||
+ | | passwordspage= | ||
| hiddencontentpage= | | hiddencontentpage= | ||
| bugspage= | | bugspage= | ||
Line 56: | Line 60: | ||
| promopage= | | promopage= | ||
| merchandisepage= | | merchandisepage= | ||
− | | | + | | compatibilitypage= |
| techpage= | | techpage= | ||
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
|