Difference between revisions of "ProtoOmni"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
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}}}]]'', | + | ! class="bottomtemphead" align="center" colspan="2"| ''[[{{{name}}}]]'', prototype 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}}|link={{{name|}}}}} | [[File:Notavailable.svg|120px|link={{{name|}}}]] }} |
+ | | 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={{{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> | ||
+ | {{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 | |
---|---|
Main page | Comparisons | Region coding |