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

From Sun Myung Moon Archive
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
The link is made in this way: <code><nowiki>[[PageName]]</nowiki></code><br>
 
The link is made in this way: <code><nowiki>[[PageName]]</nowiki></code><br>
  
You can also link to a section in a page.<br>
 
  
  
Suppose these sections are on the page <code><nowiki>[[PageName]]</nowiki></code><br>
+
==Internal links to sections==
You can link to Subsection 2.2 from anywhere in the wiki, also from the same page as the section is on, by writing:<br>
+
To a section on the same page:
<code><nowiki>[[PageName#Subsection 2.2]]</nowiki></code><br>
+
<code><nowiki>[[#Name of section]]</nowiki></code>
Or to Section 1 by writing:<br>
 
<code><nowiki>[[PageName#Section 1]]</nowiki></code><br>
 
  
For example:<br>
+
To a section of another page:
<code><nowiki>[[Main Page#1930s]]</nowiki></code><br>
+
<code><nowiki>[[Name of page#Name of section]]</nowiki></code>
gives:<br>
+
 
<code>[[Main Page#1930s]]</code>
+
To change the name of the link:
 +
<code><nowiki>[[#Name of section|Your changed name]]</nowiki></code>
 +
 
 +
[[Category:Links help]]

Latest revision as of 09:15, 2 July 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]]


Internal links to sections

To a section on the same page: [[#Name of section]]

To a section of another page: [[Name of page#Name of section]]

To change the name of the link: [[#Name of section|Your changed name]]