Difference between revisions of "Omni"
From Sega Retro
(Systems page field no longer needed; it was only used by Streets of Rage 4, and is now listed through an extra sub-page field) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
| class="bottomtempalt" width="120" valign="top" | | | class="bottomtempalt" width="120" valign="top" | | ||
− | {{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={Bob}:bobscreen|mode=userformat|skipthispage=no|secseparators=,,}}}} | + | {{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={{{{type|}}}Bob}:bobscreen|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}} | [[File:Notavailable.svg|120px]] }} | + | {{#if: {{#var:titlescreen}} | {{bobscreen|{{#var:titlescreen}}|width=120|noresize={{#var:noresize}}}} | [[File:Notavailable.svg|120px]] }} |
| valign="top"| | | valign="top"| | ||
[[{{{name}}}|Main page]]{{ | [[{{{name}}}|Main page]]{{ | ||
Line 13: | Line 13: | ||
#ifeq: {{{historypage}}} | yes | {{!}} [[{{{name}}}/History|History]]|}}{{ | #ifeq: {{{historypage}}} | yes | {{!}} [[{{{name}}}/History|History]]|}}{{ | ||
#ifeq: {{{changelogpage}}} | yes | {{!}} [[{{{name}}}/Changelog|Changelog]]|}}{{ | #ifeq: {{{changelogpage}}} | yes | {{!}} [[{{{name}}}/Changelog|Changelog]]|}}{{ | ||
− | #ifeq: {{{creditspage}}} | yes | {{!}} [[{{{name}}}/ | + | #ifeq: {{{creditspage}}} | yes | {{!}} [[{{{name}}}/Production credits|Credits]]|}}{{ |
#ifeq: {{{hiddencontentpage}}} | yes | {{!}} [[{{{name}}}/Hidden content|Hidden content]]|}}{{ | #ifeq: {{{hiddencontentpage}}} | yes | {{!}} [[{{{name}}}/Hidden content|Hidden content]]|}}{{ | ||
#ifeq: {{{bugspage}}} | yes | {{!}} [[{{{name}}}/Bugs|Bugs]]|}}{{ | #ifeq: {{{bugspage}}} | yes | {{!}} [[{{{name}}}/Bugs|Bugs]]|}}{{ | ||
Line 33: | Line 33: | ||
#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}}}}}}} |
− | + | {{OmniPrereleases|{{{name|}}}|otherprereleases={{{prereleases|}}}}} | |
|}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]|[[Category:{{{name}}}]]}}</includeonly><noinclude> | |}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}|[[Category:Navigational templates (single game)]]|[[Category:{{{name}}}]]}}</includeonly><noinclude> | ||
Omni template for navigating sub-pages. Most video games will need one. Title screens and categories are handled automatically. | Omni template for navigating sub-pages. Most video games will need one. Title screens and categories are handled automatically. | ||
Line 60: | Line 60: | ||
| audiobooks= | | audiobooks= | ||
− | | prereleases= | + | | prereleases= <!-- note: prototypes are automated, so this is for mainly for demo discs and the like --> |
}} | }} | ||
</pre> | </pre> | ||
Line 94: | Line 94: | ||
}} | }} | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Revision as of 12:55, 10 August 2022
Omni template for navigating sub-pages. Most video games will need one. Title screens and categories are handled automatically.
{{Omni | name= | comparisonspage= | 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 }}