Codes to format links
Various methods are presented to link your pages to others.
Content
- External link
<url>
- External link
[link]<url>[/link]
- Internal link
[link]<url>[/link]
- Labelled link
[<label>|<url>]
- Labelled link
[link=<label>]<url>[/link]
- Labelled button
[button=<label>]<url>[/button]
- E-mail address
<address>
- E-mail address
[email]<address>[/email]
- Labelled e-mail address
[email=<label>]<address>[/email]
- Selector
[go=<name>, <label>]
- Page shortcut
[article=<id>]
- Page shortcut
[article=<id>, <label>]
- Page
[article.description=<id>]
- Previous page
[previous=<id>] [previous=<id>, <label>]
- Next page
[next=<id>] [next=<id>, <label>]
- Random
[random] [random=section:<id>]
- Section shortcut
[section=<id>] [section=<id>, <label>]
- Category shortcut
[category=<id>] [category=<id>, <label>]
- Category
[category.description=<id>]
- User shortcut
[user=<id>] [user=<id>, <label>]
- Server shortcut
[server=<id>] [server=<id>, <label>]
- File shortcut
[file=<id>] [file=<id>, <label>]
- Download shortcut
[download=<id>] [download=<id>, <label>]
- Action shortcut
[action=<id>] [action=<id>, <label>]
- Comment shortcut
[comment=<id>] [comment=<id>, <label>]
- Decision shortcut
[decision=<id>] [decision=<id>, <label>]
- Script shortcut
[script]<path/script.php>[/script]
- Search
[search] [search=<words>]
- Wikipedia
[wikipedia=keyword] [wikipedia=keyword, label]
External link <url>
External link [link]<url>[/link]
Internal link [link]<url>[/link]
| Example | Rendering |
You can visit [link]codes/basic.php[/link] or [link]index.php[/link] | You can visit codes/basic.php or index.php |
Labelled link [<label>|<url>]
| Example | Rendering |
You can visit [Cisco On Line|www.cisco.com] | You can visit Cisco On Line |
Labelled link [link=<label>]<url>[/link]
| Example | Rendering |
You can visit [link=Cisco On Line]www.cisco.com[/link] | You can visit Cisco On Line |
Labelled button [button=<label>]<url>[/button]
| Example | Rendering |
You can visit [button=Cisco On Line]www.cisco.com[/button] | You can visit Cisco On Line |
e-mail address <address>
| Example | Rendering |
You can send a message at webmaster@acme.com | You can send a message at webmaster@acme.com |
e-mail address [email]<address>[/email]
| Example | Rendering |
You can send a message at [email]webmaster@acme.com[/email] | You can send a message at webmaster@acme.com |
Labelled e-mail address [email=<label>]<address>[/email]
| Example | Rendering |
You can send a message to our [email=support team]webmaster@acme.com[/email] | You can send a message to our support team |
Selector [go=<name>, <label>]
| Example | Rendering |
Please use our [go=monthly, monthly archive] for reference | Please use our monthly archive for reference |
Page shortcut [article=<id>]
Page shortcut [article=<id>, <label>]
| Example | Rendering |
Have a look at [article=96, bla bla bla] | Have a look at bla bla bla |
Page [article.description=<id>]
| Example | Rendering |
[article.description=96] | Livestock superbugs threaten humans: doctor
Antibiotics and superbugsThe widespread use of antibiotics in livestock feed is creating superbugs that are spreading off farms and endangering human health, says Dr. Bill Mackie, chair of the B.C. Medical Association's environmental health committee.
This CBC investigation report was aired on October 4, 2010. This written summary also allows you to watch the original broacast. Click on the image under the article title to watch the news report. Please note that this site might show some advertising before the actual news story and might ask you to download special software to enable viewing.
|
Previous page [previous=<id>] [previous=<id>, <label>]
Next page [next=<id>] [next=<id>, <label>]
Random [random] [random=section:<id>]
Section shortcut [section=<id>] [section=<id>, <label>]
| Example | Rendering |
Have a look at [section=10] | Have a look at Company |
Category shortcut [category=<id>] [category=<id>, <label>]
| Example | Rendering |
Have a look at [category=featured] | Have a look at [category=featured] |
Category [category.description=<id>]
| Example | Rendering |
[category.description=featured] | [category.description=featured] |
User shortcut [user=<id>] [user=<id>, <label>]
| Example | Rendering |
Have a look at [user=0] | Have a look at [user=0] |
Server shortcut [server=<id>] [server=<id>, <label>]
| Example | Rendering |
Click to view the page of [server=2, this server] | Click to view the page of [server=2] |
File shortcut [file=<id>] [file=<id>, <label>]
Download shortcut [download=<id>] [download=<id>, <label>]
Action shortcut [action=<id>] [action=<id>, <label>]
| Example | Rendering |
Click to view the page of [action=2, this action] | Click to view the page of [action=2] |
Comment shortcut [comment=<id>] [comment=<id>, <label>]
| Example | Rendering |
Click to view the page of [comment=2, this comment] | Click to view the page of this comment |
Decision shortcut [decision=<id>] [decision=<id>, <label>]
| Example | Rendering |
Click to view the page of [decision=2, this decision] | Click to view the page of [decision=2] |
Script shortcut [script]<path/script.php>[/script]
| Example | Rendering |
You can access the documentation for the script [script]shared/codes.php[/script] | You can access the documentation for the script shared/codes.php |
Search [search] [search=<words>]
| Example | Rendering |
All you want to know on [search=yacs] | All you want to know on |
Wikipedia [wikipedia=keyword] [wikipedia=keyword, label]
| Example | Rendering |
All you want to know on [wikipedia=Web_2, the web 2.0] | All you want to know on the web 2.0 |