Actions

Template

Difference between revisions of "Nav"

From Sonic Retro

 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#if: {{#var:navruncount}} | {{{!}} class="bottomtemplate" align="center" style="width:100%; margin-top:0px; margin-bottom:0px; border-top:none;"
+
{{#if: {{#var:navruncount|}} | {{{!}} class="bottomtemplate" align="center" style="width:100%; margin-top:0px; margin-bottom:0px; border-top:none;"
 
| {{{!}} class="bottomtemplate" align="center" colspan="2" style="width:100%; margin-top:0px; margin-bottom:0px;"
 
| {{{!}} class="bottomtemplate" align="center" colspan="2" style="width:100%; margin-top:0px; margin-bottom:0px;"
 
{{!}}-
 
{{!}}-
! class="bottomtemphead" colspan="2" style="text-align:center;" {{!}} ''Sonic'' games for the following systems
+
! class="bottomtemphead" colspan="2" style="text-align:center;" {{!}} ''Sonic the Hedgehog'' games for the following systems
 
}}
 
}}
 
{{#ifexpr: ({{#var:navruncount|999}} mod 2) = 0 |
 
{{#ifexpr: ({{#var:navruncount|999}} mod 2) = 0 |
Line 10: Line 10:
 
}}
 
}}
 
|-
 
|-
{{#if:{{{icon|}}} | ! width="32" {{!}} {{{icon}}} }}
+
{{#if:{{{icon|}}} | ! width="32" style="text-align:center" {{!}} {{{icon}}} }}
| class="bottomtemptext" {{#if:{{{icon|}}} | | colspan="2" }} style="text-align:left;" | {{incvar|navruncount}}{{#fornumargs: y
+
| class="bottomtemptext" {{#if:{{{icon|}}} | | colspan="2" }} style="text-align:left;" | {{#fornumargs: y
 
| x
 
| x
 
| {{black|&nbsp;'''{{#var:y}}'''&nbsp;|lightyellow}} {{#var:x}} &nbsp;&nbsp;&nbsp;
 
| {{black|&nbsp;'''{{#var:y}}'''&nbsp;|lightyellow}} {{#var:x}} &nbsp;&nbsp;&nbsp;
}}{{#if:{{{prototypes|}}} |
+
}}{{#if:{{{unknown|}}} |
 +
<div>{{black|&nbsp;'''Unknown date'''&nbsp;|lightyellow}} {{{unknown}}}</div>}}{{#if:{{{demos|}}} |
 +
<div>{{black|&nbsp;'''Demos'''&nbsp;|lightyellow}} {{{demos}}}</div>}}{{#if:{{{prototypes|}}} |
 
<div>{{black|&nbsp;'''Prototypes'''&nbsp;|lightyellow}} {{{prototypes}}}</div>}}{{#if:{{{unreleased|}}} |
 
<div>{{black|&nbsp;'''Prototypes'''&nbsp;|lightyellow}} {{{prototypes}}}</div>}}{{#if:{{{unreleased|}}} |
 
<div>{{black|&nbsp;'''Unreleased'''&nbsp;|lightyellow}} {{{unreleased}}}</div>}}
 
<div>{{black|&nbsp;'''Unreleased'''&nbsp;|lightyellow}} {{{unreleased}}}</div>}}
 
|-
 
|-
|}</includeonly><noinclude>
+
|}{{incvar|navruncount}}</includeonly><noinclude>
  
 
{{nav
 
{{nav
Line 26: Line 28:
 
|1993=''[[Sonic the Hedgehog 3]]''
 
|1993=''[[Sonic the Hedgehog 3]]''
 
|prototypes=''[[Sonic 2|Sonic 2 prereleases]]''
 
|prototypes=''[[Sonic 2|Sonic 2 prereleases]]''
|unreleased=''[[Sonic-16]]''}}
+
|unreleased=''[[Sonic-16]]''}}{{incvar|navruncount}}
 
{{nav
 
{{nav
 
|icon={{DC|L}}
 
|icon={{DC|L}}
 
|1998=''[[Sonic Adventure]]''
 
|1998=''[[Sonic Adventure]]''
|2001=''[[Sonic Adventure 2]]''}}
+
|2001=''[[Sonic Adventure 2]]''
 +
|demos=''[[Sonic Adventure Taikenban]]''}}{{incvar|navruncount}}
 
{{nav
 
{{nav
 
|icon={{Switch|L}}
 
|icon={{Switch|L}}
|2017=''[[Sonic Mania]]''}}
+
|2017=''[[Sonic Mania]]''}}{{incvar|navruncount}}
 +
{{nav
 +
|icon={{Arcade|L}}
 +
|unknown=''[[Sonic Sports Kids Basketball]]'' (201x)}}
  
 
[[Category:Navigational templates]]</noinclude>
 
[[Category:Navigational templates]]</noinclude>

Latest revision as of 15:34, 2 January 2023


Sonic the Hedgehog games for the following systems
Sega Mega Drive
 1991  Sonic the Hedgehog     1992  Sonic the Hedgehog 2     1993  Sonic the Hedgehog 3    
 Prototypes  Sonic 2 prereleases
 Unreleased  Sonic-16
filler
Sega Dreamcast
 1998  Sonic Adventure     2001  Sonic Adventure 2    
filler
Nintendo Switch
 2017  Sonic Mania    
filler
Arcade
 Unknown date  Sonic Sports Kids Basketball (201x)