Template:ForagingProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{#if:{{IfMatch| summer | {{lc:{{{{{Season|}}}}} }}|[[seasons available::Summer| ]]|}}}}
{{#if:{{IfMatch| summer | {{lc:{{{{{Season|}}}}} }}|[[seasons available::Summer| ]]|}}}}
{{#if:{{IfMatch| fall | {{lc:{{{{{Season|}}}}} }}|[[seasons available::Fall| ]]|}}}}
{{#if:{{IfMatch| fall | {{lc:{{{{{Season|}}}}} }}|[[seasons available::Fall| ]]|}}}}
{{#if:{{IfMatch| all | {{lc:{{{{{Season|}}}}} }}|[[seasons available::Winter| ]][[seasons available::Spring| ]][[seasons available::Summer| ]][[seasons available::Fall| ]]|}}}}
{{#if:{{IfMatch| all | {{{Season|}}} }}|[[seasons available::Winter| ]][[seasons available::Spring| ]][[seasons available::Summer| ]][[seasons available::Fall| ]]|}}}}
{{#if:{{IfMatch| day | {{lc:{{{{{Time|}}}}} }}|[[time available is::day| ]]|}}}}
{{#if:{{IfMatch| day | {{lc:{{{{{Time|}}}}} }}|[[time available is::day| ]]|}}}}
{{#if:{{IfMatch| night | {{lc:{{{{{Time|}}}}} }}|[[time available is::night| ]]|}}}}
{{#if:{{IfMatch| night | {{lc:{{{{{Time|}}}}} }}|[[time available is::night| ]]|}}}}

Revision as of 16:33, 16 October 2014

A plugin template for foraging detail template that sets seasons available properties and displays all instead of individual seasons if all four are present.