Difference between revisions of "Template:SpaceshipModNumbers"

From LifeWiki
Jump to navigation Jump to search
(New helper template)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{m|0}}}>3|{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}+1}}|count=1|format=,[[:Category:Spaceships_with_mod_%TITLE%|mod %TITLE%]],,}}&nbsp;'''·'''&nbsp;}}{{#ifexpr:{{{m|0}}}>2|{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-0}}|count=1|format=,[[:Category:Spaceships_with_mod_%TITLE%|mod %TITLE%]],,}}&nbsp;'''·'''&nbsp;}}{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|offset={{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}|count=1|format=,[[:Category:Spaceships_with_mod_%TITLE%|mod %TITLE%]],,}}{{#ifexpr:{{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}>0|
+
<noinclude>This template, along with the other period/mod navigation templates, 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=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|5}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-0}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Spaceships_with_mod_%TITLE%|mod %TITLE%]],,}}}}{{#ifexpr:{{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|order=descending|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}-1}}>1|{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|offset={{#expr:{{#dpl:category=Spaceships_with_specific_mod|replaceintitle=/Spaceships.with.mod./,|ordermethod=sortkey|skipthispage=no|resultsheader={|format={#ifeq,:%TITLE%{{!}}{{{m|0}}}{{!}}%NR%{{!}}},}{{#ifeq,:{{!}}a}}}}+1}}|count=1|format=&nbsp;'''·'''&nbsp;,[[:Category:Spaceships_with_mod_%TITLE%|mod %TITLE%]],,}}}}</includeonly><noinclude>This template displays the next and previous spaceship mod category links from the spaceship mod category pages.</noinclude>
 

Latest revision as of 19:48, 29 December 2020

This template, along with the other period/mod navigation templates, 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.