Difference between revisions of "Help:Contents"

575 bytes added ,  10:36, 6 December 2010
Line 9: Line 9:
==Links and New Pages==
==Links and New Pages==


'''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]].
 
'''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 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]
confirmed, developer
1,668

edits