Différences entre versions de « Modèle:FishLocationEntry »

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
(fix formatting)
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
<onlyinclude><includeonly>
 
<onlyinclude><includeonly>
 
|-
 
|-
|colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{name|{{{fish|}}}|size=16}}|{{Season|{{{season|}}}}}}}
+
|colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{name|{{{fish|}}}|size=16|alt={{{link|}}}}}|{{Season|{{{season|}}}}}}}
 
{{#if:{{{location|}}}|
 
{{#if:{{{location|}}}|
 
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}{{#if:{{{offset|}}}|
 
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}{{#if:{{{offset|}}}|
{{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height: 16px;"{{!}}|}}
+
{{#if:{{{location|}}}|{{!}}|}}{{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height: 16px;"{{!}}|}}
| colspan="{{#if:{{{offset|}}}|{{{length|}}}|{{#switch:{{{timeofday|}}}|Night = {{#expr: 20 - {{{length|}}}}}|{{{length|}}}}}}}" style="background: #{{#switch:{{{timeofday|}}}|Night = |{{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|<i>Jour de {{{weather|}}} seulement</i>|}}}}
+
| colspan="{{#if:{{{offset|}}}|{{{length|}}}|{{#switch:{{{timeofday|}}}|Night = {{#expr: 20 - {{{length|}}}}}|{{{length|}}}}}}}" style="background: #{{#switch:{{{timeofday|}}}|Night = |{{#switch:{{{weather|}}}|Rainy|pluie = 09B0EE|Sunny|soleil = FEBF15|Snowy = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|<i>Jour de {{{weather|}}} seulement</i>|}}}}
| colspan="{{#if:{{{offset|}}}|{{#expr: 20 - {{{offset|}}} - {{{length|}}}}}|{{#switch:{{{timeofday|}}}|Night = {{{length|}}}|{{#expr: 20 - {{{length|}}}}}}}}}" style="{{#ifexpr:{{{length|}}} = 20|display:none;|}} background: #{{#switch:{{{timeofday|}}}|Night = {{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height:16px;"| {{#switch:{{{timeofday|}}}|Night = {{#if:{{{weather|}}}|<i>Jour de {{{weather|}}} seulement{{#if:{{{snow|}}}{{!}}&nbsp;(Introuvable en hiver)}}</i>|}}|}}</includeonly></onlyinclude><noinclude>{{Englishdoc}}</noinclude>
+
| colspan="{{#if:{{{offset|}}}|{{#expr: 20 - {{{offset|}}} - {{{length|}}}}}|{{#switch:{{{timeofday|}}}|Night = {{{length|}}}|{{#expr: 20 - {{{length|}}}}}}}}}" style="{{#ifexpr:{{{length|}}} = 20|display:none;|}} background: #{{#switch:{{{timeofday|}}}|Night = {{#switch:{{{weather|}}}|Rainy|pluie = 09B0EE|Sunny|soleil = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height:16px;"| {{#switch:{{{timeofday|}}}|Night = {{#if:{{{weather|}}}|<i>Jour de {{{weather|}}} seulement{{#if:{{{snow|}}}{{!}}&nbsp;(Introuvable en hiver)}}</i>|}}|}}</includeonly></onlyinclude><noinclude>{{Englishdoc}}</noinclude>

Version actuelle datée du 7 mars 2021 à 21:33

Voir la page de documentation en anglais pour plus d'informations sur ce modèle.

Utiliser

Ce modèle peut être utilisé en entrant ce qui suit dans une page pertinente.

{{FishLocationEntry}}

Produit ...

|- |colspan="2" style="background: #; text-align: ; line-height:16px;" |

| colspan="" style="background: #90CF53; text-align: center; line-height: 16px;"| | colspan="Erreur d’expression : opérande manquant pour -." style="Erreur d’expression : opérateur = inattendu. background: #; text-align: center; line-height:16px;"|