Binding of Isaac: Rebirth Wiki
Binding of Isaac: Rebirth Wiki
m
m
Line 1: Line 1:
 
<onlyinclude><includeonly>{{#invoke: cargo | query
 
<onlyinclude><includeonly>{{#invoke: cargo | query
 
| tables = collectible
 
| tables = collectible
| fields = name, {{#if: {{{force|}}} | "{{{force}}}" = force }}
+
| fields = name, '{{{force|}}}' = force
 
| where = {{#if: {{{where|}}} | {{{where}}}{{#lstmap: {{{1|}}} | , | @@@@ | \_OR name = "@@@@" }} | {{#lstmap: {{{1|}}} | , | @@@@ | name = "@@@@" | \_OR\_ }} }}
 
| where = {{#if: {{{where|}}} | {{{where}}}{{#lstmap: {{{1|}}} | , | @@@@ | \_OR name = "@@@@" }} | {{#lstmap: {{{1|}}} | , | @@@@ | name = "@@@@" | \_OR\_ }} }}
 
| order by = dlc DESC, name
 
| order by = dlc DESC, name

Revision as of 13:49, 12 May 2020

Template-info.png Documentation

Usage

{{collectible rows | 1 | 2 | where = | order by = | limit = }} or {{collectible rows | 1 | where = | order by = | limit = | force = }}

Description

Returns multiple table rows of collectibles.

Template parameters

ParameterDescriptionTypeStatus
Names1

The names of the collectibles in the database, separated with commas.

Example
The Sad Onion, The Inner Eye
Stringsuggested
Wherewhere

Corresponds to the WHERE clause.

Example
is_activated = 1
Stringsuggested
Order byorder by

Corresponds to the ORDER BY clause.

Default
dlc DESC, alias
Example
id
Stringoptional
Limitlimit

Corresponds to the LIMIT clause

Example
10
Numberoptional
DLC constraintforce 2

Replaces the DLC of the collectibles with a more restricted DLC.

Example
a
Stringoptional