Difference between revisions of "Omni"
From Sega Retro
m |
|||
Line 24: | Line 24: | ||
#ifeq: {{{merchandisepage}}} | yes | {{!}} [[{{{name}}}/Merchandise|Merchandise]]|}}{{ | #ifeq: {{{merchandisepage}}} | yes | {{!}} [[{{{name}}}/Merchandise|Merchandise]]|}}{{ | ||
#ifeq: {{{regioncodingpage}}} | yes | {{!}} [[{{{name}}}/Region coding|Region coding]]|}}{{ | #ifeq: {{{regioncodingpage}}} | yes | {{!}} [[{{{name}}}/Region coding|Region coding]]|}}{{ | ||
− | #ifeq: {{{techpage}}} | yes | {{!}} [[{{{name}}}/Technical information|Technical information]]|}} | + | #ifeq: {{{techpage}}} | yes | {{!}} [[{{{name}}}/Technical information|Technical information]]|}}{{ |
+ | #if: {{{extrasubpage1|}}}|<br/>[[{{{name}}}/{{{extrasubpage1|}}}|{{{extrasubpage1|}}}]]{{ | ||
+ | #if: {{{extrasubpage2|}}}| {{!}} [[{{{name}}}/{{{extrasubpage2|}}}|{{{extrasubpage2|}}}]]|}}{{ | ||
+ | #if: {{{extrasubpage3|}}}| {{!}} [[{{{name}}}/{{{extrasubpage3|}}}|{{{extrasubpage3|}}}]]|}}{{ | ||
+ | #if: {{{extrasubpage4|}}}| {{!}} [[{{{name}}}/{{{extrasubpage4|}}}|{{{extrasubpage4|}}}]]|}} | ||
+ | |}} | ||
{{#if:{{{books|}}}{{{music|}}}{{{audiobooks|}}}{{{videos|}}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Old Omni media]]}}{{#if:{{{books|}}}|<br/>'''Books:''' {{{books}}}|}}{{ | {{#if:{{{books|}}}{{{music|}}}{{{audiobooks|}}}{{{videos|}}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Old Omni media]]}}{{#if:{{{books|}}}|<br/>'''Books:''' {{{books}}}|}}{{ | ||
Line 60: | Line 65: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | Use <tt>| extrasubpageX=</tt> for any necessary non-standard sub-pages. | ||
==Example== | ==Example== | ||
Line 72: | Line 79: | ||
| receptionpage=yes | | receptionpage=yes | ||
| regioncodingpage=yes | | regioncodingpage=yes | ||
+ | | extrasubpage1=Smelly | ||
+ | | extrasubpage2=Bums | ||
}} | }} | ||
</pre> | </pre> | ||
Line 83: | Line 92: | ||
| receptionpage=yes | | receptionpage=yes | ||
| regioncodingpage=yes | | regioncodingpage=yes | ||
+ | | extrasubpage1=Smelly | ||
+ | | extrasubpage2=Bums | ||
}} | }} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 15:20, 23 September 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= | developmentpage= | magazinepage= | videopage= | receptionpage= | promopage= | merchandisepage= | regioncodingpage= | techpage= | audiobooks= | prereleases= }}
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 }}