Template:Nesdbbox: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
Rainwarrior (talk | contribs) (this is looking ok, documenting usage) |
Rainwarrior (talk | contribs) (is 52 some parameter limit? cutting back to max 17 ??) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{| class="oddf0" | {| class="oddf0" | ||
|- | |- | ||
| {{ | | {{nesdblink|{{{1}}}|{{{2}}}|{{{3}}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{4|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{4}}}|{{{5}}}|{{{6}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{7|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{7}}}|{{{8}}}|{{{9}}}}} | ||
{{!}}- | |||
|}} | |||
{{#if:{{{10|}}}| | |||
{{!}} {{nesdblink|{{{10}}}|{{{11}}}|{{{12}}}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{13|}}}| | {{#if:{{{13|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{13}}}|{{{14}}}|{{{15}}}}} | ||
{{!}}- | |||
|}} | |||
{{#if:{{{16|}}}| | |||
{{!}} {{nesdblink|{{{16}}}|{{{17}}}|{{{18}}}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{19|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{19}}}|{{{20}}}|{{{21}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{22|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{22}}}|{{{23}}}|{{{24}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{25|}}}| | {{#if:{{{25|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{25}}}|{{{26}}}|{{{27}}}}} | ||
{{!}}- | |||
|}} | |||
{{#if:{{{28|}}}| | |||
{{!}} {{nesdblink|{{{28}}}|{{{29}}}|{{{30}}}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{31|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{31}}}|{{{32}}}|{{{33}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{34|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{34}}}|{{{35}}}|{{{36}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{37|}}}| | {{#if:{{{37|}}}| | ||
{{!}} {{ | {{!}} {{nesdblink|{{{37}}}|{{{38}}}|{{{39}}}}} | ||
{{!}}- | |||
|}} | |||
{{#if:{{{40|}}}| | |||
{{!}} {{nesdblink|{{{40}}}|{{{41}}}|{{{42}}}}} | |||
{{!}}- | |||
|}} | |||
{{#if:{{{43|}}}| | |||
{{!}} {{nesdblink|{{{43}}}|{{{44}}}|{{{45}}}}} | |||
{{!}}- | |||
|}} | |||
{{#if:{{{46|}}}| | |||
{{!}} {{nesdblink|{{{46}}}|{{{47}}}|{{{48}}}}} | |||
{{!}}- | |||
|}} | |||
{{#if:{{{49|}}}| | |||
{{!}} {{nesdblink|{{{49}}}|{{{50}}}|{{{51}}}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Line 48: | Line 76: | ||
Single use: | Single use: | ||
<pre>{{ | <pre>{{nesdbbox|ines|1|iNES 001}}</pre> | ||
Multi use: | Multi use: | ||
<pre>{{ | <pre>{{nesdbbox | ||
|ines|1|iNES 001 | |ines|1|iNES 001 | ||
|unif|NES-CNROM|CNROM | |unif|NES-CNROM|NES-CNROM | ||
| | |unif_wild|AOROM|AOROM | ||
| | |unif_wild|-A%ROM|AxROM | ||
}}</pre> | }}</pre> | ||
The parameters are simply a batched set of [[:Template:nesdblink|nesdblink]] templates, documentation included below. | |||
{{:Template:nesdblink/doc}} | |||
</noinclude> | </noinclude> |
Latest revision as of 19:17, 30 May 2015
NESCartDB
{{{3}}} |
A box containing the In NesCartDB category tag and 1 or more links to NesDB searches.
Single use:
{{nesdbbox|ines|1|iNES 001}}
Multi use:
{{nesdbbox |ines|1|iNES 001 |unif|NES-CNROM|NES-CNROM |unif_wild|AOROM|AOROM |unif_wild|-A%ROM|AxROM }}
The parameters are simply a batched set of nesdblink templates, documentation included below.
Template:Nesdblink Documentation
A simple template for creating links to Bootgod's NES Cart Database.
Usage:
{{nesdblink | search type (ines/unif/unif_wild) | search parameter (number/board) | link text }}
Examples:
1. {{nesdblink|ines|1|iNES 001}} 2. {{nesdblink|unif|NES-CNROM|NES-CNROM}} 3. {{nesdblink|unif_wild|CNROM|CNROM}} 4. {{nesdblink|unif_wild|-A%ROM|AxROM}} - this currently doesn't work since the migration to nescartdb
- Search by iNES mapper.
- Search by specific PCB name.
- Search for PCB name containing term.
- Use % as a wildcard to include multiple variations. (Here the - prefix is to match NES-AOROM and HVC-AOROM but exclude TAITO-CNROM.)