Topic on Project:Support desk

check the anchor of the current URL

2
Paul Hema (talkcontribs)

Moin,

how can I get the anchor of the current page?


Example: {{#ifexist: {{PAGENAME}}#test | exists | doesn't exist }} (I want to check the "test" anchor)


Thanks, Paul

Ciencia Al Poder (talkcontribs)

You can't test for an existence of an anchor within a page. #ifexist only works for pages.

Reply to "check the anchor of the current URL"