Difference between revisions of "ProtoOmni"

From Sega Retro

m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:page|{{{1}}}}}{{#vardefine:collapse|{{{2}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: page}}|collapse|mw-collapsed| }}{{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center" style="min-width:900px"
+
<includeonly>{{#vardefine:page|{{{1}}}}}{{#vardefine:collapse|{{{2}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: page}}|collapse|mw-collapsed| }}{{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center" style="min-width:900px"
! class="bottomtemphead" align="center" colspan="2"| ''[[{{{name}}}]]'', prerelease version of ''[[{{{final}}}]]''
+
! class="bottomtemphead" align="center" colspan="2"| ''[[{{{name}}}]]'', prototype version of ''[[{{{final}}}]]''
 
|-
 
|-
 
| 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|}}}ProtoBob}:bobscreen|mode=userformat|skipthispage=no|secseparators=,,}}}}{{#vardefine:forcewidescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}ProtoBob}: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"|
 
[[{{{name}}}|Main page]]{{
 
[[{{{name}}}|Main page]]{{
#ifeq: {{{comparisonspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Comparisons|Comparisons]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{
#ifeq: {{{mapspage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Maps|Maps]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{
#ifeq: {{{hiddencontentpage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Hidden content|Hidden content]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{hiddencontentpage|}}}|subpage=Hidden content}}{{
#ifeq: {{{magazinepage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Magazine articles|Magazine articles]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{magazinepage|}}}|subpage=Magazine articles}}{{
#ifeq: {{{regioncodingpage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Region coding|Region coding]]|}}{{
+
OmniSubPageCheck|name={{{name|}}}|override={{{regioncodingpage|}}}|subpage=Region coding}}{{
#ifeq: {{{techpage}}} | yes |&nbsp;{{!}} [[{{{name}}}/Technical information|Technical information]]|}}<br/><br/>
+
OmniSubPageCheck|name={{{name|}}}|override={{{techpage|}}}|subpage=Technical information}}<br/><br/>
 
Part of [[{{{final}}}/Development|''{{{final}}}'' development]]
 
Part of [[{{{final}}}/Development|''{{{final}}}'' development]]
|}<noinclude>[[Category:Templates]]</noinclude>
+
|}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (prototypes)]]|[[Category:{{{name}}}]]}}</includeonly><noinclude>
 +
Omni template for prototypes. 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>
 +
{{ProtoOmni
 +
| name=
 +
| final=
 +
 
 +
| comparisonspage= <!--optional overrides -->
 +
| mapspage=
 +
| hiddencontentpage=
 +
| magazinepage=
 +
| regioncodingpage=
 +
| techpage=
 +
}}
 +
</pre>
 +
 
 +
==Example==
 +
{{ProtoOmni
 +
| name=Ristar (prototype; 1994-07-01)
 +
| final=Ristar
 +
}}
 +
</pre>[[Category:Templates]]</noinclude>

Latest revision as of 13:15, 2 January 2024

Omni template for prototypes. 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.

{{ProtoOmni
| name=
| final=

| comparisonspage= <!--optional overrides -->
| mapspage=
| hiddencontentpage=
| magazinepage=
| regioncodingpage=
| techpage=
}}

Example

Ristar (prototype; 1994-07-01), prototype version of Ristar

Ristar1994-07-01 MD TitleScreen.png

Main page | Comparisons | Region coding

Part of Ristar development