Template:BiomeSpawnEntry: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
No edit summary
m (Avoid expanding an empty second Pokemon type)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{|</noinclude><includeonly>
<noinclude>{|</noinclude><includeonly><templatestyles src="Template:BiomeSpawnEntry/styles.css"/>
<templatestyles src="Template:BiomeSpawnEntry/styles.css"/>
|-{{#if:{{{ruleid|}}}| title="{{{ruleid}}}"}}
|-
| class="biomespawn-cell"|{{{1}}}                                           <!-- Pokemon sprite -->
| class="biomespawn-cell"|{{{1}}}         <!-- Pokémon -->
| class="biomespawn-cell" style="text-align:center"|{{{2}}}               <!-- Rarity -->
| class="biomespawn-cell" style="text-align:center"|{{{2}}}             <!-- Rarity -->
| class="biomespawn-cell" style="text-align:center"|{{{3}}}               <!-- Level -->
| class="biomespawn-cell" style="text-align:center"|{{{3}}}             <!-- Lv-range -->
| class="biomespawn-cell"|{{{4}}}                                           <!-- Requirements -->
| class="biomespawn-cell"|{{{4}}}                                         <!-- Requirements -->
| class="biomespawn-cell" style="text-align:center"|{{{5}}}                <!-- Held item -->
 
| class="biomespawn-cell" style="text-align:center; background:#{{{{{6}}} color}};" {{#if:{{{7|}}}|width="80px"|width="160px" colspan="2"}}|{{t|{{{6}}}}}
<!-- ── Type cells (same logic as AbilityEntry) ── -->
| class="biomespawn-cell" style="text-align:center; width:80px;{{#if:{{{7|}}}||display:none;}} {{#if:{{{7|}}}|background:#{{{{{7}}} color}};|background:transparent;}}"|{{#if:{{{7|}}}|{{t|{{{7}}}}}|}}
| class="biomespawn-cell" style="text-align:center; background:#{{{{{5}}} color}};" {{#if: {{{6|}}}|width="80px"|width="160px" colspan="2"}} |{{t|{{{5}}}}}
</includeonly><noinclude>|}</noinclude>
| class="biomespawn-cell" style="text-align:center; width:80px; {{#if:{{{6|}}}||display:none;}} background:#{{{{{6}}} color}};"{{!}}{{t|{{{6}}}}}</includeonly><noinclude>
|}</noinclude>

Latest revision as of 09:32, 3 August 2026