Template:ForagingProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>A plugin template for foraging detail template that sets seasons available properties and displays all instead of individual seasons if all four are present.</noinclude><includeonly>
<noinclude>A plugin template for foraging detail template that sets seasons available properties and displays all instead of individual seasons if all four are present.</noinclude><includeonly>
{{#if:{{IfMatch| winter | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::winter|:winter]]|}}}}{{#if:{{IfMatch| spring | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::spring|:spring]]|}}}}{{#if:{{IfMatch| summer | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::summer|:summer]]|}}}}{{#if:{{IfMatch| fall | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::fall|:fall]]|}}}}{{#if:{{IfMatch| all | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::winter|:winter]][[seasons available is::spring|:spring]][[seasons available is::summer|:summer]][[seasons available is::fall|:fall]]|}}}}{{#if:{{IfMatch| day | {{lc:{{{{{Time|}}}}} }}|[[time available is::day|:day]]|}}}}{{#if:{{IfMatch| night | {{lc:{{{{{Time|}}}}} }}|[[time available is::night|:night]]|}}}}{{#if:{{IfMatch| all | {{lc:{{{{{Time|}}}}} }}|[[time available is::day|:day]][[time available is::night|:night]]|}}}}</includeonly>
{{#if:{{IfMatch| winter | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::winter| ]]|}}}}{{#if:{{IfMatch| spring | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::spring| ]]|}}}}{{#if:{{IfMatch| summer | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::summer| ]]|}}}}{{#if:{{IfMatch| fall | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::fall| ]]|}}}}{{#if:{{IfMatch| all | {{lc:{{{{{Season|}}}}} }}|[[seasons available is::winter| ]][[seasons available is::spring| ]][[seasons available is::summer| ]][[seasons available is::fall| ]]|}}}}{{#if:{{IfMatch| day | {{lc:{{{{{Time|}}}}} }}|[[time available is::day| ]]|}}}}{{#if:{{IfMatch| night | {{lc:{{{{{Time|}}}}} }}|[[time available is::night| ]]|}}}}{{#if:{{IfMatch| all | {{lc:{{{{{Time|}}}}} }}|[[time available is::day| ]][[time available is::night| ]]|}}}}</includeonly>

Revision as of 16:22, 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.