Difference between revisions of "Help:Contents"

13 bytes added ,  17:39, 8 December 2010
Line 15: Line 15:


'''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 new page, save the page, then click on the red link that appears and it should open an editing screen for the new page.


'''Terminology links:''' If you are linking to items on the [[Terminology]] page, those items are not subsections. 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, those items are not subsections. 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]].


'''External links:''' Use single brackets followed by a space and the text of the hyperlink: <tt><nowiki>[http://www.google.com Google]</nowiki></tt> to get a link that looks like [http://www.google.com Google]
'''External links:''' Use single brackets with the URL followed by a space and the text of the hyperlink: <tt><nowiki>[http://www.google.com Google]</nowiki></tt> to get a link that looks like [http://www.google.com Google]
 
To create a '''new page''', just edit an existing page, insert an internal link to the new page, save the page, then click on the red link that appears and it should open an editing screen for the new page.


==Images==
==Images==
confirmed, developer
1,668

edits