Template:OscNumbers: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
This doesn't fix the error
Tag: Undo
another attempt for fixing the new error
Line 7: Line 7:
{{#dpl:category=Oscillators_with_specific_period|replaceintitle=/Oscillators.with.period./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dplvar:index2}}-0}}|count=1|format= '''·''' ,[[:Category:Oscillators_with_period_%TITLE%|Period %TITLE%]],,}}}}
{{#dpl:category=Oscillators_with_specific_period|replaceintitle=/Oscillators.with.period./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dplvar:index2}}-0}}|count=1|format= '''·''' ,[[:Category:Oscillators_with_period_%TITLE%|Period %TITLE%]],,}}}}
<!-- 5th item -->{{#ifexpr:{{#expr:{{#dplvar:index1}}-1}}>1|{{#dpl:category=Oscillators_with_specific_period|replaceintitle=/Oscillators.with.period./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dplvar:index2}}+1}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Oscillators_with_period_%TITLE%|Period %TITLE%]],,}}}}
<!-- 5th item -->{{#ifexpr:{{#expr:{{#dplvar:index1}}-1}}>1|{{#dpl:category=Oscillators_with_specific_period|replaceintitle=/Oscillators.with.period./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dplvar:index2}}+1}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Oscillators_with_period_%TITLE%|Period %TITLE%]],,}}}}
<!-- Purge category list in case there are additions -->&nbsp;&nbsp;({{Purge}})
</includeonly>
</includeonly>
<noinclude>This template displays the next and previous oscillator period category links from the oscillator period category pages.[[Category:Category navigation templates]]</noinclude>
<noinclude>This template displays the next and previous oscillator period category links from the oscillator period category pages.[[Category:Category navigation templates]]</noinclude>

Revision as of 05:04, 12 July 2022

This template displays the next and previous oscillator period category links from the oscillator period category pages.