Vorlage:Header: Unterschied zwischen den Versionen
Aus LNTwww
Hide prev/next buttons when params not provided |
Fix prev/next with #if outside html blocks |
||
| Zeile 23: | Zeile 23: | ||
<div class="topp"> | <div class="topp"> | ||
<ul class="pager"> | <ul class="pager"> | ||
</html> | </html> | ||
{{#if:{{{Vorherige Seite|}}}|[[{{BASEPAGENAME}}/{{{Vorherige Seite}}} {{!}} Vorherige Seite]]}} | {{#if:{{{Vorherige Seite|}}}| | ||
<html><li class="prev-pager"></html> | |||
[[{{BASEPAGENAME}}/{{{Vorherige Seite}}}{{!}}Vorherige Seite]] | |||
<html></li></html> | |||
}} | |||
{{#if:{{{Nächste Seite|}}}| | |||
<html><li class="next-pager"></html> | |||
[[{{BASEPAGENAME}}/{{{Nächste Seite}}}{{!}}Nächste Seite]] | |||
<html></li></html> | |||
}} | |||
<html> | <html> | ||
</ul> | </ul> | ||
</div> | </div> | ||
| Zeile 39: | Zeile 41: | ||
<div class="bottomm"> | <div class="bottomm"> | ||
<ul class="pager"> | <ul class="pager"> | ||
</html> | </html> | ||
{{#if:{{{Nächste Seite|}}}|[[{{BASEPAGENAME}}/{{{Nächste Seite}}} {{!}} Nächste Seite]]}} | {{#if:{{{Vorherige Seite|}}}| | ||
<html><li class="prev-pager"></html> | |||
[[{{BASEPAGENAME}}/{{{Vorherige Seite}}}{{!}}Vorherige Seite]] | |||
<html></li></html> | |||
}} | |||
{{#if:{{{Nächste Seite|}}}| | |||
<html><li class="next-pager"></html> | |||
[[{{BASEPAGENAME}}/{{{Nächste Seite}}}{{!}}Nächste Seite]] | |||
<html></li></html> | |||
}} | |||
<html> | <html> | ||
</ul> | </ul> | ||
</div> | </div> | ||
</html> | </html> | ||
Version vom 25. Februar 2026, 16:59 Uhr