Template:Camp supplies list: Difference between revisions
Jump to navigation
Jump to search
m (Taylan moved page Camp Supplies/list query to Template:Camp supplies) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><ul style="list-style: none; column-width: 30em;"> | |||
tables=misc_items | {{#cargo_query: tables = misc_items | ||
|fields=_pageName=page, name, camp_supplies, icon | | fields = _pageName = page, name, camp_supplies, icon | ||
|where={{{where| | | where = {{{where|}}} | ||
|more results text= | | more results text = | ||
|format=template | | format = template | ||
|template= | | template = Camp supplies/format | ||
|named args=yes | | named args = yes | ||
|order by=camp_supplies desc, name asc | | order by = camp_supplies desc, name asc | ||
}}</ul> | }} | ||
</ul></includeonly><noinclude> | |||
Creates a list of supplies. | Creates a list of supplies. | ||
Example: | |||
<pre> | |||
{{Camp supplies | where = camp_supplies >= 20 AND type = "Food" }} | |||
</pre> | |||
Result: | |||
{{Camp supplies | where = camp_supplies >= 20 AND type = "Food" }} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:09, 5 June 2024
Creates a list of supplies.
Example:
{{Camp supplies | where = camp_supplies >= 20 AND type = "Food" }}
Result: