Template:Nesdbbox: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (attempting to trim newlines from links)
(is 52 some parameter limit? cutting back to max 17 ??)
 
(14 intermediate revisions by the same user not shown)
Line 4: Line 4:
{| class="oddf0"
{| class="oddf0"
|-
|-
| {{:User:Rainwarrior/nesdblink|{{{1}}}|{{{2}}}|{{#replace:{{{3}}}|
| {{nesdblink|{{{1}}}|{{{2}}}|{{{3}}}}}
|}}
|-
{{#if:{{{4|}}}|
{{#if:{{{4|}}}|
{{!}} {{nesdblink|{{{4}}}|{{{5}}}|{{{6}}}}}
{{!}}-
{{!}}-
{{!}} {{:User:Rainwarrior/nesdblink|{{{4}}}|{{{5}}}|{{#replace:{{{6}}}}|
|}}
|}}|}}
{{#if:{{{7|}}}|
{{#if:{{{7|}}}|
{{!}} {{nesdblink|{{{7}}}|{{{8}}}|{{{9}}}}}
{{!}}-
|}}
{{#if:{{{10|}}}|
{{!}} {{nesdblink|{{{10}}}|{{{11}}}|{{{12}}}}}
{{!}}-
|}}
{{#if:{{{13|}}}|
{{!}} {{nesdblink|{{{13}}}|{{{14}}}|{{{15}}}}}
{{!}}-
|}}
{{#if:{{{16|}}}|
{{!}} {{nesdblink|{{{16}}}|{{{17}}}|{{{18}}}}}
{{!}}-
|}}
{{#if:{{{19|}}}|
{{!}} {{nesdblink|{{{19}}}|{{{20}}}|{{{21}}}}}
{{!}}-
|}}
{{#if:{{{22|}}}|
{{!}} {{nesdblink|{{{22}}}|{{{23}}}|{{{24}}}}}
{{!}}-
|}}
{{#if:{{{25|}}}|
{{!}} {{nesdblink|{{{25}}}|{{{26}}}|{{{27}}}}}
{{!}}-
|}}
{{#if:{{{28|}}}|
{{!}} {{nesdblink|{{{28}}}|{{{29}}}|{{{30}}}}}
{{!}}-
{{!}}-
{{!}} {{:User:Rainwarrior/nesdblink|{{{7}}}|{{{8}}}|{{#replace:{{{9}}}}|
|}}
|}}|}}
{{#if:{{{31|}}}|
{{!}} {{nesdblink|{{{31}}}|{{{32}}}|{{{33}}}}}
{{!}}-
|}}
{{#if:{{{34|}}}|
{{!}} {{nesdblink|{{{34}}}|{{{35}}}|{{{36}}}}}
{{!}}-
|}}
{{#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}}}}}
{{!}}-
|}}
|}
|}
</div>
</div>
<noinclude>
A box containing the [[:Category:In NesCartDB|In NesCartDB]] category tag and 1 or more links to NesDB searches.
Single use:
<pre>{{nesdbbox|ines|1|iNES 001}}</pre>
Multi use:
<pre>{{nesdbbox
|ines|1|iNES 001
|unif|NES-CNROM|NES-CNROM
|unif_wild|AOROM|AOROM
|unif_wild|-A%ROM|AxROM
}}</pre>
The parameters are simply a batched set of [[:Template:nesdblink|nesdblink]] templates, documentation included below.
{{:Template:nesdblink/doc}}
</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
  1. Search by iNES mapper.
  2. Search by specific PCB name.
  3. Search for PCB name containing term.
  4. Use % as a wildcard to include multiple variations. (Here the - prefix is to match NES-AOROM and HVC-AOROM but exclude TAITO-CNROM.)