Diferencia entre revisiones de «Plantilla:S3Schedule/BattleRow»
De Inkipedia
(Prueba de código) |
m (Solucionado un error) |
||
(No se muestran 10 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
<includeonly><div style="display: flex; flex-wrap: wrap; justify-content: center; overflow: hidden;"> | <includeonly><div style="display: flex; flex-wrap: wrap; justify-content: center; overflow: hidden;"> | ||
<div style="min-width: 295px; margin: 1px; border: 2px solid #ffffff; border-radius: 8px; overflow: hidden; flex: auto;"> | <div style="min-width: 295px; margin: 1px; border: 2px solid #ffffff; border-radius: 8px; overflow: hidden; flex: auto; flex-basis:25%">{{#if:{{{2|}}}{{{3|}}}| | ||
<div class="bubbleboxbg-lighter" style="height: 24px; padding: 2px 0; text-align: center;">{{#ifeq: | {{#if:{{{schedule0|}}}|{{{schedule0|}}}}} | ||
<div class="bubbleboxbg-darker"> | <div class="bubbleboxbg-lighter" style="height: 24px; padding: 2px 0; text-align: center;">{{#ifeq: {{{1}}} | | | [[File:S3 icon {{Trim|{{{1}}}}}.png|24px|link={{Castellano|modo|valor={{{1}}}}}]] }} [[{{Castellano|modo|valor={{{1}}}}}]]</div> | ||
<div class="bubbleboxbg-darker"><div style="text-align: center;">{{#ifeq: {{{name_0|}}}|||{{Castellano|combateevento|valor={{{name_0|}}}}}}}</div> | |||
<div style="display: flex; justify-content: space-evenly; padding-bottom: 2px;"> | <div style="display: flex; justify-content: space-evenly; padding-bottom: 2px;"> | ||
<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{2}}}}}.png|145px|link={{ | <div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">{{#if:{{{2}}}|{{#ifeq:{{{2|}}}|Random|[[File:S3 Stage {{{2}}}.png|145px|link=]]|[[File:S3 Stage {{Trim|{{{2}}}}}.png|145px|link={{Castellano|escenario|valor={{{2}}}}}]]}}|[[File:S3 Stage Not Found.png|145px|link=]]}}</div><br>{{#if:{{{2}}}|{{#ifeq:{{{2|}}}|Random|Aleatorio|[[{{Castellano|escenario|valor={{{2}}}}}]]}}|Desconocido}}</div> | ||
<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{3}}}}}.png|145px|link={{ | {{#ifeq:{{{3|}}}{{{nounknown|false}}}|true||<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">{{#if:{{{3}}}|[[File:S3 Stage {{Trim|{{{3}}}}}.png|145px|link={{Castellano|escenario|valor={{{3}}}}}]]|[[File:S3 Stage Not Found.png|145px|link=]]}}</div><br>{{#if:{{{3}}}|[[{{Castellano|escenario|valor={{{3}}}}}]]|Desconocido}}</div>}} | ||
</div> | </div> | ||
</div>}} | |||
</div><!--CURRENT ROTATION--> | </div><!--CURRENT ROTATION--> | ||
<div style="min-width: 295px; margin: 1px; border: 2px solid #ffffff; border-radius: 8px; overflow: hidden; flex: auto;"> | {{#ifeq:{{{singlecolumn|false}}}|true||<div style="min-width: 295px; margin: 1px; border: 2px solid #ffffff; border-radius: 8px; overflow: hidden; flex: auto; flex-basis:25%">{{#if:{{{5|}}}{{{6|}}}| | ||
<div class="bubbleboxbg-lighter" style="height: 24px; padding: 2px 0; text-align: center;">{{#ifeq: | {{#if:{{{schedule1|}}}|{{{schedule1|}}}}} | ||
<div class="bubbleboxbg-darker"> | <div class="bubbleboxbg-lighter" style="height: 24px; padding: 2px 0; text-align: center;">{{#ifeq: {{{4}}} | | | [[File:S3 icon {{Trim|{{{4}}}}}.png|24px|link={{Trim|{{Castellano|modo|valor={{{4}}}}}}}]] }} [[{{Trim|{{Castellano|modo|valor={{{4}}}}}}}]]</div> | ||
<div class="bubbleboxbg-darker"><div style="text-align: center;">{{#ifeq: {{{name_0|}}}|||{{Castellano|combateevento|valor={{{name_1|}}}}}}}</div> | |||
<div style="display: flex; justify-content: space-evenly; padding-bottom: 2px;"> | <div style="display: flex; justify-content: space-evenly; padding-bottom: 2px;"> | ||
<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{5}}}}}.png|145px|link={{ | <div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">{{#if:{{{5}}}|{{#ifeq:{{{5|}}}|Random|[[File:S3 Stage {{{5}}}.png|145px|link=]]|[[File:S3 Stage {{Trim|{{{5}}}}}.png|145px|link={{Castellano|escenario|valor={{{5}}}}}]]}}|[[File:S3 Stage Not Found.png|145px|link=]]}}</div><br>{{#if:{{{5}}}|{{#ifeq:{{{5|}}}|Random|Aleatorio|[[{{Trim|{{Castellano|escenario|valor={{{5}}}}}}}]]}}|Desconocido}}</div> | ||
<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{6}}}}}.png|145px|link={{ | {{#ifeq:{{{6|}}}{{{nounknown|false}}}|true||<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">{{#if:{{{6}}}|[[File:S3 Stage {{Trim|{{{6}}}}}.png|145px|link={{Castellano|escenario|valor={{{6}}}}}]]|[[File:S3 Stage Not Found.png|145px|link=]]}}</div><br>{{#if:{{{6}}}|[[{{Trim|{{Castellano|escenario|valor={{{6}}}}}}}]]|Desconocido}}</div>}} | ||
</div> | </div> | ||
</div><!--NEXT ROTATION--> | </div>}} | ||
</div>}}<!--NEXT ROTATION--> | |||
</div></includeonly><noinclude>__NOTOC__ | </div></includeonly><noinclude>__NOTOC__ | ||
=== | === Código === | ||
<nowiki>{{ | <nowiki>{{S3Schedule/BattleRow | ||
|name_0 = New Season Challenge | |||
|schedule0=<div style="text-align:center;">¡En breve!<br>16:00 - 18:00</div> | |||
|Tower Control|Scorch Gorge|Flounder Heights | |Tower Control|Scorch Gorge|Flounder Heights | ||
| | |name_1 = Zip-to-it Zipcaster Challenge | ||
|schedule1=<div style="text-align:center;">Próximo<br>00:00 - 02:00</div> | |||
|Rainmaker|MakoMart|Wahoo World | |||
}}</nowiki> | }}</nowiki> | ||
=== | === Resultado === | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|name_0 = New Season Challenge | |||
|schedule0=<div style="text-align:center;">¡En breve!<br>16:00 - 18:00</div> | |||
|Tower Control|Scorch Gorge|Flounder Heights | |Tower Control|Scorch Gorge|Flounder Heights | ||
| | |name_1 = Zip-to-it Zipcaster Challenge | ||
|schedule1=<div style="text-align:center;">Próximo<br>00:00 - 02:00</div> | |||
|Rainmaker|MakoMart|Wahoo World | |||
}}</noinclude> | }}</noinclude> |
Revisión actual - 10:26 14 feb 2024
Código
{{S3Schedule/BattleRow |name_0 = New Season Challenge |schedule0=<div style="text-align:center;">¡En breve!<br>16:00 - 18:00</div> |Tower Control|Scorch Gorge|Flounder Heights |name_1 = Zip-to-it Zipcaster Challenge |schedule1=<div style="text-align:center;">Próximo<br>00:00 - 02:00</div> |Rainmaker|MakoMart|Wahoo World }}