Difference between revisions of "User:Sub4rctic/Any"
From TerraFirmaCraft Plus Wiki
Line 47: | Line 47: | ||
|PREFIX | |PREFIX | ||
}} | }} | ||
− | |||
so if param 1 has a comma then number, a comma and the number will be placed after SUFFIX. If not, then nothing will be placed after SUFFIX | so if param 1 has a comma then number, a comma and the number will be placed after SUFFIX. If not, then nothing will be placed after SUFFIX | ||
Line 63: | Line 62: | ||
{{#switch: {{#explode:{{{1}}}|,|0}} | {{#switch: {{#explode:{{{1}}}|,|0}} | ||
| #default = Item not found | | #default = Item not found | ||
− | | Barrel = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|){{#if:{{#explode:{{{1}}}|,|1}}|,{{#explode:{{{1}}}|,|1}}|}}}}|<|{{#explode:{{{1}}}|,|0}}<nowiki/> <nowiki/>(}} | + | Barrel= |
+ | {{#replace: | ||
+ | {{#replace: | ||
+ | {{User:Sub4rctic/Woods}} | ||
+ | |> | ||
+ | |( | ||
+ | {{#if: | ||
+ | {{#explode:{{{1}}}|,|1}} | ||
+ | |,{{#explode:{{{1}}}|,|1}} | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
+ | |< | ||
+ | |{{#explode:{{{1}}}|,|0}}<nowiki/> <nowiki/>( | ||
+ | }} | ||
+ | <!-- | Barrel = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|){{#if:{{#explode:{{{1}}}|,|1}}|,{{#explode:{{{1}}}|,|1}}|}}}}|<|{{#explode:{{{1}}}|,|0}}<nowiki/> <nowiki/>(}} --> | ||
| Chest = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|)}}|<|{{{1}}}<nowiki/> <nowiki/>(}} | | Chest = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|)}}|<|{{{1}}}<nowiki/> <nowiki/>(}} | ||
| Chopped Log = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|)}}|<|{{{1}}}<nowiki/> <nowiki/>(}} | | Chopped Log = {{#replace:{{#replace:{{User:Sub4rctic/Woods}}|>|)}}|<|{{{1}}}<nowiki/> <nowiki/>(}} |
Revision as of 07:07, 7 October 2019
Item not found
Barrel=
{{{1}}} (Acacia(;
{{{1}}} (Ash(;
{{{1}}} (Aspen(;
{{{1}}} (Bamboo(;
{{{1}}} (Baobab(;
{{{1}}} (Birch(;
{{{1}}} (Chestnut(;
{{{1}}} (Douglas Fir(;
{{{1}}} (Ebony(;
{{{1}}} (Fever(;
{{{1}}} (Fruitwood(;
{{{1}}} (Gingko(;
{{{1}}} (Hickory(;
{{{1}}} (Kapok(;
{{{1}}} (Limba(;
{{{1}}} (Mahogany(;
{{{1}}} (Maple(;
{{{1}}} (Oak(;
{{{1}}} (Palm(;
{{{1}}} (Pine(;
{{{1}}} (Sequoia(;
{{{1}}} (Spruce(;
{{{1}}} (Sycamore(;
{{{1}}} (Teak(;
{{{1}}} (White Cedar(;
{{{1}}} (White Elm(;
{{{1}}} (Willow(