Difference between revisions of "Omni"
From Sega Retro
Line 34: | Line 34: | ||
#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}}}|}}|<br/>{{OmniMedia|{{{name}}}}}}}{{ | + | #if:{{{videos|}}}|<br/>'''Videos:''' {{{videos}}}|}}|<br/>{{OmniMedia|{{{name}}}}}}}{{#vardefine:democheck|{{OmniDemos|{{{name|}}}}}}}{{#vardefine:protocheck|{{OmniPrereleases|{{{name|}}}}}}}{{ |
− | OmniDemos|{{{name|}}}}}{{ | + | #if:{{#var:democheck}}|<br/>{{#var:democheck}}|}}{{ |
− | OmniPrereleases|{{{name|}}}}} | + | #if:{{#var:protocheck}}|<br/>{{#var:protocheck}}|}} |
− | |}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]{{#if:{{{prereleases|}}}|[[Category:Old prereleases field]]|}}|[[Category:{{{name}}}]]}}</includeonly><noinclude> | + | |}{{clearvar|titlescreen|democheck|protocheck}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]{{#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. | ||
Revision as of 07:52, 2 January 2023
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 --> | mapspage= | achievementspage= | dlcpage= | historypage= | changelogpage= | creditspage= | hiddencontentpage= | bugspage= | developmentpage= | magazinepage= | videopage= | receptionpage= | promopage= | merchandisepage= | regioncodingpage= | techpage= | audiobooks= | prereleases= <!-- note: prototypes are automated, so this is for mainly for demo discs and the like --> }}
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 }}