Template:Infobox iNES mapper: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
(more fixes) |
m (Attempts to remove the leading newline from pages using this infobox by moving the prgmax/chrmax errors into the box itself.) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div style="text-align: center">''' | <div style="text-align: center">'''{{{name}}}''' | ||
<br>''' | {{#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]]}} | |||
{{!}}- | {{!}}- | ||
{{#if:{{{complexity|}}}| | {{#if:{{{complexity|}}}| | ||
{{!}} '''Complexity''' | |||
{{!}} {{{complexity}}}[[Category:{{{complexity}}} mappers]]}} | |||
{{!}}- | {{!}}- | ||
| '''Boards''' | | '''Boards''' | ||
| {{{boards|''unknown''}}} | | {{{boards|''unknown''}}} | ||
{{#if:{{{pinout|}}}| | |||
{{!}}- | |||
{{!}} '''Pinout''' | |||
{{!}} [[{{{pinout}}}]] }} | |||
|- | |- | ||
| '''PRG ROM capacity''' | | '''PRG ROM capacity''' | ||
| {{{prgmax|'' | | {{{prgmax}}} | ||
{{#if:{{{prgmax|}}}|| | |||
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>prgmax</code> is not specified</span>''' | |||
}} | |||
{{#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''}}}}}}} | |||
|- | |- | ||
| '''CHR capacity''' | | '''CHR capacity''' | ||
| {{{chrmax| | | {{{chrmax}}} | ||
|- | {{#if:{{{chrmax|}}}|| | ||
*'''<span style="font-size: 150%; color:#C00">{{tl|Infobox iNES mapper}} error: <code>chrmax</code> is not specified</span>''' | |||
}} | |||
{{#if:{{{chrpage|}}}| | |||
{{!}}- | |||
{{!}} '''CHR window''' | |||
{{!}} {{{chrpage|8K}}}}} | |||
|- | |- | ||
| '''Nametable [[mirroring]]''' | | '''Nametable [[mirroring]]''' | ||
Line 54: | Line 66: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </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] [ ] 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 inmapper
(without regional duplicates). The argument need not be a number; it can be a string such as "Few" or "Many". complexity
needs to beDiscrete logic
(for Category:Discrete logic mappers) orASIC
(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:
- Do string processing on
busconflicts
,irq
, andaudio
to trigger adding to categories such as Category:Mappers with bus conflicts.
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. |