Updated with content from Extension:OpenSemanticLab version 0.0.3
<noinclude>
normalizes <subobjectname> to <nowiki>{{ROOTPAGENAME}}</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
-->| {{ROOTPAGENAME}}#<!-- add prefix
-->}}<!--
-->{{{1}}}</includeonly>