Template:Bankable items/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Generates a bullet pointed list of items that can be stored in the sepcified bank. Based on bank set in {{t|Infobox Item}} <code>bank</code> param. ==Usage== <pre>{{Bankable items|ability|cols=numColumns|width=colWidth}}</pre> ==Parameters== ===1=== The bank that the generated list of items can be stored in. Is case-insensitive. If unspecified, defaults to the page name. ===cols=== The number of columns the list has. If unspecified, no columns are us...")
 
No edit summary
 
Line 3: Line 3:


==Usage==
==Usage==
<pre>{{Bankable items|ability|cols=numColumns|width=colWidth}}</pre>
<pre>{{Bankable items|bank|cols=numColumns|width=colWidth}}</pre>


==Parameters==
==Parameters==

Latest revision as of 07:49, 9 December 2024

This is a documentation subpage for Template:Bankable items.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Bankable items invokes function main in Module:Bankable items using Lua.

Generates a bullet pointed list of items that can be stored in the sepcified bank. Based on bank set in {{Infobox Item}} bank param.

Usage

{{Bankable items|bank|cols=numColumns|width=colWidth}}

Parameters

1

The bank that the generated list of items can be stored in. Is case-insensitive. If unspecified, defaults to the page name.

cols

The number of columns the list has. If unspecified, no columns are used.

width

The width of columns the list's columns. If unspecified, defaults to 200px.

Examples

{{Bankable items|Bones Bank}}

Generates:

{{Bankable items|Bones Bank|cols=3}}

Generates:

{{Bankable items|Bones Bank|cols=4}}

Generates: