"ICcode" is a way of adding special features (like bold and hyperlinks) to text you contribute to the Informed Consent website. You can use ICcode in any input box that lets you enter more than one line of text: so that is the bodies of weblog and web board posts you write, the main part of a memo, the extended info in the listings and the long descriptions you can add to pictures you upload.
ICcode is specific to Informed Consent, but is intentionally very similar to phpBB's "BBcode" and Snitz Forum's "Forum Code", and all three are indirectly related to HTML.
To start a new paragraph, just leave a blank line. Other than that, you don't need to worry about where you start new lines since it won't make any difference:
| This text | produces this output |
|---|---|
this text will be on one line A new paragraph |
this text will be on one line A new paragraph |
To get a smiley in your text, just include one of the following combinations of punctuation:
If you include a "word" starting with "http://" or "www." it will be interpreted as a hyperlink URL to another web page. For example: www.google.com
You can also make links using something like:
[url=http://www.google.com/]Google Search Engine[/url]which will produce a link with your choice of text displayed to your readers rather than the URL address itself:
You can put a link to someone's profile page with @ followed by their IC Name, rather like you can on Twitter. For example:
This example uses the @Admin profile page
You can indicate that you're quoting text using quotation marks (") as you would in ordinary text. However, you can also make a block of quoted text really stand out using [quote] and [/quote]
For example:
| This text | produces this output | |
|---|---|---|
[quote=Admin] some text [/quote] some reply |
some reply |
If you don't want to give the original poster's IC Nname, just use [quote] rather than [quote=NAME]. If you do give an IC Name, it will be used to make a link to their profile page.
You can make bold text by surrounding words or phrases in [b] and [/b]. For example, "Google has a [b]huge[/b] database" will produce "Google has a huge database"
You can make a subheading within your text by starting a paragraph with [heading] and writing the heading as the rest of the paragraph. The heading must not include any other ICcode commands. For example:
| This text | produces this output |
|---|---|
The previous paragraph of words in the text that you've written goes here. [heading]A subheading The next paragraph of words in the text that you've written goes here. |
The previous paragraph of words in the text that you've
written goes here.
A subheadingThe next paragraph of words in the text that you've written goes here. |
You can make an itemised list within your text by starting paragraphs with [item] and writing the item as the rest of the paragraph. For example:
| This text | produces this output |
|---|---|
The previous paragraph of words in the text that you've written goes here. [item]First item [item]Second item The next paragraph of words in the text that you've written goes here. |
The previous paragraph of words in the text that you've
written goes here.
|
It's possible to embed thumbnail versions of pictures you've uploaded to IC in your posts, memos etc using ICcode.
To do this, simply put [picture=NNNNN] where NNNNN is the ID number of your picture. You can find this out by looking at the full size version of your picture when you're signed-in to IC: the correct [picture=NNNNN] code appears near the bottom of the the blue info box.
For example, you can see the full size page for Admin's smiley face
by clicking on it: when Admin looks
at that page, Admin also sees [picture=112046] (since it's one of
Admin's own pictures.)
If Admin included [picture=112046] in some ICcode text, you would
see a thumbnail like the one here.
In your own posts, you can choose the size of the picture by adding large, medium, small, wall, or icon, immediately before the final ], to get a 600, 300, 80, 40 or 20 pixel image. For example, [picture=112046 medium].
You can make links using something like:
[about=Bondage]tying people up[/about]which will produce a link to the Dictionary article with more information:
You can embed YouTube videos in your posts etc by putting [youtube=NNNNNN] where NNNNNN is the YouTube Video ID. You need to look at the URL of the video to work out its Video ID. For example,
http://www.youtube.com/watch?v=NNNNNN
http://www.youtube.com/watch?feature=related&v=NNNNNN&NR=1
http://youtu.be/NNNNNN
would all have Video ID NNNNNN. The Video ID can contain letters, numbers and dashes.
We may add more special commands using [ and ] in the future, so we advise you not to use [ and ] yourself except as part of the commands explained on this page.