From Brotato Wiki
No edit summary |
(Add example using Template:Character_Data, and reformat Examples into a table) |
||
Line 24: | Line 24: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
This template can | This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages. | ||
<pre>{{Infobox Character | <pre>{{Infobox Character | ||
|name=Lucky | |name=Lucky | ||
Line 32: | Line 32: | ||
</pre> | </pre> | ||
With [[Template:Character_Data]] (recommended): | |||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
|name=Well Rounded | |||
|stats={{Character Data|Well Rounded|stats}} | |||
}} | |||
</pre> | |||
== Examples == | |||
<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;"> | |||
<tr> | |||
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2);">Preview</th> | |||
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); vertical-align:middle;">Code</th> | |||
</tr> | |||
<tr> | |||
<td>{{Infobox Character | |||
|name=Well Rounded | |||
|stats={{Character Data|Well Rounded|stats}} | |||
}}</td> | |||
<td><pre> | |||
{{Infobox Character | |||
|name=Well Rounded | |||
|stats={{Character Data|Well Rounded|stats}} | |||
}} | |||
</pre></td> | |||
</tr> | |||
<tr> | |||
<td>{{Infobox Character | |||
|name=Lucky | |name=Lucky | ||
|stats=<span style="color:rgb(0,255,0);">+100</span> [[Luck]]<br> | |stats=<span style="color:rgb(0,255,0);">+100</span> [[Luck]]<br> | ||
Line 43: | Line 69: | ||
damage to a random enemy<br> | damage to a random enemy<br> | ||
when you pick up material<br> | when you pick up material<br> | ||
<span style="color:rgb(244,0,0);">-60%</span> Attack Speed<br> | <span style="color:rgb(244,0,0);">-60%</span> [[Attack Speed]]<br> | ||
<span style="color:rgb(244,0,0);">-50%</span> XP Gain | <span style="color:rgb(244,0,0);">-50%</span> [[XP Gain]] | ||
}}</pre> | }}</td> | ||
<td><pre> | |||
{{Infobox Character | {{Infobox Character | ||
|name=Lucky | |name=Lucky | ||
Line 55: | Line 81: | ||
damage to a random enemy<br> | damage to a random enemy<br> | ||
when you pick up material<br> | when you pick up material<br> | ||
<span style="color:rgb(244,0,0);">-60%</span> | <span style="color:rgb(244,0,0);">-60%</span> Attack Speed<br> | ||
<span style="color:rgb(244,0,0);">-50%</span> | <span style="color:rgb(244,0,0);">-50%</span> XP Gain | ||
}} | }}</pre></td> | ||
</tr> | |||
</table> | |||
</noinclude> | </noinclude> |
Revision as of 18:50, 4 November 2022
Usage
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{Infobox Character |name=Lucky |stats='''+8''' Max HP<br> '''+4%'''Dodge<br> }}
With Template:Character_Data (recommended):
{{Infobox Character |name=Well Rounded |stats={{Character Data|Well Rounded|stats}} }}
Examples
Preview | Code |
---|---|
{{Infobox Character |name=Well Rounded |stats={{Character Data|Well Rounded|stats}} }} |
|
Stats
+100 Luck |
{{Infobox Character |name=Lucky |stats=<span style="color:rgb(0,255,0);">+100</span> [[Luck]]<br> All <span style="color:rgb(0,255,0);">Luck</span> modifications are <br> increased by <span style="color:rgb(0,255,0);">25%</span><br> <span style="color:rgb(0,255,0);">+75%</span> chance to deal <span style="color:rgb(0,255,0);">1</span>(15% Luck)<br> damage to a random enemy<br> when you pick up material<br> <span style="color:rgb(244,0,0);">-60%</span> Attack Speed<br> <span style="color:rgb(244,0,0);">-50%</span> XP Gain }} |