Difference between revisions of "Help:Contents"

4 bytes added ,  17:19, 2 January 2013
(some cleanup)
Line 19: Line 19:
'''Internal links:''' For a link to another page on the wiki, put double brackets around the name of a page: <tt><nowiki>[[Main Page]]</nowiki></tt> and it will show up as a link, like this [[Main Page]]. If you want to have the link appear with different text, use a | like this <tt><nowiki>[[Main Page|Flashlight Wiki]]</nowiki></tt> and it will appear like this: [[Main Page|Flashlight Wiki]]. You can also link to a subsection of a page by using # in the link like this: <tt><nowiki>[[Main Page#Flashlights|Flashlight sub-section]]</nowiki></tt>, to get this link: [[Main Page#Flashlights|Flashlight sub-section]].  
'''Internal links:''' For a link to another page on the wiki, put double brackets around the name of a page: <tt><nowiki>[[Main Page]]</nowiki></tt> and it will show up as a link, like this [[Main Page]]. If you want to have the link appear with different text, use a | like this <tt><nowiki>[[Main Page|Flashlight Wiki]]</nowiki></tt> and it will appear like this: [[Main Page|Flashlight Wiki]]. You can also link to a subsection of a page by using # in the link like this: <tt><nowiki>[[Main Page#Flashlights|Flashlight sub-section]]</nowiki></tt>, to get this link: [[Main Page#Flashlights|Flashlight sub-section]].  


To create a '''new page''', just edit an existing page, insert an internal link to the name you want to give the new page, preview, and then save the page you are editing. Once the page edited is saved, you can view it and you should see a red link with the name you gave to the page. Click the red link and it will open an editing page for the new page.
To create a '''new page''', just edit an existing page, insert an internal link to the name you want to give the new page, preview, and then save the page you are editing. Once the page edited is saved, you can view it and you should see a [[red link]] with the name you gave to the page. Click the red link and it will open an editing page for the new page.


'''Terminology links:''' If you are linking to items on the [[Terminology]] page, you can link to them as subsections (described above). However the terms on the terminology page are not subsections unless you add a SPAN tag. So first you have to go to the Terminology page and make sure the item has a SPAN tag identifying it (you will see others already done) like this (for the term "OP") <tt><nowiki><span id="OP">OP</span></nowiki></tt>. That sets up an anchor that you can then link to like it is a subsection. So on some page referring to that term you can make a link like this <tt><nowiki>[[Terminology#OP|OP]]</nowiki></tt> which will look like this [[Terminology#OP|OP]].
'''Terminology links:''' If you are linking to items on the [[Terminology]] page, you can link to them as subsections (described above). However the terms on the terminology page are not subsections unless you add a SPAN tag. So first you have to go to the Terminology page and make sure the item has a SPAN tag identifying it (you will see others already done) like this (for the term "OP") <tt><nowiki><span id="OP">OP</span></nowiki></tt>. That sets up an anchor that you can then link to like it is a subsection. So on some page referring to that term you can make a link like this <tt><nowiki>[[Terminology#OP|OP]]</nowiki></tt> which will look like this [[Terminology#OP|OP]].
Bureaucrats, confirmed, developer, Administrators
195

edits