User:Michael Murtaugh/Subpage: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Editing the subpage - foo
And here we are in a subpage of my user page.
And here we are in a subpage of my user page.


Line 5: Line 7:
You can even repeat the trick...
You can even repeat the trick...


<nowiki>[[/Subpage]]</nowiki>
; <nowiki>[[/Subpage]]</nowiki> : produces [[/Subpage]]
 
To make a link back up one level you can actually use any of:


* [[/Subpage]]
; <nowiki>[[User:Michael Murtaugh]]</nowiki> : an absolute (self-contained) reference, it would link the same way no matter where you write it
; <nowiki>[[../]]</nowiki> : a *relative* reference dot-dot means "up one level"... the page you go to depends on the current page you're on
; <nowiki>[[../ | back]]</nowiki> : combine with the *pipe* to change the displayed text


To make a link back up one level you can actually use any of:
produces...


* <nowiki>[[User:Michael Murtaugh]]</nowiki>
* [[User:Michael Murtaugh]]  
* <nowiki>[[../]]</nowiki>
* [[../]]  
* <nowiki>[[../ | back]]</nowiki>
* [[../ | back]]


which produce...
this is a test


* [[User:Michael Murtaugh]] ... a self-contained reference
[[File:michael_test.jpg]]
* [[../]] ... a *relative* reference dot-dot means "up one level"
* [[../ | back]] ... combined with a pipe to change the displayed text

Latest revision as of 21:33, 5 September 2022

Editing the subpage - foo

And here we are in a subpage of my user page.

Notice how you get "breadcrumbs" navigation for free under the page title.

You can even repeat the trick...

[[/Subpage]]
produces /Subpage

To make a link back up one level you can actually use any of:

[[User:Michael Murtaugh]]
an absolute (self-contained) reference, it would link the same way no matter where you write it
[[../]]
a *relative* reference dot-dot means "up one level"... the page you go to depends on the current page you're on
[[../ | back]]
combine with the *pipe* to change the displayed text

produces...

this is a test

File:Michael test.jpg