Actions

Template

Difference between revisions of "Omni"

From NEC Retro

 
(5 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 22: Line 23:
 
OmniSubPageCheck|name={{{name|}}}|override={{{promopage|}}}|subpage=Promotional material}}{{
 
OmniSubPageCheck|name={{{name|}}}|override={{{promopage|}}}|subpage=Promotional material}}{{
 
OmniSubPageCheck|name={{{name|}}}|override={{{merchandisepage|}}}|subpage=Merchandise}}{{
 
OmniSubPageCheck|name={{{name|}}}|override={{{merchandisepage|}}}|subpage=Merchandise}}{{
OmniSubPageCheck|name={{{name|}}}|override={{{regioncodingpage|}}}|subpage=Region coding}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{compatibilitypage|}}}|subpage=Compatibility}}{{
 
OmniSubPageCheck|name={{{name|}}}|override={{{techpage|}}}|subpage=Technical information}}{{
 
OmniSubPageCheck|name={{{name|}}}|override={{{techpage|}}}|subpage=Technical information}}{{
 
#if: {{{extrasubpage1|}}}|<br/>{{
 
#if: {{{extrasubpage1|}}}|<br/>{{
Line 37: 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. Title screens and categories are handled automatically.
+
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 49: Line 51:
 
| changelogpage=
 
| changelogpage=
 
| creditspage=
 
| creditspage=
 +
| passwordspage=
 
| hiddencontentpage=
 
| hiddencontentpage=
 
| bugspage=
 
| bugspage=
Line 83: Line 86:
 
{{Omni
 
{{Omni
 
| name=Bonk's Adventure
 
| name=Bonk's Adventure
 +
| comparisonspage=yes
 +
| mapspage=yes
 +
| hiddencontentpage=yes
 +
| magazinepage=yes
 +
| videopage=yes
 +
| receptionpage=yes
 
| extrasubpage1=Smelly
 
| extrasubpage1=Smelly
 
| extrasubpage2=Bums
 
| extrasubpage2=Bums

Latest revision as of 13:06, 17 February 2024

Segaretro-round.svg 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.
48
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

BonksAdventure title.png

Main page | Comparisons | Maps | Hidden content | Bugs | Magazine articles | Video coverage | Reception | Promotional material
Smelly | Bums