Difference between revisions of "Omni"

From Sega Retro

Line 1: Line 1:
{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center"
+
<includeonly>{{#vardefine:collapse|{{{1}}}}}{| class="bottomtemplate mw-collapsible {{#ifeq: {{#var: collapse}}|collapse|mw-collapsed| }}" align="center"
 
! class="bottomtemphead" align="center" colspan="2"| ''[[{{#if:{{{title|}}}|{{{title|}}}|{{#replace:{{{name}}}|!!|<nowiki>!!</nowiki>}}}}]]''
 
! class="bottomtemphead" align="center" colspan="2"| ''[[{{#if:{{{title|}}}|{{{title|}}}|{{#replace:{{{name}}}|!!|<nowiki>!!</nowiki>}}}}]]''
 
|-
 
|-
 
| class="bottomtempalt" width="120" valign="top" |
 
| class="bottomtempalt" width="120" valign="top" |
{{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={Bob}:bobscreen|secseparators=,,}}}}
+
{{#vardefine:titlescreen|{{#dpl:|titlematch={{{name|}}}|noresultsheader=\n|include={Bob}:bobscreen|mode=userformat|secseparators=,,}}}}
 
{{#if: {{#var:titlescreen}} | {{bobscreen|{{#var:titlescreen}}|width=120}} | [[File:Notavailable.svg|120px]] }}
 
{{#if: {{#var:titlescreen}} | {{bobscreen|{{#var:titlescreen}}|width=120}} | [[File:Notavailable.svg|120px]] }}
 
| valign="top"|
 
| valign="top"|
Line 31: Line 31:
 
#if:{{{videos|}}}|<br/>'''Videos:''' {{{videos}}}|}}|<br/>{{OmniMedia|{{{name}}}}}}}{{
 
#if:{{{videos|}}}|<br/>'''Videos:''' {{{videos}}}|}}|<br/>{{OmniMedia|{{{name}}}}}}}{{
 
#if:{{{prereleases|}}}|<br/>'''Prereleases:''' {{{prereleases}}}|}}
 
#if:{{{prereleases|}}}|<br/>'''Prereleases:''' {{{prereleases}}}|}}
|}{{clearvar|titlescreen}}<includeonly>{{#if:{{NAMESPACE}}||[[Category:{{{name}}}]]}}</includeonly><noinclude>
+
|}{{clearvar|titlescreen}}{{#if:{{NAMESPACE}}||[[Category:{{{name}}}]]}}</includeonly><noinclude>
Omni template for navigating sub-pages. Most video games will need one.
+
Omni template for navigating sub-pages. Most video games will need one. Title screens and categories are handled automatically.
  
 
<pre>
 
<pre>
 
{{Omni
 
{{Omni
| titlescreen=
 
 
| name=
 
| name=
 
| systemspage=
 
| systemspage=
Line 60: Line 59:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
==Example==
 +
<pre>
 +
{{Omni
 +
| name=Urban Strike
 +
| comparisonspage=yes
 +
| mapspage=yes
 +
| hiddencontentpage=yes
 +
| magazinepage=yes
 +
| videopage=yes
 +
| receptionpage=yes
 +
| regioncodingpage=yes
 +
}}
 +
</pre>
 +
{{Omni
 +
| name=Urban Strike
 +
| comparisonspage=yes
 +
| mapspage=yes
 +
| hiddencontentpage=yes
 +
| magazinepage=yes
 +
| videopage=yes
 +
| receptionpage=yes
 +
| regioncodingpage=yes
 +
}}
  
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 07:42, 27 April 2021

Omni template for navigating sub-pages. Most video games will need one. Title screens and categories are handled automatically.

{{Omni
| name=
| systemspage=
| comparisonspage=
| mapspage=
| achievementspage=
| dlcpage=
| historypage=
| changelogpage=
| creditspage=
| hiddencontentpage=
| bugspage=
| magazinepage=
| videopage=
| receptionpage=
| promopage=
| merchandisepage=
| regioncodingpage=
| techpage=

| audiobooks=
| prereleases=
}}

Example

{{Omni
| name=Urban Strike
| comparisonspage=yes
| mapspage=yes
| hiddencontentpage=yes
| magazinepage=yes
| videopage=yes
| receptionpage=yes
| regioncodingpage=yes
}}
Urban Strike

UrbanStrike MDTitleScreen.png

Main page | Comparisons | Maps | Hidden content | Magazine articles | Video coverage | Reception | Region coding


Books: Biblioteka zhurnala Tricks. Vypusk 4. Urban Strike (1995)