Difference between revisions of "Omni"

From Sega Retro

(added forcewidescreen support)
Line 3: Line 3:
 
|-
 
|-
 
| 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=,,}}}}{{{{type|}}}Bob}:forcewidescreen1|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}}}} | [[File:Notavailable.svg|120px]] }}
 
| valign="top"|
 
| valign="top"|

Revision as of 15:17, 9 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=
}}

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
}}
Urban Strike

{Bob}:forcewidescreen1|mode=userformat|skipthispage=no|secseparators=,,}}}}

UrbanStrike MDTitleScreen.png

Main page | Comparisons | Maps | Hidden content | Magazine articles | Video coverage | Reception | Region coding | Technical information
Smelly | Bums


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

No results