Template:OscModNumbers: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
New helper template
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
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, along with [[Template:OscNumbers]], 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.[[Category:Category navigation templates]][[Category:Pages needing attention]]</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>

Latest revision as of 19:48, 29 December 2020

This template, along with Template:OscNumbers, 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.