CZ:Links: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Russell D. Jones
(explanation of internal links.)
imported>Jitse Niesen
(make examples more consistent, some small rewrites, move section on piping up)
Line 15: Line 15:
'''Examples''':
'''Examples''':


&emsp;&emsp;<nowiki>[[Biology]]</nowiki> looks like [[Biology]]
* This code: <code><nowiki>[[Biology]]</nowiki></code> <br> looks like: [[Biology]]
* This code: <code><nowiki>[[CZ:External Links]]</nowiki></code> <br> looks like: [[CZ:External Links]]


&emsp;&emsp;<nowiki>[[CZ:External Links]]</nowiki> looks like [[CZ:External Links]]
===Piping===


&emsp;&emsp;<nowiki>[[South Korea]]</nowiki> looks like [[South Korea]]
Sometimes you may want link pages using words other than the page's name. For example, suppose that you want to link to the page [[CZ:External Links]]. But when writing a your text you may want to say something like "I didn't know where to look."  You can do this by separating the page name with a vertical line or "pipe": "|" For example:


===Red-Links===
'''Example''':
* This code: <code><nowiki>[[CZ:External Links | I didn't know where to look]]</nowiki></code> <br> looks like: [[CZ:External Links | I didn't know where to look]]


If the link connects to an existing page on the Citizendium, the link will show up blue. If the link is to a page that does not yet exist, it will show as redThese are sometimes called "red links." For example: This is a [[CZ:ZZZ|dead link]].
Connecting links in this way is called "piping." Links created this way are called "piped links."
 
===Piping===


Sometimes you may want link pages using words other than the page's name. For example, this page's name is "CZ:Links."  But when writing a your text you may want to say something like "I didn't know where to look."  You can do this by separating the page name with a vertical line or "pipe": "|" For example:
===Red Links===


'''This code:''' <nowiki>[[CZ:External Links | I didn't know where to look]]</nowiki>
If the link connects to an existing page on the Citizendium, the link will show up blue. If the link is to a page that does not yet exist, it will show as red.  These are sometimes called "red links." 


'''looks like this:''' [[CZ:External Links|I didn't know where to look]]
'''Example''':
 
* This code: <code><nowiki>[[CZ:ZZZ]]</nowiki></code> <br> looks like: [[CZ:ZZZ]]
Connecting links in this way is called "piping."  Links created this way are called "piped links."


===Creating Pages using links===
===Creating Pages Using Links===


You can create new pages by creating red links, following the link, and editing the page.
You can create new pages by creating red links, following the link, and editing the page.

Revision as of 07:02, 10 May 2009

The Citizendium allows for easy "hyper-linking" of webpages. The power of the wiki-media software rests on its ability to easily and quickly "link" material and knowledge on its own site and any other site on the www.

There are two types of links: Internal Links and External Links. External links have their own syntax and policies; see CZ:External Links for a fuller discussion.

This page will explain Internal Links.

Internal Links

For a table of markup for Internal Links, see How to edit an article

Internal links are redirects (or hyper-links) to pages within the Citizendium.

Internal links are the easiest create. In the editor, simply highlight a word or phrase and push the "Ab" button above the editor window. This automatically makes the highlighted text an internal link. Internal links are identified in the code by two square brackets: [[ ]]. You can simply type the brackets in instead of using the highlighting method.

Examples:

Piping

Sometimes you may want link pages using words other than the page's name. For example, suppose that you want to link to the page CZ:External Links. But when writing a your text you may want to say something like "I didn't know where to look." You can do this by separating the page name with a vertical line or "pipe": "|" For example:

Example:

Connecting links in this way is called "piping." Links created this way are called "piped links."

Red Links

If the link connects to an existing page on the Citizendium, the link will show up blue. If the link is to a page that does not yet exist, it will show as red. These are sometimes called "red links."

Example:

  • This code: [[CZ:ZZZ]]
    looks like: CZ:ZZZ

Creating Pages Using Links

You can create new pages by creating red links, following the link, and editing the page.