Template:Resource list item: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>; {{{name|Resource}}}
<includeonly>; {{{name|Resource}}}
: {{SmallIcon|Recharge Icons.png}} Recharge: {{{recharge|turn}}} ({{{charges|1}}} {{#ifexpr: {{{charges|1}}} > 1 | {{{type|charge}}}s | {{{type|charge}}}}})
: {{SmallIcon|Recharge Icons.png}} Recharge: {{{recharge|turn}}} {{#if: {{{levels|}}} | (spell levels {{{levels|}}}) | ({{{charges|1}}} {{#ifexpr: {{{charges|1}}} > 1 | {{{type|charge}}}s | {{{type|charge}}}}})}}
:: {{{description|This is a resource.}}}</includeonly><noinclude>
:: {{{description|This is a resource.}}}</includeonly><noinclude>{{documentation|content=
Use with {{t link|resource list start}} and {{t link|resource list end}}.


<pre>
{{resource list start}}
{{resource list start}}
{{resource description list}}
{{resource list item
{{resource description list}}
| name = Resource
| recharge = turn
| charges = 1
| type = charge
| description = Very good.
}}
{{resource list end}}
{{resource list end}}
</pre>
{{resource list start}}
{{resource list item
| name = Resource
| recharge = turn
| charges = 1
| type = Charge
| description = Very good.
}}
{{resource list end}}
[[Category:Templates]][[Category:List templates]]
<templatedata>
{
"params": {
"name": {},
"recharge": {},
"charges": {},
"type": {},
"description": {}
}
}
</templatedata>}}
</noinclude>

Latest revision as of 01:30, 26 December 2023

Template documentation

Use with {{resource list start}} and {{resource list end}}.

{{resource list start}}
{{resource list item
| name = Resource
| recharge = turn
| charges = 1
| type = charge
| description = Very good.
}}
{{resource list end}}
Resource
Recharge: turn (1 Charge)
Very good.

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
rechargerecharge

no description

Unknownoptional
chargescharges

no description

Unknownoptional
typetype

no description

Unknownoptional
descriptiondescription

no description

Unknownoptional