445 bytes added
, 06:11, 23 June 2022
<noinclude>
normalizes <subobjectname> to <nowiki>{{BASEPAGENAME}}</nowiki>#<subobjectname> but keeps <anypagename>#<subobjectname> as it is
Test:
{{{{FULLPAGENAME}} |subobjectname}}
{{{{FULLPAGENAME}} |anypagename#subobjectname}}
</noinclude>
<includeonly><!--
-->{{#if: {{#pos:{{{1}}}|#}}<!-- check if param is already a full subobject path
-->|<!-- do nothing
-->| {{BASEPAGENAME}}#<!-- add prefix
-->}}<!--
-->{{{1}}}</includeonly>