User:TitanstringEnjoyer/Template:Experience creature: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (add thousands separators)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{level|}}}
<includeonly>{{#switch: {{{level}}}
| 1 = {{#switch: {{{category|}}} | pack = 3 | combatant = 10 }}
| 1 = {{#switch: {{{category}}} | civilian = 1 | pack = 3 | combatant = 10 | elite = 15 | miniboss = 20 | boss = 30 | 0 }}
| 2 = {{#switch: {{{category|}}} | pack = 5 | combatant = 15 }}
| 2 = {{#switch: {{{category}}} | civilian = 1 | pack = 5 | combatant = 15 | elite = 25 | miniboss = 40 | boss = 75 | 0 }}
|  3 = {{#switch: {{{category}}} | civilian = 1 | pack = 10 | combatant = 20 | elite = 40 | miniboss = 50 | boss = 100 | 0 }}
|  4 = {{#switch: {{{category}}} | civilian = 1 | pack = 20 | combatant = 40 | elite = 75 | miniboss = 100 | boss = 150 | 0 }}
5 = {{#switch: {{{category}}} | civilian = 1 | pack = 40 | combatant = 75 | elite = 90 | miniboss = 150 | boss = 250 | 0 }}
|  6 = {{#switch: {{{category}}} | civilian = 1 | pack = 50 | combatant = 90 | elite = 150 | miniboss = 230 | boss = 320 | 0 }}
|  7 = {{#switch: {{{category}}} | civilian = 1 | pack = 60 | combatant = 110 | elite = 180 | miniboss = 280 | boss = 400 | 0 }}
|  8 = {{#switch: {{{category}}} | civilian = 1 | pack = 75 | combatant = 140 | elite = 220 | miniboss = 350 | boss = 500 | 0 }}
|  9 = {{#switch: {{{category}}} | civilian = 1 | pack = 110 | combatant = 200 | elite = 315 | miniboss = 500 | boss = 700 | 0 }}
| 10 = {{#switch: {{{category}}} | civilian = 1 | pack = 135 | combatant = 250 | elite = 400 | miniboss = 640 | boss = 875 | 0 }}
| 11 = {{#switch: {{{category}}} | civilian = 1 | pack = 170 | combatant = 320 | elite = 510 | miniboss = 800 | boss = 1,120 | 0 }}
|      {{#switch: {{{category}}} | civilian = 1 | pack = 210 | combatant = 400 | elite = 640 | miniboss = 1,000 | boss = 1,400 | 0 }}
}} xp</includeonly>
}} xp</includeonly>
<noinclude>{{User:TitanstringEnjoyer/Template:Test|level=2|category=combatant}}</noinclude>
<noinclude>This template returns the experience granted by defeating a creature, based on the data from [[Experience]].
 
== Examples ==
 
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=civilian}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=civilian}}
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=pack}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=pack}}
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=2|category=combatant}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=2|category=combatant}}
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=5|category=elite}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=5|category=elite}}
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=10|category=miniboss}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=10|category=miniboss}}
<pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=17|category=boss}}
</pre>
{{User:TitanstringEnjoyer/Template:Experience creature|level=17|category=boss}}
</noinclude>

Latest revision as of 20:02, 14 June 2024

This template returns the experience granted by defeating a creature, based on the data from Experience.

Examples[edit | edit source]

{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=civilian}}

1 xp

{{User:TitanstringEnjoyer/Template:Experience creature|level=1|category=pack}}

3 xp

{{User:TitanstringEnjoyer/Template:Experience creature|level=2|category=combatant}}

15 xp

{{User:TitanstringEnjoyer/Template:Experience creature|level=5|category=elite}}

90 xp

{{User:TitanstringEnjoyer/Template:Experience creature|level=10|category=miniboss}}

640 xp

{{User:TitanstringEnjoyer/Template:Experience creature|level=17|category=boss}}

1,400 xp