Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox event: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 16: Line 16:


|label3 = Type
|label3 = Type
|data3 = {{#if:{{{type|}}}|[[:Category:{{Infobox data commodity type|plural|{{{type}}}}}|{{Infobox data commodity type|singular|{{{type}}}}}]]}}
|data3 = {{{type|}}}
|rowclass3 = data-type infobox-data infobox-col2
|rowclass3 = data-type infobox-data infobox-col2


|label4 = Occupancy
|label4 = Location
|data4 = {{{occupancy|}}}
|data4 = {{{location|}}}
|rowclass4 = data-occupancy infobox-data infobox-col2
|rowclass4 = data-occupancy infobox-data infobox-col2


|label5 = Base price
|label5 = Start Date
|data5 = {{#if:{{{baseprice|}}}|{{formatnum:{{{baseprice}}}}} aUEC}}
|data5 = {{{start date|}}}
|rowclass5 = data-baseprice infobox-data infobox-col2
|rowclass5 = data-baseprice infobox-data infobox-col2


|label6 = Production state
|label6 = End Date
|data6 = {{{productionstate|}}}
|data6 = {{{end date|}}}
|rowclass6 = data-productionstate infobox-data infobox-col2
|rowclass6 = data-productionstate infobox-data infobox-col2


|header7 = {{#if:{{{container|}}}{{{ndr|}}}{{{hei|}}}{{{uses|}}}{{{buff1name|}}}{{{buff1duration|}}}{{{debuff1name|}}}{{{debuff1duration|}}}|Consumable{{#vardefine:isConsumable|1}}}}
|header21 = {{#if:{{{forumlink|}}}{{{uexurl|}}}|{{Infobox buttons|type=event|galactapediaurl={{{forumlink|}}}|uexurl={{{uexurl|}}}}}|<span></span>}}
|rowclass7 = infobox-header
 
|label8 = Container
|data8 = {{{container|}}}
|rowclass8 = data-container infobox-data infobox-col4
 
|label9 = [[Nutritional Density Rating|NDR]]
|data9 = {{{ndr|}}}
|rowclass9 = data-ndr infobox-data infobox-col4
 
|label10 = [[Hydration Efficacy Index|HEI]]
|data10 = {{{hei|}}}
|rowclass10 = data-hei infobox-data infobox-col4
 
|label11 = Uses
|data11 = {{{uses|}}}
|rowclass11 = data-uses infobox-data infobox-col4
 
|label12 = Buff
|data12 = {{#if:{{{buff1name|}}}|[[{{{buff1name}}}]]{{#if:{{{buff1duration|}}}|{{nbsp}}<small>({{#expr: {{{buff1duration}}} / 60}} mins)</small>}}}}{{#loop: buffcount|2|10|{{#if:{{{buff{{#var: buffcount}}name|}}}|, [[{{{buff{{#var: buffcount}}name}}}]]{{#if:{{{buff{{#var: buffcount}}duration|}}}|{{nbsp}}<small>({{#expr: {{{buff{{#var: buffcount}}duration}}} / 60}} mins)</small>}}}}}}
|rowclass12 = data-buff infobox-data infobox-col2
 
|label13 = Debuff
|data13 = {{#if:{{{debuff1name|}}}|{{{debuff1name}}}{{#if:{{{debuff1duration|}}}|{{nbsp}}<small>({{#expr: {{{debuff1duration}}} / 60}} mins)</small>}}}}{{#loop: debuffcount|2|10|{{#if:{{{debuff{{#var: debuffcount}}name|}}}|, [[{{{debuff{{#var: debuffcount}}name}}}]]{{#if:{{{debuff{{#var: debuffcount}}duration|}}}|{{nbsp}}<small>({{#expr: {{{debuff{{#var: debuffcount}}duration}}} / 60}} mins)</small>}}}}}}
|rowclass13 = data-debuff infobox-data infobox-col2
 
|header14 = {{#if:{{{harvestfrom|}}}{{{respawntime|}}}{{{harvestlocation|}}}|Harvestable{{#vardefine:isHarvestable|1}}}}
|rowclass14 = infobox-header
 
|label15 = From
|data15 = {{#if:{{{harvestfrom|}}}|[[{{{harvestfrom|}}}]]}}
|rowclass15 = data-harvestfrom infobox-data infobox-col2
 
|label16 = Respawn time
|data16 = {{#if:{{{respawntime|}}}|{{#expr: {{{respawntime}}} / 60}} mins}}
|rowclass16 = data-expeditetime infobox-data infobox-col2
 
|label17 = Location
|data17 = {{{harvestlocation|}}}
|rowclass17 = data-expeditecost infobox-data infobox-col2
 
|header18 = {{#if:{{{mineinstability|}}}{{{mineresistance|}}}|Mineable{{#vardefine:isMineable|1}}}}
|rowclass18 = infobox-header
 
|label19 = Instability
|data19 = {{{mineinstability|}}}
|rowclass19 = data-mineinstability infobox-data infobox-col3
 
|label20 = Resistance
|data20 = {{{mineresistance|}}}
|rowclass20 = data-mineresistance infobox-data infobox-col3
 
|header21 = {{#if:{{{galactapediaurl|}}}{{{uexurl|}}}|{{Infobox buttons|type=commodity|galactapediaurl={{{galactapediaurl|}}}|uexurl={{{uexurl|}}}}}|<span></span>}}
|rowclass21 = infobox-button-bar
|rowclass21 = infobox-button-bar
}}</includeonly><!--
}}</includeonly><!--
Line 90: Line 37:
Short description
Short description


--><includeonly>{{Short description|{{#if:{{{type|}}}|{{Infobox data commodity type|singular|{{{type}}}}}|Unknown}}{{nbsp}}commodity}}</includeonly><!--  
--><includeonly>{{Short description|{{#if:{{{type|}}}|An Outlands event}}}}</includeonly><!--  


Categorization  
Categorization  


--><includeonly><!--
[[Category:Events]]
-->[[Category:Commodities]]<!--
Type
-->[[Category:{{#if:{{{type|}}}|{{Infobox data commodity type|plural|{{{type}}}}}|Unknown commodities}}]]<!--
Manufacturer
-->{{#if:{{{manufacturer|}}}
|[[Category:{{MFURN|{{{manufacturer}}}}}]]
}}<!--
Harvestable
-->{{#if:{{#var:isHarvestable}}
|[[Category:Harvestables]]
}}<!--
Mineable
-->{{#if:{{#var:isMineable}}
|[[Category:Mineables]]
}}<!--
Consumable
-->{{#if:{{#var:isConsumable}}|
[[Category:{{#if:{{{container|}}}
| {{#switch: {{lc:{{{container}}}}}
|bottle
|can
|glass = Drinks
|bar
|box
|fruit
|hotdog
|sachet
|tin = Edibles
|Unknown consumables
}}
|Unknown consumables
}}]]
}}<!--
--></includeonly><!--

Latest revision as of 02:19, 17 January 2025