Difference between revisions of "Omni"

From Sega Retro

 
(71 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center" style="min-width:900px"
+
<includeonly>{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center"
! class="bottomtemphead" align="center" colspan="2"| ''[[{{#if:{{{title|}}}|{{{title}}}|{{{name}}}}}]]''
+
! 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" |
{{#if: {{{titlescreen|}}} | {{bobscreen|{{{titlescreen}}}|width=120}} | [[File:Notavailable.svg|120px]] }}
+
{{#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}}|link={{{name|}}}}} | [[File:Notavailable.svg|120px|link={{{name|}}}]] }}
 
| valign="top"|
 
| valign="top"|
 
[[{{{name}}}|Main page]]{{
 
[[{{{name}}}|Main page]]{{
#ifeq: {{{comparisonspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Comparisons|Comparisons]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{
#ifeq: {{{secretspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Secrets|Secrets]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{cardspage|}}}|subpage=Cards}}{{
#ifeq: {{{mapspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Maps|Maps]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{
#ifeq: {{{achievementspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Achievements|Achievements]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{achievementspage|}}}|subpage=Achievements}}{{
#ifeq: {{{cheatspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Cheat codes|Cheat codes]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{dlcpage|}}}|subpage=Downloadable content}}{{
#ifeq: {{{developmentpage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Development|Development]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{historypage|}}}|subpage=History}}{{
#ifeq: {{{magazinepage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Magazine articles|Magazine articles]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{changelogpage|}}}|subpage=Changelog}}{{
#ifeq: {{{schgpage}}} | yes |&nbsp;{{!}} [[SCHG:{{{name}}}|Hacking guide]]|}}
+
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={{{artworkpage|}}}|subpage=Artwork}}{{
 +
OmniSubPageCheck|name={{{name|}}}|override={{{regioncodingpage|}}}|subpage=Region coding}}{{
 +
OmniSubPageCheck|name={{{name|}}}|override={{{compliancepage|}}}|subpage=Compliance}}{{
 +
OmniSubPageCheck|name={{{name|}}}|override={{{techpage|}}}|subpage=Technical information}}{{
 +
OmniSubPageCheck|name={{{name|}}}|override={{{bootlegpage|}}}|subpage=Bootlegs}}{{
 +
OmniSubPageCheck|name={{{name|}}}|override={{{clonepage|}}}|subpage=Clones}}{{
 +
#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|}}}}}
 +
}}
  
{{#if:{{{books|}}}|<br/>'''Books:''' {{{books}}}|}}{{
+
{{#if:{{{books|}}}{{{music|}}}{{{audiobooks|}}}{{{videos|}}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Old Omni media]]}}{{#if:{{{books|}}}|<br/>'''Books:''' {{{books}}}|}}{{
 
#if:{{{music|}}}|<br/>'''Music:''' {{{music}}}|}}{{
 
#if:{{{music|}}}|<br/>'''Music:''' {{{music}}}|}}{{
 
#if:{{{audiobooks|}}}|<br/>'''Audiobooks:''' {{{audiobooks}}}|}}{{
 
#if:{{{audiobooks|}}}|<br/>'''Audiobooks:''' {{{audiobooks}}}|}}{{
#if:{{{videos|}}}|<br/>'''Videos:''' {{{videos}}}|}}{{
+
#if:{{{videos|}}}|<br/>'''Videos:''' {{{videos}}}|}}|<br/>{{OmniMedia|{{{name}}}}}}}{{#vardefine:democheck|{{OmniDemos|{{{name|}}}}}}}{{#vardefine:protocheck|{{OmniPrereleases|{{{name|}}}}}}}{{
#if:{{{prereleases|}}}|<br/>'''Prereleases:''' {{{prereleases}}}|}}
+
#if:{{#var:democheck}}|{{#var:democheck}}<br/>|}}{{
|}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
#if:{{#var:protocheck}}|{{#var:protocheck}}|}}
 +
|}{{clearvar|titlescreen|democheck|protocheck}}{{#vardefine:cattype|{{#if:{{{type|}}}|&#59; {{lc:{{{type|}}}}}}}}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game{{#var:cattype}})]]{{#if:{{{prereleases|}}}|[[Category:Old prereleases field]]|}}|[[Category:{{{name}}}]]}}</includeonly><noinclude>
 +
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>
 +
{{Omni
 +
| name=
 +
 
 +
| comparisonspage= <!--optional overrides -->
 +
| cardspage=
 +
| mapspage=
 +
| achievementspage=
 +
| dlcpage=
 +
| historypage=
 +
| changelogpage=
 +
| creditspage=
 +
| passwordspage=
 +
| hiddencontentpage=
 +
| bugspage=
 +
| developmentpage=
 +
| magazinepage=
 +
| videopage=
 +
| receptionpage=
 +
| promopage=
 +
| merchandisepage=
 +
| artworkpage=
 +
| regioncodingpage=
 +
| compliancepage=
 +
| techpage=
 +
| bootlegpage=
 +
| clonepage=
 +
 
 +
| audiobooks=
 +
}}
 +
</pre>
 +
 
 +
Use <tt>| extrasubpageX=</tt> for any necessary non-standard sub-pages.
 +
 
 +
==Example==
 +
<pre>
 +
{{Omni
 +
| name=Urban Strike
 +
| comparisonspage=yes
 +
| mapspage=yes
 +
| hiddencontentpage=yes
 +
| magazinepage=yes
 +
| videopage=yes
 +
| receptionpage=yes
 +
| regioncodingpage=yes
 +
| extrasubpage1=Smelly
 +
| extrasubpage2=Bums
 +
}}
 +
</pre>
 +
{{Omni
 +
| name=Urban Strike
 +
| comparisonspage=yes
 +
| mapspage=yes
 +
| hiddencontentpage=yes
 +
| magazinepage=yes
 +
| videopage=yes
 +
| receptionpage=yes
 +
| regioncodingpage=yes
 +
| extrasubpage1=Smelly
 +
| extrasubpage2=Bums
 +
}}
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 15:28, 26 August 2024

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 -->
| cardspage=
| mapspage=
| achievementspage=
| dlcpage=
| historypage=
| changelogpage=
| creditspage=
| passwordspage=
| hiddencontentpage=
| bugspage=
| developmentpage=
| magazinepage=
| videopage=
| receptionpage=
| promopage=
| merchandisepage=
| artworkpage=
| regioncodingpage=
| compliancepage=
| techpage=
| bootlegpage=
| clonepage=

| audiobooks=
}}

Use | extrasubpageX= for any necessary non-standard sub-pages.

Example

{{Omni
| name=Urban Strike
| comparisonspage=yes
| mapspage=yes
| hiddencontentpage=yes
| magazinepage=yes
| videopage=yes
| receptionpage=yes
| regioncodingpage=yes
| extrasubpage1=Smelly
| extrasubpage2=Bums
}}
Urban Strike

UrbanStrike MDTitleScreen.png

Main page | Comparisons | Maps | Hidden content | Magazine articles | Video coverage | Reception | Region coding | Technical information | Bootlegs
Smelly | Bums


Books: Biblioteka zhurnala Tricks. Vypusk 4. Urban Strike (1995)

No results