Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Template:Curio Infobox: Difference between revisions

Template page
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
 
(3 intermediate revisions by the same user not shown)
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
  |seasonal = Seasonal
  |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 = {{#if:{{{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|}}}
Line 95: Line 100:
The namespace check is necessary since the magic words need additional masking.
The namespace check is necessary since the magic words need additional masking.
-->{{#ifeq:{{NAMESPACE}}||<!--
-->{{#ifeq:{{NAMESPACE}}||<!--
-->{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title|}}}|noreplace}}}}<!--
-->{{#if:{{{title|}}}|{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{{title|}}}|noreplace}}}}}}<!--
-->}}<!--
-->}}<!--
-->[[Category:Curios]]<!--
-->[[Category:Curios]]<!--
Line 106: Line 111:


-->{{#switch:{{{duration|}}}
-->{{#switch:{{{duration|}}}
|lt   = [[Category:Limited-Time Curios]]
|seasonal   = [[Category:Seasonal Curios]]
|perm     = [[Category:Permanent Curios]]
|permanent     = [[Category:Permanent Curios]]
}}<!--
}}<!--
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>