Template:Infobox iNES mapper: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
(made prgpage and chrpage independent from prgmax and chrmax per koitsu's recommendation in talk; made prgmax and chrmax more obviously required) |
m (Attempts to remove the leading newline from pages using this infobox by moving the prgmax/chrmax errors into the box itself.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div style="text-align: center">'''{{{name}}}''' | <div style="text-align: center">'''{{{name}}}''' | ||
Line 15: | Line 9: | ||
{{#if:{{{nescartdbgames|}}}| | {{#if:{{{nescartdbgames|}}}| | ||
{{!}} '''Games''' | {{!}} '''Games''' | ||
{{!}} [ | {{!}} [https://nescartdb.com/search/advanced?ines={{{mapper}}} {{{nescartdbgames}}} in NesCartDB][[Category:In NesCartDB]]}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{complexity|}}}| | {{#if:{{{complexity|}}}| | ||
Line 23: | Line 17: | ||
| '''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|}}}| | {{#if:{{{prgpage|}}}| | ||
{{!}}- | {{!}}- | ||
Line 40: | Line 41: | ||
| '''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|}}}| | {{#if:{{{chrpage|}}}| | ||
{{!}}- | {{!}}- | ||
Line 62: | 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. |