Home « Help index « Formatting Codes «
Codes to format links
SELECT * FROM yacs_sections AS sections WHERE (sections.nick_name LIKE 'default') ORDER BY edit_date DESC LIMIT 1
1146: Table 'challengeddf.yacs_sections' doesn't exist
SELECT sections.id FROM yacs_sections AS sections WHERE (sections.anchor='' OR sections.anchor is NULL) AND (sections.active='Y') AND ((sections.index_map IS NULL) OR (sections.index_map != 'N')) AND ((sections.activation_date is NULL) OR (sections.activation_date <= '2025-05-12 18:23:01')) AND ((sections.expiry_date is NULL) OR (sections.expiry_date <= '0000-00-00 00:00:00') OR (sections.expiry_date > '2025-05-12 18:23:01')) ORDER BY sections.rank, sections.title, sections.edit_date DESC LIMIT 0, 1
1146: Table 'challengeddf.yacs_sections' doesn't exist
SELECT * FROM yacs_articles AS articles WHERE (articles.active='Y') AND NOT ((articles.publish_date is NULL) OR (articles.publish_date <= '0000-00-00')) AND (articles.publish_date < '2025-05-12 18:23:01') AND ((articles.expiry_date is NULL) OR (articles.expiry_date <= '0000-00-00 00:00:00') OR (articles.expiry_date > '2025-05-12 18:23:01')) AND (articles.rank >= 10000) ORDER BY articles.rank, articles.edit_date DESC, articles.title LIMIT 0,1
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT files.* FROM yacs_articles AS articles LEFT JOIN yacs_files AS files ON ((files.anchor_type LIKE 'article') AND (files.anchor_id = articles.id)) WHERE NOT ((articles.publish_date is NULL) OR (articles.publish_date <= '0000-00-00')) AND ((articles.expiry_date is NULL) OR (articles.expiry_date <= '0000-00-00 00:00:00') OR (articles.expiry_date > '2025-05-12 18:23:01')) AND (files.active='Y' OR files.active='X') ORDER BY files.edit_date DESC, files.title LIMIT 0, 1
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT * FROM yacs_articles WHERE (id = 1)
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT articles.* FROM yacs_articles AS articles WHERE ((articles.active='Y')) AND NOT ((articles.publish_date is NULL) OR (articles.publish_date <= '0000-00-00')) AND (articles.publish_date < '2025-05-12 18:23:01') AND ((articles.expiry_date is NULL) OR (articles.expiry_date <= '0000-00-00 00:00:00') OR (articles.expiry_date > '2025-05-12 18:23:01')) ORDER BY RAND() LIMIT 0,1
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT sections.id FROM yacs_sections AS sections WHERE sections.anchor LIKE 'section:' AND((sections.index_panel IS NULL) OR (sections.index_panel = '') OR (sections.index_panel = 'main') OR (sections.index_panel = 'none')) AND(sections.active='Y') AND((sections.activation_date is NULL) OR (sections.activation_date <= '2025-05-12 18:23:01')) AND ((sections.expiry_date is NULL) OR (sections.expiry_date <= '0000-00-00 00:00:00') OR (sections.expiry_date > '2025-05-12 18:23:01')) ORDER BY sections.rank, sections.title, sections.edit_date DESC LIMIT 200
1146: Table 'challengeddf.yacs_sections' doesn't exist
SELECT articles.* FROM yacs_articles AS articles WHERE (articles.anchor LIKE 'section:') AND ((articles.active='Y') AND NOT ((articles.publish_date is NULL) OR (articles.publish_date <= '0000-00-00')) AND (articles.publish_date < '2025-05-12 18:23:01') AND ((articles.expiry_date is NULL) OR (articles.expiry_date <= '0000-00-00 00:00:00') OR (articles.expiry_date > '2025-05-12 18:23:01'))) ORDER BY RAND() LIMIT 0,1
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT * FROM yacs_categories AS categories WHERE (categories.nick_name LIKE 'featured') ORDER BY edit_date DESC LIMIT 1
29: File './challengeddf/yacs_categories.MYD' not found (Errcode: 2)
SELECT * FROM yacs_servers AS servers WHERE (servers.id = 2)
1146: Table 'challengeddf.yacs_servers' doesn't exist
SELECT * FROM yacs_files AS files WHERE (files.id = 1)
1146: Table 'challengeddf.yacs_files' doesn't exist
SELECT * FROM yacs_actions AS actions WHERE (actions.id = 2)
1146: Table 'challengeddf.yacs_actions' doesn't exist
SELECT * FROM yacs_comments AS comments WHERE (comments.id = 2)
1146: Table 'challengeddf.yacs_comments' doesn't exist
SELECT * FROM yacs_decisions AS decisions WHERE (decisions.id = 2)
1146: Table 'challengeddf.yacs_decisions' doesn't exist
SELECT * FROM yacs_articles WHERE (nick_name LIKE 'menu') OR (handle LIKE 'menu') ORDER BY publish_date DESC LIMIT 1
1146: Table 'challengeddf.yacs_articles' doesn't exist
SELECT * FROM yacs_sections AS sections WHERE (sections.nick_name LIKE 'navigation_boxes') ORDER BY edit_date DESC LIMIT 1
1146: Table 'challengeddf.yacs_sections' doesn't exist
SELECT * FROM yacs_categories AS categories WHERE ((categories.display LIKE 'site:all') AND ((categories.active='Y') AND ((categories.expiry_date is NULL) OR (categories.expiry_date <= '0000-00-00 00:00:00') OR (categories.expiry_date > '2025-05-12 18:23:01')))) ORDER BY categories.rank, categories.edit_date DESC, categories.title LIMIT 0,15
29: File './challengeddf/yacs_categories.MYD' not found (Errcode: 2)
SELECT sections.* FROM yacs_sections AS sections WHERE (sections.anchor='' OR sections.anchor IS NULL) AND (sections.active='Y') AND (sections.index_panel LIKE 'main') AND ((sections.index_map IS NULL) OR (sections.index_map != 'N')) AND ((sections.activation_date is NULL) OR (sections.activation_date <= '2025-05-12 18:23:01')) AND ((sections.expiry_date is NULL) OR (sections.expiry_date <= '0000-00-00 00:00:00') OR (sections.expiry_date > '2025-05-12 18:23:01')) ORDER BY sections.rank, sections.title, sections.edit_date DESC LIMIT 0,15
1146: Table 'challengeddf.yacs_sections' doesn't exist
Various methods are presented to link your pages to others.
- 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>
Example | Rendering |
---|---|
You can visit www.cisco.com or http://www.nortel.com, or have a chat at irc://irc.eu.be.ofloo.net/ | You can visit www.cisco.com or http://www.nortel.com, or have a chat at irc://irc.eu.be.ofloo.net/ |
External link [link]<url>[/link]
Example | Rendering |
---|---|
You can visit [link]www.cisco.com[/link] or [link]http://www.nortel.com[/link], or have a chat at [link]irc://irc.eu.be.ofloo.net/[/link] | You can visit www.cisco.com or www.nortel.com, or have a chat at irc.eu.be.ofloo.net |
Internal link [link]<url>[/link]
Example | Rendering |
---|---|
You can visit [link]codes/basic.php[/link] or [link]index.php[/link] | You can visit 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>]
Example | Rendering |
---|---|
Have a look at [article=1] | Have a look at [article=1] |
Page shortcut [article=<id>, <label>]
Example | Rendering |
---|---|
Have a look at [article=1, bla bla bla] | Have a look at [article=1] |
Page [article.description=<id>]
Example | Rendering |
---|---|
[article.description=1] | [article.description=1] |
Previous page [previous=<id>] [previous=<id>, <label>]
Example | Rendering |
---|---|
[previous=1] | [previous=1] |
Next page [next=<id>] [next=<id>, <label>]
Example | Rendering |
---|---|
[next=1] | [next=1] |
Random [random] [random=section:<id>]
Example | Rendering |
---|---|
[random] [random=section:] |
Section shortcut [section=<id>] [section=<id>, <label>]
Example | Rendering |
---|---|
Have a look at [section=] | Have a look at [section=] |
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>]
Example | Rendering |
---|---|
Have a look at [file=1] | Have a look at [file=1] |
Download shortcut [download=<id>] [download=<id>, <label>]
Example | Rendering |
---|---|
Click to [download=1, download the file] | Click to [download=1] |
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 [comment=2] |
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 |