Template:Infobox iNES mapper: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(ok, let's get this template started)
m (Attempts to remove the leading newline from pages using this infobox by moving the prgmax/chrmax errors into the box itself.)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div style="text-align: center">'''MMC1'''
<div style="text-align: center">'''{{{name}}}'''
<br>'''SxROM'''</div>
{{#if:{{{name2|}}}|<br/>'''{{{name2}}}'''}}</div>
{| class="oddf0"
{| class="oddf0"
|-
|-
| '''Company'''
| '''Company'''
| {{{company|''unknown''}}}
| {{{company|''unknown''}}}
|-
{{#if:{{{nescartdbgames|}}}|
{{#if:{{{nescartdbgames|}}}|
{{!}} '''Games'''
{{!}} [https://nescartdb.com/search/advanced?ines={{{mapper}}} {{{nescartdbgames}}} in NesCartDB][[Category:In NesCartDB]]}}
{{!}}-
{{!}}-
{{!}} '''Games'''
{{!}} [http://bootgod.dyndns.org:7777/search.php?ines_op=%3D%60%40%60&ines={{{mapper}}}&group=groupid&field=2&order=asc&rfa=1+2+11+3+9+20+41+53 {{{nescartdbgames}}} in NesCartDB]}}
{{#if:{{{complexity|}}}|
{{#if:{{{complexity|}}}|
{{!}} '''Complexity'''
{{!}} {{{complexity}}}[[Category:{{{complexity}}} mappers]]}}
{{!}}-
{{!}}-
{{!}} '''Complexity'''
{{!}} {{{complexity}}}
}}
|-
| '''Boards'''
| '''Boards'''
| {{{boards|''unknown''}}}
| {{{boards|''unknown''}}}
{{#if:{{{pinout|}}}|
{{!}}-
{{!}} '''Pinout'''
{{!}} [[{{{pinout}}}]] }}
|-
|-
| '''PRG ROM capacity'''
| '''PRG ROM capacity'''
| {{{prgmax|''unknown''}}}
| {{{prgmax}}}
|-
{{#if:{{{prgmax|}}}||
| '''PRG ROM window'''
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>prgmax</code> is not specified</span>'''
| {{{prgpage|''unknown''}}}
}}
{{#if:{{{prgpage|}}}|
{{!}}-
{{!}} '''PRG ROM window'''
{{!}} {{{prgpage}}}}}
|-
|-
| '''PRG RAM capacity'''
| '''PRG RAM capacity'''
| {{{wrammax|None}}}
| {{{wrammax|None}}}
|-
{{#if:{{{wrammax|}}}|{{#ifeq:{{{wrammax}}}|Impossible||
| '''PRG RAM window'''
{{!}}-
| {{{wrampage|''unknown''}}}
{{!}} '''PRG RAM window'''
{{!}} {{{wrampage|''unknown''}}}}}}}
|-
|-
| '''CHR capacity'''
| '''CHR capacity'''
| {{{chrmax|8K}}}
| {{{chrmax}}}
|-
{{#if:{{{chrmax|}}}||
| '''CHR window'''
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>chrmax</code> is not specified</span>'''
| {{{chrpage|8K}}}
}}
{{#if:{{{chrpage|}}}|
{{!}}-
{{!}} '''CHR window'''
{{!}} {{{chrpage|8K}}}}}
|-
|-
| '''Nametable [[mirroring]]'''
| '''Nametable [[mirroring]]'''
Line 50: Line 62:
|-  
|-  
| '''iNES [[mapper]]s'''
| '''iNES [[mapper]]s'''
| [[iNES Mapper {{padleft:{{{mapper}}}|3}}|{{padleft:{{{mapper}}}|3}}]], [[iNES Mapper 155|155]]
| [[iNES Mapper {{padleft:{{{mapper}}}|3}}|{{padleft:{{{mapper}}}|3}}]]{{#if:{{{othermappers|}}}|, {{{othermappers}}}}}
|}
|}
</div>
</div>
<includeonly>
<noinclude>
There are edit wars going on in [[Category talk:In NesCartDB]] and [http://forums.nesdev.org/viewtopic.php?p=145801#p145801 Current state of NESDev Main Page and Wiki].
Koitsu and I agree that we need some organization.
As Timon the meerkat put it: "[https://www.youtube.com/watch?v=XuhgHzuPYiI It starts.]"
{{documentation}}
{{documentation}}
</includeonly>
</noinclude>

Latest revision as of 21:34, 9 November 2024

{{{name}}}
Company unknown
Boards unknown
PRG ROM capacity {{{prgmax}}}
PRG RAM capacity None
CHR capacity {{{chrmax}}}
Nametable mirroring Fixed H or V, controlled by solder pads
Bus conflicts unknown
IRQ No
Audio No
iNES mappers [[iNES Mapper {{{mapper}}}|{{{mapper}}}]]
[edit] [purge] Template documentation

Copy and paste this at the top of a mapper page:

{{Infobox iNES mapper
|name=MMC1
|name2=SxROM
|company=Nintendo, others
|mapper=1
|othermappers=[[iNES Mapper 155|155]]
|nescartdbgames=69
|complexity=ASIC
|boards=SKROM, SLROM,<br/>SNROM, others
|prgmax=512K
|prgpage=16K + 16K fixed or 32K
|wrammax=32K
|wrampage=8K
|chrmax=128K
|chrpage=4K + 4K or 8K
|mirroring=H, V, or 1, switchable
|busconflicts=No
|irq=No
|audio=No
}}

Categories:

  • If you provide nescartdbgames, it automatically inserts Category:In NesCartDB and a link to a list of games on NesCartDB using the mapper provided in mapper (without regional duplicates). The argument need not be a number; it can be a string such as "Few" or "Many".
  • complexity needs to be Discrete logic (for Category:Discrete logic mappers) or ASIC (for Category:ASIC mappers).
  • Page sizes are hidden if the corresponding max size is not specified or if wrampage=Impossible (which is used for mappers with ports in $6000-$7FFF).

To do:

The above documentation is transcluded from Template:Infobox iNES mapper/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.