• Välkommen till Tocnet
  • Språköversättning pågår.
  • Ha en trevlig vistelse här
Hello There, Guest! Login Register


MyCode
You can use MyCode, also known as BB Codes to add effects or formatting to your posts. MyCodes are a simplified version of HTML and is used in a similar format to HTML tags which you may already be familiar with.

The table below is a quick guide of the MyCodes available:

Input Output Notes
[b]This text is bold[/b] This text is bold
[i]This text is italicized[/i] This text is italicized
[u]This text is underlined[/u] This text is underlined
[s]This text is struck out[/s] This text is struck out
[url]http://www.example.com/[/url] http://www.example.com/ URLs will auto-link if proper protocol is included (vaild protocols are http, https, ftp, news, irc, ircs and irc6).
[url=http://www.example.com/]Example.com[/url] Example.com
[email]example@example.com[/email] example@example.com
[email=example@example.com]E-mail Me![/email] E-mail Me! A subject can be included by adding ?subject=Subject Here after the email address.
[quote]Quoted text will be here[/quote]
Quote:Quoted text will be here
[quote='Admin' pid='1' dateline='946684800']Quoted text will be here[/quote]
(01-01-2000, 12:00 AM)Admin Wrote: Quoted text will be here
This format is used when quoting posts. pid links to a post, dateline is a UNIX timestamp.
[code]Text with preserved formatting[/code]
Code:
Text with preserved formatting
[php]<?php echo "Hello world!";?>[/php]
PHP Code:
<?php echo "Hello world!";?>
[img]https://secure.php.net/images/php.gif[/img]
[img=50x50]https://secure.php.net/images/php.gif[/img] Format is width x height
[color=red]This text is red[/color] This text is red Can use either CSS color name or HEX code.
[size=large]This text is large[/size] This text is large Acceptable values: xx-small, x-small, small, medium, large, x-large, xx-large
[size=30]This text is 30px[/size] This text is 30px Accepts number from 1 to 50
[font=Impact]This font is Impact[/font] This font is Impact Font must be installed on your computer
[align=center]This is centered[/align]
This is centered
Acceptable values: left, center, right, justify
[list]
[*]List Item #1
[*]List Item #2
[*]List Item #3
[/list]
  • List item #1
  • List item #2
  • List Item #3
[list=1]
[*]List Item #1
[*]List Item #2
[*]List Item #3
[/list]
  1. List item #1
  2. List item #2
  3. List Item #3
1 can be used for a numbered list, a can be used for an alphabetical list, i for a roman numerals list.
A line that[hr]divides A line that
divides
[video=youtube]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/video] Currently accepts Dailymotion, Facebook, LiveLeak, Metacafe, Mixer, MySpace TV, Twitch, Vimeo, Yahoo Videos and YouTube.


In addition, administrators may have created more MyCodes for use. Please contact an administrator to find out if there are any and on how to use them.