Difference between revisions of "Links - Internal links to pages and sections"

From Sun Myung Moon Archive
(Created page with "{{Concise}} Internal links are links to other pages in the wiki, or to sections of pages.<br> Suppose you want to link to a page with the name <code>PageName</code> from anot...")
 
Line 19: Line 19:
  
 
For example:<br>
 
For example:<br>
<code><nowiki>[[Wiki lessons - Making links#How to make external links?]]</nowiki></code><br>
+
<code><nowiki>[[Main Page#1930s]]</nowiki></code><br>
 
gives:<br>
 
gives:<br>
<code>[[Wiki lessons - Making links#How to make external links?]]</code>
+
<code>[[Main Page#1930s]]</code>

Revision as of 07:22, 28 June 2015

Help(6 C, 4 P, 9 F)



Internal links are links to other pages in the wiki, or to sections of pages.
Suppose you want to link to a page with the name PageName from another page.
The link is made in this way: [[PageName]]

You can also link to a section in a page.
Sections are made in this way:
==Section 1==
==Section 2==
===Subsection 2.1===
===Subsection 2.2===

Suppose these sections are on the page [[PageName]]
You can link to Subsection 2.2 from anywhere in the wiki, also from the same page as the section is on, by writing:
[[PageName#Subsection 2.2]]
Or to Section 1 by writing:
[[PageName#Section 1]]

For example:
[[Main Page#1930s]]
gives:
Main Page#1930s