Template:LegendaryTriosHorizontal: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Cae (talk | contribs)
created test template page
 
Undo revision 36954 by Naero (talk)
Tag: Undo
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#vardefine:region|{{LegendaryRegionFromGen|{{{Gen}}}}}}}{{#if:{{#var:arrayregistered}} != 1|{{PokemonArray}}{{#vardefine:arrayregistered|1}}}}{{Trichrome|Color={{#var:region}}}}
{{LegendaryTriosHorizontal
| Gen = I
| Name = Legendary Birds
| Requirements = All three of the Birds are catchable upon completion of the [[Legendary Birds (quest)|Legendary Birds quest]].
| Pokemon =
{{LegendaryTrioHorizontal|Articuno}}{{LegendaryTrioHorizontal|Zapdos}}{{LegendaryTrioHorizontal|Moltres}}
}}
</noinclude>
 
<includeonly>
{{#vardefine:region|{{#switch: {{{Gen}}}  
| I = Kanto
| II = Johto
| III = Hoenn
| IV = Sinnoh
| V = Unova
| VI = Kalos
| VII = Alola
| VIII = Galar
| IX = Zephyr
}}}}
 
{{#if:{{#var:arrayregistered}} != 1|{{PokemonArray}}{{#vardefine:arrayregistered|1}}}}
 
{{Trichrome|Color={{#var:region}}}}
 
<table style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 3px; text-align: center; width: 100%;">
<table style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 3px; text-align: center; width: 100%;">
<tr>
<tr><td>
  <td>
<table style="width: 100%; text-align: center;">
    <table style="width: 100%; text-align: center;">
<tr style="font-weight: bold; color: {{#var:border}};">
      <tr style="font-weight: bold; color: {{#var:border}};">
<th colspan="3" style="border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; border-radius: 25px; padding: 5px;">
        <th colspan="3" style="border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; border-radius: 25px; padding: 5px;">
<span style="font-size: large;">{{{Name|}}}</span><br>
          <span style="font-size: large;">{{{Name|}}}</span><br>
<span style="font-size: 12px;">[[:Category:Generation {{{Gen|}}} Pokémon|<span style="color: {{#var:border}};">Generation {{{Gen|}}}</span>]]</span>
          <span style="font-size: 12px;">
</th>
            [[:Category:Generation {{{Gen|}}} Pokémon|<span style="color: {{#var:border}};">Generation {{{Gen|}}}</span>]]
          </span>
        </th>
      </tr>
      <tr>
        <td colspan="3" style="text-align: center;">
          {{{Pokemon}}} <!-- This will now contain horizontally laid-out divs -->
        </td>
      </tr>
      {{Trichrome|Color={{{Theme|{{#var:region}}}}}}}
    </table>
  </td>
</tr>
<tr>
  <td>
    <table style="border-radius: 25px; border: 1px solid {{#var:border}}; width: 100%; background-color: {{#var:cell}}; padding: 3px;">
      <tr>
        <th style="color: {{#var:border}}; font-weight: bold;">Availability</th>
      </tr>
      <tr>
        <td style="background-color: #FFFFFF; color: #000000; border-radius: 25px; font-weight: normal; text-align: left; border: 1px solid {{#var:border}}; width: 90%;">
          <p style="padding-left: 8px;">{{{Requirements}}}</p>
        </td>
      </tr>
    </table>
  </td>
</tr>
</tr>
<tr><td colspan="3" style="text-align: center;">
<div style="display: flex; flex-wrap: wrap; justify-content: center;">{{{Pokemon}}}</div>
</td></tr>
{{Trichrome|Color={{{Theme|{{#var:region}}}}}}}
</table>
</td></tr>
<tr><td>
<table style="border-radius: 25px; border: 1px solid {{#var:border}}; width: 100%; background-color: {{#var:cell}}; padding: 3px;">
<tr><th style="color: {{#var:border}}; font-weight: bold;">Availability</th></tr>
<tr><td style="background-color: #FFFFFF; color: #000000; border-radius: 25px; font-weight: normal; text-align: left; border: 1px solid {{#var:border}}; width: 90%;"><p style="padding-left: 8px;">{{{Requirements}}}</p></td></tr>
</table>
</td></tr>
</table>
</table>
</includeonly>
</includeonly>

Latest revision as of 20:07, 28 June 2025