Template:Taalkeuze: Difference between revisions

From krizzz.biz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#set:rootpagename={{#replace:{{PAGENAME}}|/(nl|de)$|}}}}
{{#ifeq:{{#substr:{{PAGENAME}}| -3}}|/nl|
 
  {{#substr:{{PAGENAME}}|0|-3}}
<div style="font-size:90%; background:#f8f8f8; padding:6px; border-radius:5px; border:1px solid #ccc; text-align:center;">
|
'''Dit artikel is beschikbaar in:'''
  {{#ifeq:{{#substr:{{PAGENAME}}| -3}}|/de|
[[:{{rootpagename}}|🇬🇧 English]] • [[:{{rootpagename}}/nl|🇳🇱 Nederlands]] • [[:{{rootpagename}}/de|🇩🇪 Deutsch]]
    {{#substr:{{PAGENAME}}|0|-3}}
</div>
    |
    {{PAGENAME}}
  }}
}}

Revision as of 01:59, 12 August 2025

{{#ifeq:{{#substr:Taalkeuze| -3}}|/nl|

 {{#substr:Taalkeuze|0|-3}}

|

 {{#ifeq:{{#substr:Taalkeuze| -3}}|/de|
   {{#substr:Taalkeuze|0|-3}}
   |
   Taalkeuze
 }}

}}