Difference between revisions of "Omni"
From Sega Retro
(6 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
| 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]]{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{comparisonspage|}}}|subpage=Comparisons}}{{ | ||
+ | OmniSubPageCheck|name={{{name|}}}|override={{{cardspage|}}}|subpage=Cards}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{mapspage|}}}|subpage=Maps}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{achievementspage|}}}|subpage=Achievements}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{achievementspage|}}}|subpage=Achievements}}{{ | ||
Line 23: | Line 24: | ||
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={{{artworkpage|}}}|subpage=Artwork}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{regioncodingpage|}}}|subpage=Region coding}}{{ | 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={{{techpage|}}}|subpage=Technical information}}{{ | ||
OmniSubPageCheck|name={{{name|}}}|override={{{bootlegpage|}}}|subpage=Bootlegs}}{{ | OmniSubPageCheck|name={{{name|}}}|override={{{bootlegpage|}}}|subpage=Bootlegs}}{{ | ||
Line 40: | Line 43: | ||
#if:{{#var:democheck}}|{{#var:democheck}}<br/>|}}{{ | #if:{{#var:democheck}}|{{#var:democheck}}<br/>|}}{{ | ||
#if:{{#var:protocheck}}|{{#var:protocheck}}|}} | #if:{{#var:protocheck}}|{{#var:protocheck}}|}} | ||
− | |}{{clearvar|titlescreen|democheck|protocheck}}{{# | + | |}{{clearvar|titlescreen|democheck|protocheck}}{{#vardefine:cattype|{{#if:{{{type|}}}|; {{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. | 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. | ||
Line 48: | Line 51: | ||
| comparisonspage= <!--optional overrides --> | | comparisonspage= <!--optional overrides --> | ||
+ | | cardspage= | ||
| mapspage= | | mapspage= | ||
| achievementspage= | | achievementspage= | ||
Line 54: | Line 58: | ||
| changelogpage= | | changelogpage= | ||
| creditspage= | | creditspage= | ||
+ | | passwordspage= | ||
| hiddencontentpage= | | hiddencontentpage= | ||
| bugspage= | | bugspage= | ||
Line 62: | Line 67: | ||
| promopage= | | promopage= | ||
| merchandisepage= | | merchandisepage= | ||
+ | | artworkpage= | ||
| regioncodingpage= | | regioncodingpage= | ||
+ | | compliancepage= | ||
| techpage= | | techpage= | ||
| bootlegpage= | | bootlegpage= | ||
+ | | clonepage= | ||
| audiobooks= | | audiobooks= |
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 }}