Template:ForagingProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<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.</noinc...")
 
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:{{{{{1}}}}} }}|[[seasons available is::winter| ]]|}}
{{#if:{{IfMatch| spring | {{lc:{{{{{1}}}}} }}|[[seasons available is::spring| ]]|}}
{{#if:{{IfMatch| winter | {{lc:{{{{{1|}}}}} }}|[[seasons available is::winter| ]]|}}}}
{{#if:{{IfMatch| spring | {{lc:{{{{{1|}}}}} }}|[[seasons available is::spring| ]]|}}}}

{{#if:{{IfMatch| summer | {{lc:{{{{{1}}}}} }}|[[seasons available is::summer| ]]|}}
{{#if:{{IfMatch| summer | {{lc:{{{{{1|}}}}} }}|[[seasons available is::summer| ]]|}}}}
{{#if:{{IfMatch| fall| {{lc:{{{{{1|}}}}} }}|[[seasons available is::fall| ]]|}}}}

{{#if:{{IfMatch| fall| {{lc:{{{{{1}}}}} }}|[[seasons available is::fall| ]]|}}
{{#if:{{IfMatch| winter | {{lc:{{{{{1|}}}}} }}| #if:{{IfMatch| spring | {{lc:{{{{{1}}}}} }}| #if:{{IfMatch| summer | {{lc:{{{{{1|}}}}} }}| #if:{{IfMatch| fall | {{lc:{{{{{1}}}}} }}|all|{{#arraymap:{{{1|}}}|,|@@@@| }}}}}}}}}}}}
|}}

|}}</includeonly>
{{#if:{{IfMatch| winter | {{lc:{{{{{1}}}}} }}| #if:{{IfMatch| spring | {{lc:{{{{{1}}}}} }}| #if:{{IfMatch| summer | {{lc:{{{{{1}}}}} }}| #if:{{IfMatch| fall | {{lc:{{{{{1}}}}} }}|all|{{#arraymap:{{{1|}}}|,|@@@@| }}}}
|?}}</includeonly>

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