Template:Infobox iNES mapper: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(#if in company field causing extra line break)
(made prgpage and chrpage independent from prgmax and chrmax per koitsu's recommendation in talk; made prgmax and chrmax more obviously required)
Line 1: Line 1:
{{#if:{{{prgmax|}}}||
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>prgmax</code> is not specified</span>'''
}}
{{#if:{{{chrmax|}}}||
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>chrmax</code> is not specified</span>'''
}}
<div class="infobox">
<div class="infobox">
<div style="text-align: center">'''{{{name}}}'''
<div style="text-align: center">'''{{{name}}}'''
Line 19: Line 25:
|-
|-
| '''PRG ROM capacity'''
| '''PRG ROM capacity'''
| {{{prgmax|''unknown''}}}
| {{{prgmax}}}
{{#if:{{{prgmax|}}}|
{{#if:{{{prgpage|}}}|
{{!}}-
{{!}}-
{{!}} '''PRG ROM window'''
{{!}} '''PRG ROM window'''
{{!}} {{{prgpage|''unknown''}}}}}
{{!}} {{{prgpage}}}}}
|-
|-
| '''PRG RAM capacity'''
| '''PRG RAM capacity'''
Line 33: Line 39:
|-
|-
| '''CHR capacity'''
| '''CHR capacity'''
| {{{chrmax|8K}}}
| {{{chrmax}}}
{{#if:{{{chrmax|}}}|
{{#if:{{{chrpage|}}}|
{{!}}-
{{!}}-
{{!}} '''CHR window'''
{{!}} '''CHR window'''

Revision as of 22:20, 30 April 2015

{{{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}}}]]

There are edit wars going on in Category talk:In NesCartDB and Current state of NESDev Main Page and Wiki. Koitsu and I agree that we need some organization. As Timon the meerkat put it: "It starts."

[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.