User:Veerserif/Sandbox/Food infobox: Difference between revisions

From Vintage Story Wiki
no edit summary
(seeing if i can get lcfirst: working)
No edit summary
 
Line 7: Line 7:
{{User:Veerserif/Sandbox/Infobox row|label=Satiety|field={{ #if: {{{satiety|}}} | {{{satiety}}} {{#if: {{{category|}}}| {{ll|Satiety|{{lcfirst:{{{category|}}}}}}} }} | N/A }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Satiety|field={{ #if: {{{satiety|}}} | {{{satiety}}} {{#if: {{{category|}}}| {{ll|Satiety|{{lcfirst:{{{category|}}}}}}} }} | N/A }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Ingredient|field={{ #if: {{{ingredient|}}} | Yes ({{{ingredient}}}) | No }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Ingredient|field={{ #if: {{{ingredient|}}} | Yes ({{{ingredient}}}) | No }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Shelf life|field={{{FreshTime|}}}, turns into {{#if:{{{TransitionRatio|}}} |{{{TransitionRatio|}}}x}} {{#if: {{{TransitionOutput|}}} | {{{TransitionOutput}}}|[[rot]] }} {{#if: {{{TransitionTime|}}} | over {{{TransitionTime|}}} }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Fresh for|field={{{FreshTime|}}}, turns into {{#if:{{{TransitionRatio|}}} |{{{TransitionRatio|}}}x}} {{#if: {{{TransitionOutput|}}} | {{{TransitionOutput}}}|[[Special:MyLanguage/Rot|rot]] }} {{#if: {{{TransitionTime|}}} | over {{{TransitionTime|}}} }} }}
| footer =
| footer =
{{{notes|}}}
{{{notes|}}}
Confirmedusers, editor
2,830

edits