Template:OscNumbers: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Okay this looks good, just need to elaborate how to purge in the warning message
Confocal (talk | contribs)
remove redundant purge template, should be covered by {{CategoryTools}}
 
Line 9: Line 9:
<!-- 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%]],,}}}}|<!-- Return a warning in case the check failed -->
<!-- 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%]],,}}}}|<!-- Return a warning in case the check failed -->
<span style="color:rgb(255,0,0)">'''Period&nbsp;not&nbsp;detected;&nbsp;please&nbsp;purge&nbsp;relevant&nbsp;pages.'''</span>}}
<span style="color:rgb(255,0,0)">'''Period&nbsp;not&nbsp;detected;&nbsp;please&nbsp;purge&nbsp;relevant&nbsp;pages.'''</span>}}
<!-- Purge category list in case there are additions -->&nbsp;&nbsp;({{Purge}})
<!-- Purge category list in case there are additions -->
</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>

Latest revision as of 03:22, 25 March 2023

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