Difference between revisions of "ProtoOmni"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
(imported automation from Template:Omni) |
||
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}}}]]'', prerelease version of ''[[{{{final}}}]]'' | ||
|- | |- | ||
| class="bottomtempalt" width="120" valign="top" | | | class="bottomtempalt" width="120" valign="top" | | ||
− | {{# | + | {{#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}}}} | [[File:Notavailable.svg|120px]] }} | ||
| | | | ||
[[{{{name}}}|Main page]]{{ | [[{{{name}}}|Main page]]{{ | ||
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{hiddencontentpage|}}}|subpage=Hidden content}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{magazinepage|}}}|subpage=Magazine articles}}{{ | |
− | + | OmniSubPageCheck|name={{{name|}}}|override={{{regioncodingpage|}}}|subpage=Region coding}}{{ | |
− | + | 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> | ||
+ | {{Omni | ||
+ | | 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> |
Revision as of 14:53, 4 November 2023
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.
{{Omni | name= | final= | comparisonspage= <!--optional overrides --> | mapspage= | hiddencontentpage= | magazinepage= | regioncodingpage= | techpage= }}
Example
Ristar (prototype; 1994-07-01), prerelease version of Ristar | |
---|---|
Main page | Comparisons | Region coding |