Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Tavern of the Rising Sun > Thread: BB Code Guide for HC
Thread: BB Code Guide for HC This thread is 2 pages long: 1 2 · NEXT»
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 09, 2008 05:17 PM bonus applied by pandora on 09 Sep 2008.
Edited by Asheera at 19:52, 31 May 2009.

BB Code Guide for HC

Ok, originally this guide was posted here but Pan suggested to create a new thread so that more people would see it. So here it is:

BB Codes Guide (for HC)


1) Bolding letters:
To bold letters write [b]text you want bolded[/b]. For example, with bb codes taking effect in the previous sentence, it would look like: To bold letters write text you want bolded


2) Italics:
Same as bolded but instead of b you have an i. [i]text you want in italics[/i]. For example, with bb codes taking effect in the previous sentence, it would look like: text you want in italics


3) Underline a text:
Same as bolded but instead of b you have an u. [u]text you want underlined[/u]. For example, with bb codes taking effect in the previous sentence, it would look like: text you want underlined


4) Changing color of the text:
To change the color of the text, you have to use one of the following HC BB Codes:

[red]
[green]
[blue]

It's pretty obvious in which colors they change the text. To return to the normal color, close the color change with a [/font] tag.

Examples (after the arrow is the example with BB codes taking effect)

[red]This text is red[/font] This text is red
[green]This text is green[/font] This text is green
[blue]This text is blue[/font] This text is blue


5) Font strikethrough:
Same as bolded but instead of b you have a del tag. [del]text you want struckthrough[/del]. For example, with bb codes taking effect in the previous sentence, it would look like: text you want struckthrough


6) Changing font:
To change the font of the text, you have to use one of the following HC BB Codes:

[comic]
[courier]
[georgia]

To return to the normal font, close the font change with a [/font] tag.

Examples (after the arrow is the example with BB codes taking effect)

[comic]This text is in the comic font[/font] This text is in the comic font
[courier]This text is in the courier font[/font] This text is in the courier font
[georgia]This text is in the georgia font[/font] This text is in the georgia font

Of all of the above fonts, perhaps the most important is the courier one, because it has a fixed-width.
What does this mean? That each character in the font has the same width. In other fonts (including the default one), letters like "I" have a smaller width than letters like "M".

Here are two examples, one with courier and the other with the default font. See why for yourself why the courier is better in this case:

The courier one:
Archer        - Marksman      - Crossbowman
Cavalier      - Paladin       - Champion
Rakshasa Rani - Rakshasa Raja - Rakshasa Kshatra


The default one:
Archer        - Marksman      - Crossbowman
Cavalier      - Paladin       - Champion
Rakshasa Rani - Rakshasa Raja - Rakshasa Kshatra


7) Insert Image:
To insert an image into your post write [img]link of image[/img]. Note that the image has to be uploaded somewhere and use the link provided, not copy-paste the image's path from your computer

Example:
[img]http://i289.photobucket.com/albums/ll221/Asheera_Moonblood/proud.gif[/img]

with BB codes enabled, it would look like:



As you can see, that smiley picture is uploaded on Photobucket (you can copy-paste its address in your browser's address bar and see that it points to the proud smiley)

Also see this guide on how to upload your pictures.


8) Insert URL:
To insert a link into your post write [url]link[/url] OR [url=LINK]text you want to be click-able[/url] OR [url=LINK][img]image_address[/img][/url]

Note that in the second case, the text you want click-able can't have an apostrophe (') or the link won't work at all!

In the third case the image will be click-able instead of the text.

Examples with the proud smiley link:
[url]http://i289.photobucket.com/albums/ll221/Asheera_Moonblood/proud.gif[/url]

[url=http://i289.photobucket.com/albums/ll221/Asheera_Moonblood/proud.gif]Proud Smiley[/url]

with BB codes enabled, it would look like:

http://i289.photobucket.com/albums/ll221/Asheera_Moonblood/proud.gif

Proud Smiley

Also see this guide on how to upload your files.


9) Insert link to a Video in flash format (.swf)
To insert a video into your post write [swf width=WIDTH_OF_VIDEO height=HEIGH_OF_VIDEO]link of video[/swf]. Note that the video has to be uploaded somewhere and use the link provided, not copy-paste the video's path from your computer

Note: from Youtube, you need to use the "embed" link and not the "watch" link!

Example:
[swf width=425 height=344]http://www.youtube.com/v/4EV9UJ0mv2U&hl=en&fs=1[/swf]

with BB codes enabled, it would look like:



As you can see, that video is uploaded on Youtube (you can copy-paste its address in your browser's address bar and see that it points to the video)

Also see this guide on how to upload your videos.


10) Quote a text:
To quote a piece of text use something like this: [quote]Quoted Text[/quote]. For example, with bb codes taking effect in the previous sentence, it would look like:
Quote:
Quoted Text



11) Draw a horizontal bar:
This is a nice trick that looks better than writing something like "___________________"

Write [/quote] to apply the bar.

It will draw a horizontal bar all the way to the end of the line regardless of the resolution of the one that sees it.

Example:
(that's the bar)


12) Disable smileys:
To disable smileys write [/smileys] anywhere in your post.
Note that it will disable smileys in the entire post, no matter where you wrote the BB code, and that you CANNOT activate smileys later in that post.


13) How to ignore the bb codes in a text.
This is a special trick. As you can see, in this guide I used it alot to show you how to write with BB codes without these to take effect.

The trick is to write [b][/b] before the code (this means after the opening bracket, and after the slash as well (when "closing" a code))

Example:
For an "opening" BB Code: Open the bracket ('[') then write [b][/b] and then courier and close the bracket (']').
For a "closing" BB Code: Open the bracket ('[') then a slash ('/'), then write [b][/b] and then font and close the bracket (']').


Hope you find this guide useful
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
pandora
pandora


Honorable
Legendary Hero
The Chosen One
posted September 09, 2008 05:18 PM

Thanks!
____________
"In the end, we will remember not the words of our enemies, but the silence of our friends."

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
alcibiades
alcibiades


Honorable
Undefeatable Hero
of Gold Dragons
posted September 09, 2008 05:41 PM
Edited by alcibiades at 17:55, 09 Sep 2008.

Quote:

12) Disable smileys:
To disable smileys write [/smileys] anywhere in your post.
Note that it will disable smileys in the entire post, no matter where you wrote the BB code, and that you CANNOT activate smileys later in that post.


Didn't know is.
Edit> Hey - it's not working?

Quote:
13) How to ignore the bb codes in a text.
This is a special trick. As you can see, in this guide I used it alot to show you how to write with BB codes without these to take effect.

The trick is to write [b][/b] before the code (this means after the opening bracket, and after the slash as well (when "closing" a code))

Example:
For an "opening" BB Code: Open the bracket ('[') then write [b][/b] and then courier and close the bracket (']').
For a "closing" BB Code: Open the bracket ('[') then a slash ('/'), then write [b][/b] and then font and close the bracket (']').


To elaborate, what you need to do is write like this:

[[b][/b]b]Example text[/[b][/b]b]
Edit > Ok I yield, apparantly there is no way to trick it into displaying that correctly. Ha, yes there was, lol, it only took 15 attempts to figure it out.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 09, 2008 06:07 PM
Edited by Asheera at 20:20, 09 Sep 2008.

Quote:
Edit> Hey - it's not working?
Maybe because you quoted a piece of text which "fooled" that smileys tag?

:P

EDIT: it seems the smiley can't be disabled when :P is LOL


:) ;) :P :( :D :o



Ok, it seems that only the "normal" smileys get disabled. Normal smileys mean those like :( :) and not having a word after the colon
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
pandora
pandora


Honorable
Legendary Hero
The Chosen One
posted September 09, 2008 06:42 PM

Petty Offtopic comments deleted.

This guide is very helpful to those members who prefer to type their posts in notepad (or whatever other program) before they post them.

It also covers just about every question I've been asked about BB Code by members on HCM.

As for the QP, Asheera has been contributing new ideas and participating in just about every forum here at HC - she is certainly deserving of a "token of appreciation" for all of that.
____________
"In the end, we will remember not the words of our enemies, but the silence of our friends."

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
radar
radar


Responsible
Legendary Hero
Castle/Haven player
posted September 09, 2008 08:18 PM
Edited by radar at 20:21, 09 Sep 2008.

Did you know...

... that a non-closed BB code tag affects your signature as well?

*two posts as an example*
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
radar
radar


Responsible
Legendary Hero
Castle/Haven player
posted September 09, 2008 08:19 PM

Did you know...

... that a non-closed BB code trag affects your signature as well?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 09, 2008 08:21 PM

No, I didn't know Radar.

Also, I figured out what smileys don't get disabled using that tag. Check my prev post.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted September 09, 2008 08:23 PM

Excellent
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 09, 2008 08:27 PM
Edited by Asheera at 20:28, 09 Sep 2008.

The smileys are images, they are unaffected by BB code

EDIT: This was to Guarder who asked what happens if you strikeout the smileys... but he deleted his post.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
friendofgunnar
friendofgunnar


Honorable
Legendary Hero
able to speed up time
posted September 10, 2008 02:28 AM
Edited by friendofgunnar at 02:33, 10 Sep 2008.

does the [b]trick[/b] work if you use other codes as well?

yes it does

(that was [b[i][/i]]trick[/[u][/u]b] btw)

and the previous line was:
[b[[i][/i]i][/[i][/i]i]]trick[/[[u][/u]u][/[u][/u]u]b]


 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Darkshadow
Darkshadow


Legendary Hero
Cerise Princess
posted September 10, 2008 06:33 PM

Id like to add something.If you want to disable smileys but still post one, you can:

Right click the image
Select "copy image address"
use "insert image"
insert the smiley address there.


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
william
william


Responsible
Undefeatable Hero
LummoxLewis
posted September 19, 2008 08:12 AM

By the way, Asheera. On the left hand side with the box regarding the smileys, there is a little red circle with an x through it. That can disable the smileys in a post.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 19, 2008 01:03 PM

Yes, pressing that button pastes [/smileys] into your post
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted September 19, 2008 01:07 PM

A question, what closes the [ comic] bb code? I always forget that one.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Lexxan
Lexxan


Honorable
Undefeatable Hero
Unimpressed by your logic
posted September 19, 2008 01:09 PM
Edited by Lexxan at 13:39, 19 Sep 2008.

[/font ]
____________
Coincidence? I think not!!!!

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted September 19, 2008 01:12 PM

Gotcha
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted September 19, 2008 01:37 PM

Elvin, this was explained in the first post
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Hunter
Hunter


Hired Hero
posted October 14, 2008 02:15 PM

Crazy mix up of lineage,warcraft and something...=makes up a Heroes community...well...awsome idea...  

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
PhoenixIV
PhoenixIV


Hired Hero
posted October 25, 2008 11:58 PM

Nice, now you can se my egg.
____________
[url=http://dragcave.net/viewdragon/FxdS][/url]My dragon! Click and I get a point.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0897 seconds