Template:OscModNumbers: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
New helper template
 
we forgot to disable this one
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{m|0}}}>3|{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}+1}}|count=1|format=,[[:Category:Oscillators_with_mod_%TITLE%|mod %TITLE%]],,}}&nbsp;'''·'''&nbsp;}}{{#ifexpr:{{{m|0}}}>2|{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-0}}|count=1|format=,[[:Category:Oscillators_with_mod_%TITLE%|mod %TITLE%]],,}}&nbsp;'''·'''&nbsp;}}{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}|count=1|format=,[[:Category:Oscillators_with_mod_%TITLE%|mod %TITLE%]],,}}{{#ifexpr:{{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}>0|
<noinclude>This template SHOULD display the next and previous oscillator period category links from the oscillator period category pages, but it is currently empty since new versions of DynamicPageList changed their syntax, breaking this template. Ideally, this template will be fixed sometime in the future.</noinclude>
{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|5}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-0}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Oscillators_with_mod_%TITLE%|mod %TITLE%]],,}}}}{{#ifexpr:{{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}>1|{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dpl:category=Oscillators_with_specific_mod|replaceintitle=/Oscillators.with.mod./,|ordermethod=sortkey|skipthispage=no|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}+1}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Oscillators_with_mod_%TITLE%|mod %TITLE%]],,}}}}</includeonly><noinclude>This template displays the next and previous oscillator mod category links from the oscillator mod category pages.</noinclude>

Revision as of 01:48, 10 December 2019

This template SHOULD display the next and previous oscillator period category links from the oscillator period category pages, but it is currently empty since new versions of DynamicPageList changed their syntax, breaking this template. Ideally, this template will be fixed sometime in the future.