Template:HeadbuttData: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
<table cellspacing="5" style="width: 100%; background-color:{{#var:cell}}; border: 4px solid {{#var:border}}; border-radius: 15px; padding: 5px;"> | <table cellspacing="5" style="width: 100%; background-color:{{#var:cell}}; border: 4px solid {{#var:border}}; border-radius: 15px; padding: 5px;"> | ||
<tr> | <tr> | ||
<td width="15%" style="border-radius: | <td width="15%" style="border-radius: 25px 1px 1px 25px; background-color: {{#var:border}}; color: {{#var:cell}}; font-weight: bold;">Amount</td> | ||
<td width="35%" style="border-radius: 1px | <td width="35%" style="border-radius: 1px 25px 25px 1px; border: 1px solid {{#var:border}}; background-color: #FFFFFF;">{{{Amount}}} trees</td> | ||
<td width="15%" style="border-radius: | <td width="15%" style="border-radius: 25px 1px 1px 25px; background-color: {{#var:border}}; color: {{#var:cell}}; font-weight: bold;">Level range</td> | ||
<td width="35%" style="border-radius: 1px | <td width="35%" style="border-radius: 1px 25px 25px 1px; border: 1px solid {{#var:border}}; background-color: #FFFFFF;">{{#external_value:levels}}</td></tr><tr> | ||
<td width="100%" colspan="4"> | <td width="100%" colspan="4"> | ||
<div style="width: 25%; margin: auto auto; background-color: {{#var:border}}; color:{{#var:cell}}; border-radius: 15px; font-weight: bold; border: 3px solid {{#var:background}}; font-size: 20px; padding: 3px;">Pokémon</div> | <div style="width: 25%; margin: auto auto; background-color: {{#var:border}}; color:{{#var:cell}}; border-radius: 15px; font-weight: bold; border: 3px solid {{#var:background}}; font-size: 20px; padding: 3px;">Pokémon</div> | ||
<table cellspacing="5" style="width: 100%; border-radius: 25px; border: padding: 5px;"> | <table cellspacing="5" style="width: 100%; border-radius: 25px; border: padding: 5px;"> | ||
<tr style="color:{{#var:border}}"> | <tr style="color:{{#var:border}}"> | ||
<th colspan="2" style="border: | <th colspan="2" style="border: 1px solid {{#var:border}}; background-color: {{#var:background}};">Pokémon</th> | ||
<th style="border: | <th style="border: 1px solid {{#var:border}}; background-color: {{#var:background}};">Rarity</th> | ||
</tr>{{#for_external_table: | </tr>{{#for_external_table: | ||
<tr style="background-color:#FFFFFF;"><td width="5%">[[File:{{{number}}}Icon.png]]</td><td>[[{{{name}}}|<span style="color: {{{ma}}};">{{{name}}}</span>]]</td><td>{{{rarity}}}</td></tr> | <tr style="background-color:#FFFFFF;"><td width="5%">[[File:{{{number}}}Icon.png]]</td><td>[[{{{name}}}|<span style="color: {{{ma}}};">{{{name}}}</span>]]</td><td>{{{rarity}}}</td></tr> |
Revision as of 18:24, 29 May 2020
This is used centrally on Headbutt trees to tabulate all Headbutt-spawn data of areas containing Headbutt trees.
The only arguments needed are {{{Area}}} to determine the area name and {{{Amount}}} to define the amount of Headbutt trees on in the relevant area; the template will transclude the rest of the data from HeadbuttSpawnData.