Jump to content

Template:Curio Infobox: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
Created page with "<includeonly>{{#if:{{{time_start|}}} |{{#ifexpr:{{#time:U|{{{time_start|}}} {{{time_start_offset|GMT+8}}}}} > {{#time:U}} |{{Upcoming}} }} }} {{#switch:{{{time_end|}}} |none = |unknown = |#default = {{#if:{{{time_end|}}} |{{#ifexpr:{{#time:U|{{{time_end|}}} {{{time_end_offset|GMT+8}}}}} < {{#time:U}} |{{EventOver|banner}} }} }} }}{{#invoke:Infobox|main |kind = curio |class = curio-infobox |title = {{{title|{{PAGENAME}}}}} |image = {{#if:{{{im..."
 
ReisuDesign (talk | contribs)
No edit summary
Line 21: Line 21:




|sections = details,relations,reruns
|sections = details,time,currencyinfo,relations,reruns




|details = type,duration,time_start,time_end,currency
|details = type,duration


|details_label = Details
|details_label = Details


|type_label = Type
|type_label = Type
|type = {{{type|}}}
|type = [[{{{type|}}}]]


|duration_label = Duration
|duration_label = Duration
|duration = {{#switch:{{{duration|}}}
|duration = [[{{#switch:{{{duration|}}}
  |limited = Limited-Time
  |limited = Limited-Time
  |permanent = Permanent
  |permanent = Permanent
  |#default = {{{duration|}}}
  |#default = {{{duration|}}}
}}
}} Curios]]


|time = time_start,time_end
|time_nolabel = 1
|time_columns = 2
|time_start_label = Start
|time_start_label = Start
|time_start = {{#if:{{{time_start|}}}|{{#time:F j, Y H:i|{{{time_start|}}}}}{{#if:{{{time_start_offset|}}}|&nbsp;{{{time_start_offset|}}}|(Server Time)}}<br>{{S|{{Time Ago|{{{time_start|}}}|last = h}}}}}}
|time_start = {{#if:{{{time_start|}}}|{{#time:F j, Y|{{{time_start|}}}}}<br>{{S|{{#time:H:i:s|{{{time_start|}}}}}{{#if:{{{time_start_offset|}}}|&nbsp;{{{time_start_offset|}}}|(Server Time)}}}}<br>''{{S|{{Time Ago|{{{time_start|}}}|last = h}}}}''}}


|time_end_label = End
|time_end_label = End
Line 45: Line 48:
  |none = Indefinite
  |none = Indefinite
  |unknown = TBA
  |unknown = TBA
  |#default = {{#if:{{{time_end|}}}|{{#time:F j, Y H:i|{{{time_end|}}}}}{{#if:{{{time_end_offset|}}}|&nbsp;{{{time_end_offset|}}}|(Server Time)}}<br>{{S|{{Time Ago|{{{time_end|}}}|last = h}}}}}}
  |#default = {{#if:{{{time_end|}}}|{{#time:F j, Y|{{{time_end|}}}}}<br>{{S|{{#time:H:i:s|{{{time_end|}}}}}{{#if:{{{time_end_offset|}}}|&nbsp;{{{time_end_offset|}}}|(Server Time)}}}}<br>''{{S|{{Time Ago|{{{time_end|}}}|last = h}}}}''}}
}}
}}


|currencyinfo = currency
|currencyinfo_nolabel = 1
|currency_label = Redeem Currency
|currency_label = Redeem Currency
|currency = {{Item|{{{currency|}}}}}
|currency = {{Item|{{{currency|}}}}}




Line 68: Line 72:
|succeeding_wide = 1
|succeeding_wide = 1
|succeeding = {{#ifeq:{{Relative Curios|Succeeding}}|noresult||'''Succeeding:'''<br>{{Relative Curios|Succeeding}}}}
|succeeding = {{#ifeq:{{Relative Curios|Succeeding}}|noresult||'''Succeeding:'''<br>{{Relative Curios|Succeeding}}}}




Line 82: Line 85:




}}{{#if:{{{nocountdown|}}}||
}}<!--
 
-->{{#if:{{{nocountdown|}}}||
{{Event Countdown
{{Event Countdown
|TimeStart = {{{time_start|}}}
|TimeStart = {{{time_start|}}}

Revision as of 16:04, 20 September 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.