Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Special pages
Random page
Wiki Discord
Contents
Neighbors
Galaxy
> Hexia
> Norvan
> Pashah
> Taffeh
Creatures
> Insects
> Fishes
> Shore-Dwellers
Items
> Dishes
> Furniture
Game Systems
> Dress Up
> Luca Arbor
> Loomix Footprints
> Loomix Vehicle Services
> Loomix Homes
Search
Search
Appearance
Log in
Personal tools
Log in
Editing
Template
:
Item List/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation/Header}} {{Lua|Item List}} Creates a list of {{T|Item}}. ==Syntax== * {{F|1}} — List of items. ** {{F|*((amount))}} — Indicate amount exclusive to the item. ** {{F|/((note))}} — Indicate note exclusive to the item. ** {{F|1={ ((param1)) = ((value1)) $ ((param2)) = ((value2)) $ ((value 3)) } }} — indicate parameters exclusive to the item, allows unnamed parameters. * {{F|2}} — Size of items' images. Default {{F|20}}. * {{F|mode}} — The resulting list format and/or delimiter: ** {{F|bullet}} Bullet list format. Default ** {{F|br}} Use {{F|<br>|nw=1}}. ** {{F|sent}} Sentence format, use {{F|, }} as delimiter except the last instance, where {{F|, and }} is used * {{F|amount}} — Default amount of items if not stated. * {{F|delim}} — Delimiter of the list in {{F|1}}. Default {{F|;}}. * {{F|amount_delim}} — Delimiter of amount in {{F|1}}. Default {{F|*}}. * {{F|note_delim}} — Delimiter of the notes in {{F|1}}. Default {{F|/}}. * {{F|param_delim}} — Delimiter of the parameters in {{F|1}}. Default {{F|$}}. * The following arguments of {{T|Item}} can be set to apply to all items by including them as normal parameters: ** {{F|text}} ** {{F|link}} ** {{F|notext}} ** {{F|blueprint}} ** {{F|count}} / {{F|x}} ** {{F|type}} ** {{F|ref}} ==Examples== {{T|Item List|Rice;Loomi|_Ybr_=1}} ==Template Data== <templatedata>{ "params": { "1": { "label": "Input List", "description": "\"delim\" delimited list of items. Within each item, delimited by \"amount_delim\", \"note_delim\", and \"param_delim\".", "type": "string", "required": true }, "amount": { "label": "Default Amount", "description": "Default amount of items if not stated.", "example": "0", "type": "number", "default": "—" }, "delim": { "label": "Input Delimiter", "description": "Character(s) to split input items by.", "example": ";", "type": "string", "default": ";" }, "amount_delim": { "label": "Amount Delimiter", "description": "Character(s) to separate item name from amount.", "type": "string", "default": "*" }, "note_delim": { "label": "Note Delimiter", "description": "Character(s) to separate item from note.", "type": "string", "default": "/" }, "param_delim": { "label": "Parameter Delimiter", "description": "Character(s) to split item from Item parameters.", "type": "string", "default": "$" } }, "format": "inline", "description": "Creates a list of {{Item}}.", "paramOrder": [ "1", "amount", "delim", "amount_delim", "note_delim", "param_delim" ] }</templatedata>
Summary:
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Petit Planet Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Below are commonly used wikitext from
MediaWiki:Edittools
. Click on any to insert them in the edit box.
File Pages
==Summary==
==Licensing==
{{Fairuse}}
{{File|}}
Dynamic Page List
¦
²
«
»
²{¦}²
«»
«/»
«!----»
Array in DPL
¹
^2{
}^2
^2{¹}^2
Parser Functions
{{#if:||}}
{{#if:<condition>|<result if true>|<result if false>}}
{{#ifeq:|||}}
{{#ifeq:<text1>|<text2>|<result if text1=text2>|<result if text1≠text2>}}
{{#expr:}}
{{#expr:<mathematical expression>}}
{{#switch:||#default=}}
{{#switch:<text1>|<text2>=<result if text1=text2>|<text3>=<result if text1=text3>|#default=<result if no valid match>}}
{{#replace:||}}
{{#replace:<text1>|<plain text to find in text1>|<plain text to insert in place of the text found>}}
{{#titleparts:}}
{{#replace:<page name>}}
{{#tag:|}}
{{#tag:<name of html tag>|<content inside html tag>}}
Markup
{{}}
|
[]
[[]]
[[Category:]]
#REDIRECT [[]] [[Category:Redirect Pages]]
<code></code>
<includeonly></includeonly>
<noinclude></noinclude>
<nowiki></nowiki>
<!---->
<br>
§
Notices
{{Stub|}}
{{Stub Dialogue}}
{{Upcoming}}
{{Under Construction}}
{{Placeholder|}}
Magic Words
{{!}}
{{formatnum:}}
{{lc:}}
{{uc:}}
{{PAGENAME}}
{{FULLPAGENAME}}
{{ROOTPAGENAME}}
{{BASEPAGENAME}}
{{SUBPAGENAME}}
{{DISPLAYTITLE:|noreplace}}
__TOC__
__NOTOC__
__EXPECTUNUSEDCATEGORY__
__HIDDENCAT__
HTML Entities
—
,
­
Pages included on this page:
Template:Array
(
edit
)
Template:Documentation/Header
(
edit
)
Template:Documentation/styles.css
(
edit
)
Template:F
(
edit
)
Template:Item List
(
edit
)
Template:Lua
(
edit
)
Template:MessageBox
(
edit
)
Template:Namespace
(
edit
)
Template:T
(
edit
)
Module:Arguments
(
edit
)
Module:Arguments/i18n
(
edit
)
Module:Array
(
edit
)
Module:Common/i18n
(
edit
)
Module:Config
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/i18n
(
edit
)
Module:Entrypoint
(
edit
)
Module:Exists
(
edit
)
Module:Fallbacklist
(
edit
)
Module:Feature
(
edit
)
Module:Formatting
(
edit
)
Module:I18n
(
edit
)
Module:Item
(
edit
)
Module:Item/Invert
(
edit
)
Module:Item List
(
edit
)
Module:Languages
(
edit
)
Module:Mbox
(
edit
)
Module:Mbox/i18n
(
edit
)
Module:Namespace detect
(
edit
)
Module:Namespace detect/config
(
edit
)
Module:Namespace detect/data
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
Search
Search
Editing
Template
:
Item List/doc
Add topic