Template:Infobox item/Draft: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary |
Salty Nori (talk | contribs) No edit summary |
||
Line 57: | Line 57: | ||
-->}} | -->}} | ||
</format> | </format> | ||
</data> | </data> | ||
<data source="rarity"> | <data source="rarity"> | ||
Line 161: | Line 121: | ||
</data> | </data> | ||
</group> | </group> | ||
<group layout="horizontal"> | |||
<header>Conditions</header> | |||
<data source="spring"> | |||
<label>Spring</label> | |||
<format>{{#if:{{{spring|}}}|<!-- | |||
-->{{#ifeq:{{#explode:{{{spring|}}}|;|0}}|1|{{check|yes}}| }}{{#if:{{#explode:{{{spring|}}}|;|1}}<!-- | |||
-->|<br />({{#explode:{{{spring|}}}|;|1}})}}}} | |||
</format> | |||
</data> | |||
<data source="summer"> | |||
<label>Summer</label> | |||
<default> </default> | |||
<format>{{#if:{{{summer|}}}|<!-- | |||
-->{{#ifeq:{{#explode:{{{summer|}}}|;|0}}|1|{{check|yes}}| }}{{#if:{{#explode:{{{summer|}}}|;|1}}<!-- | |||
-->|<br />({{#explode:{{{summer|}}}|;|1}})}}}} | |||
</format> | |||
</data> | |||
<data source="fall"> | |||
<label>Fall</label> | |||
<default> </default> | |||
<format>{{#if:{{{fall|}}}|<!-- | |||
-->{{#ifeq:{{#explode:{{{fall|}}}|;|0}}|1|{{check|yes}}| }}{{#if:{{#explode:{{{fall|}}}|;|1}}<!-- | |||
-->|<br />({{#explode:{{{fall|}}}|;|1}})}}}} | |||
</format> | |||
</data> | |||
<data source="winter"> | |||
<label>Winter</label> | |||
<default> </default> | |||
<format>{{#if:{{{winter|}}}|<!-- | |||
-->{{#ifeq:{{#explode:{{{winter|}}}|;|0}}|1|{{check|yes}}| }}{{#if:{{#explode:{{{winter|}}}|;|1}}<!-- | |||
-->|<br />({{#explode:{{{fall|}}}|;|1}})}}}} | |||
</format> | |||
</data> | |||
</group> | |||
<data source="weather"> | |||
<label>Weather</label> | |||
<format><!-- | |||
-->{{#ifeq:{{{weather|}}}<!-- | |||
-->|Any|Any weather<!-- | |||
-->|{{Array|{{{weather|}}}|;|[[{item}]]|<br />|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | |||
<data source="time"> | |||
<label>[[Time of day]]</label> | |||
<format><!-- | |||
-->{{#switch:{{{time|}}}<!-- | |||
-->|All day = All day<!-- | |||
-->|Morning = Morning (06:00 - 11:50)<!-- | |||
-->|Afternoon = Afternoon (12:00 - 15:50)<!-- | |||
-->|Evening = Evening (16:00 - 17:50)<!-- | |||
-->|Night = Night (18:00 - 01:50)<!-- | |||
-->|#default = {{{time}}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{time2|}}}|<!-- | |||
-->{{#switch:{{{time2|}}}<!-- | |||
-->|All day = <br />All day<!-- | |||
-->|Morning = <br />Morning (06:00 - 11:50)<!-- | |||
-->|Afternoon = <br />Afternoon (12:00 - 15:50)<!-- | |||
-->|Evening = <br />Evening (16:00 - 17:50)<!-- | |||
-->|Night = <br />Night (18:00 - 01:50)<!-- | |||
-->|#default = <br />{{{time2}}}<!-- | |||
-->}}}}<!-- | |||
-->{{#if:{{{time3|}}}|<!-- | |||
-->{{#switch:{{{time3|}}}<!-- | |||
-->|All day = <br />All day<!-- | |||
-->|Morning = <br />Morning (06:00 - 11:50)<!-- | |||
-->|Afternoon = <br />Afternoon (12:00 - 15:50)<!-- | |||
-->|Evening = <br />Evening (16:00 - 17:50)<!-- | |||
-->|Night = <br />Night (18:00 - 01:50)<!-- | |||
-->|#default = <br />{{{time3}}}<!-- | |||
-->}}}}<!-- | |||
--></format> | |||
</data> | |||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<header>Sell prices</header> | <header>Sell prices</header> | ||
Line 417: | Line 451: | ||
|size = Large | |size = Large | ||
|rarity = Legendary | |rarity = Legendary | ||
|weather = Sunny;Rain;Windy;Storm | |weather = Sunny;Rain;Windy;Storm | ||
|spring = 1;1-16 | |||
|fall = 1 | |||
|time = Evening | |time = Evening | ||
|time2 = Morning | |time2 = Morning |
Revision as of 10:01, 16 February 2024
This is the template draft page for Template:Infobox item (diff).
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Main | Documentation | Sandbox | Usage |
Example 1
Example 2
Example 3