Template:Camp supplies list: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
| more results text =
| more results text =
| format = template
| format = template
| template = Camp supplies/format
| template = Camp supplies list/format
| named args = yes
| named args = yes
| order by = camp_supplies desc, name asc
| order by = camp_supplies desc, name asc
}}
}}
</ul></includeonly><noinclude>
</ul></includeonly><noinclude>{{documentation|content=
Creates a list of supplies.
Creates a list of supplies.


Example:
Example:


<pre>
{{Template demo
{{Camp supplies | where = camp_supplies >= 20 AND type = "Food" }}
| style = table
</pre>
| caption1 = >= 5 camp supplies
 
| <nowiki>{{Camp supplies list | where = camp_supplies = 8 AND type = "Food" }}</nowiki>
Result:
}}
 
{{Camp supplies | where = camp_supplies >= 20 AND type = "Food" }}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
== Template data==
<templatedata>
{
"params": {
"where": {
"label": "Where",
"description": "Criteria for querying camp supplies. Requires knowledge of Cargo.",
"type": "string",
"required": true
}
}
}
</templatedata>}}</noinclude>

Latest revision as of 23:13, 28 August 2024

Template documentation

Creates a list of supplies.

Example:

Markup Renders as
{{Camp supplies list | where = camp_supplies = 8 AND type = "Food" }}

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Wherewhere

Criteria for querying camp supplies. Requires knowledge of Cargo.

Stringrequired