Template:ReturnToParent: Difference between revisions
Spacetrain31 (talk | contribs) No edit summary |
Spacetrain31 (talk | contribs) No edit summary |
||
| Line 23: | Line 23: | ||
[[Category:Navigation templates]] | [[Category:Navigation templates]] | ||
</noinclude><includeonly>{{#if:{{{parent|}}}| | </noinclude><includeonly>{{#if:{{{parent|}}} | ||
|{{#if:{{{text|}}} | |||
|[[{{{parent}}}|{{{text}}}]] | |||
|[[{{{parent}}}|← Return to {{{parent}}}]] | |||
}} | |||
|{{#if:{{{1|}}} | |||
|[[{{{1}}}|← Return to {{{1}}}]] | |||
|{{#ifeq:{{NAMESPACE}}| | |||
|{{#if:{{BASEPAGENAME}} | |||
|[[{{BASEPAGENAME}}|← Return to {{BASEPAGENAME}}]] | |||
|<span class="error">No parent page found</span> | |||
}} | |||
|[[{{NAMESPACE}}:{{BASEPAGENAME}}|← Return to {{BASEPAGENAME}}]] | |||
}} | |||
}} | |||
}}</includeonly> | |||