Pressworm Development

Docs : BBcodeGuide

Revision [229]

Last edited on 2010-09-25 02:44:41 by CoreyAvis
Additions:
//This guide is current to version 0.5.1//
Deletions:
//This guide is current to version 0.5//


Revision [228]

Edited on 2010-08-15 18:30:49 by CoreyAvis
Additions:
All the bb code tags were given a style class or ID for easy customization. You can read about it in the [[BlogForDummiesStyle Blog For Dummies Styling]] document.


Revision [201]

Edited on 2010-08-15 11:00:06 by CoreyAvis
Additions:
Category: [[BlogForDummies Blog For Dummies Documentation]] | Project: [[PresswormProjects:BlogForDummies Blog For Dummies]]
Deletions:
Category: [[ProjectDocumentation Project Documentation]] | Project: [[PresswormProjects:BlogForDummies Blog For Dummies]]


Revision [199]

Edited on 2010-08-15 10:27:24 by CoreyAvis
Deletions:
||(x:3;c:note)**Note:** Each of the text formats above have a class attribute which enables them to be customized with css.||


Revision [198]

Edited on 2010-08-15 08:39:50 by CoreyAvis
Additions:
Category: [[ProjectDocumentation Project Documentation]] | Project: [[PresswormProjects:BlogForDummies Blog For Dummies]]
Deletions:
Category: [[ProjectDocumentation Project Documentation]]


Revision [197]

Edited on 2010-08-15 08:34:13 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** The align {{color c="green" text="param"}} can be either "left", "right" or "center" and is provided as an alternative to the [center], [left] and [right] tags above. {{color c="red" text="The align param is required!"}}||
||(x:3;c:note)**Note:** The [email] and [ftp] tags work in the same way as the [url] tag.||
||(x:3;c:note)**Note:** The [page] and [post] tags allow you to link to pages and posts within the script. Due to the fact that the most recent posts can be at the top (based on preference) and the pages can change (unless older posts are at top), using the [page] tag is {{color c="red" text="not recommended!"}} The [post] tag however, will always link to the post number specified which matches the permalink.||
||(y:2)[anchor={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/anchor]||[anchor]Anchor Point[/anchor]||Anchor Point||
||[anchor=point]Anchor Point[/anchor]||Anchor Point||
||(x:3;c:note)**Note:** After creating an anchor, you can use the [url] tag to create a link that will point to the anchor. Due to the fact that page content can change, using the anchor tag is {{color c="red" text="not recommended."}} Only use it if you are sure of what you are doing. For more information on anchor tags, visit [[WikiPedia:HTML_anchor#Anchor here]]. In this case, the [anchor] tag is only used as the target and the {{color c="blue" text="value"}} is {{color c="red" text="Not Required!"}}||
||(x:3;c:note)**Note:** The [abbr] tag and the [acronym] tag work in pretty much the same way. The only big difference is how the browser interprets them. For definitions of abbreviation and acronym, click these: [[WikiPedia:Abbreviation Abbreviation]], [[WikiPedia:Acronym_and_initialism Acronym]].||
||(x:3;c:note)**Note:** The [spoiler] tag allows you to warn readers that the content that they are about to read may spoil something for them, like the plot of an upcoming movie. The warning will say "This is a spoiler. View at own risk." If they wish to read the spoiler, all they have to do is hover over the spoiler warning, and it will reveal the text. The spoiler {{color c="green" text="param"}} allows you to change the warning message.||
Deletions:
||(x:3;c:note)**Note:** The align {{color c="green" text="param"}} can be either "left", "right" or "center" and is provided as an alternative to the [center], [left] and [right] BB alignment codes above. {{color c="red" text="The align param is required!"}}||
||(x:3;c:note)**Note:** The email and ftp codes work in the same way as the url code.||
||(x:3;c:note)**Note:** The page and post codes allow you to link to pages and posts within the script. Due to the fact that the most recent posts can be at the top (based on preference) and the pages can change (unless older posts are at top), using the page code is {{color c="red" text="not recommended!"}} The post code however, will always link to the post number specified which matches the permalink.||
||(y:2)[anchor={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/anchor]||[anchor]Anchor Point[/anchor]||""Anchor Point""||
||[anchor=point]Anchor Point[/anchor]||""Anchor Point""||
||(x:3;c:note)**Note:** After creating an anchor, you can use the [url] tag to create a link that will point to the anchor. Due to the fact that page content can change, using the anchor tag is {{color c="red" text="not recommended."}} Only use it if you are sure of what you are doing. For more information on anchor tags, visit [[WikiPedia:HTML_anchor#Anchor here]]. In the case of anchor tags, the {{color c="blue" text="value"}} is {{color c="red" text="Not Required!"}}||
||(x:3;c:note)**Note:** The abbr tag and the acronym tag work in pretty much the same way. The only big difference is how the browser interprets them. For definitions of abbreviation and acronym, click these: [[WikiPedia:Abbreviation Abbreviation]], [[WikiPedia:Acronym_and_initialism Acronym]].||
||(x:3;c:note)**Note:** The spoiler tag allows you to warn readers that the content that they are about to read may spoil something for them, like the plot of an upcoming movie. The warning will say "This is a spoiler. View at own risk." If they wish to read the spoiler, all they have to do is hover over the spoiler warning, and it will reveal the text. The spoiler {{color c="green" text="param"}} allows you to change the warning message.||


Revision [196]

Edited on 2010-08-15 08:04:05 by CoreyAvis
Additions:
||[acronym={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/acronym]||[acronym=Federal Bureau of Investigation]FBI[/acronym]||""FBI""||
||[video={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/video]||[video][/video]||(y:2)Examples unavailable!||
||[youtube={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/youtube]||[youtube][/youtube]||
||(x:3;c:note)**Note:** The [video] tag supports the embed of any video located on your website as well as youtube and google. If a youtube or google video, all you need to supply for the {{color c="blue" text="value"}} is the page of the video and the script will determine the embed link of the video automatically. The {{color c="green" text="param"}} for both the [video] tag and the [youtube] tag is the same and has two parts. The width being the first number and the height being the second number, separated by an **__X__** (ex. [video=640x360]). The width and height are optional. The default width and height for a youtube video is 640 x 384, for a google video is 400 x 326 and for all other videos is 640 x 360. If you are unfamiliar with adjusting the width and height of videos, I don't recommend it. Incorrect values can cause black space on the top, bottom or sides of the video.||
||(y:2)[facebook={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/facebook]||[facebook=pic]1456090151[/facebook]||""Corey Avis""||
||[facebook]arthurreeder[/facebook]||""Arthur Reeder""||
||(x:3;c:note)**Note:** The {{color c="blue" text="value"}} can either be the facebook users username or user id. The only {{color c="green" text="param"}} currently available is "pic" which will include the facebook users thumbnail picture before their name.||
||(y:2)[twitter]{{color c="blue" text="value"}}[/twitter]||[twitter]coreyavis[/twitter]||""@coreyavis""||
||[twitter]@arthurreeder[/twitter]||""@arthursucks""||
||(x:3;c:note)**Note:** The {{color c="blue" text="value"}} can be just the twitter users name or their name with the @ sign. The link will still be created correctly.||
Deletions:
||[acronym{{color c="green" text="param"}}]{{color c="blue" text="value"}}[/acronym]||[acronym=Federal Bureau of Investigation]FBI[/acronym]||""FBI""||
||[video][/video]||||||
||[youtube][/youtube]||||||
||[facebook][/facebook]||||||
||[twitter][/twitter]||||||


Revision [195]

Edited on 2010-08-13 22:03:39 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** The [time] tag displays a date and time following a default format. The {{color c="blue" text="value"}} is optional, which will display the current date and time, but allows you to specify a date and time using a numeric unix timestamp code. The {{color c="green" text="param"}} allows you to change the format. The default format is m-d-Y H:i:s (MM-DD-YYYY 00:00:00). The learn more about this, visit [[http://php.net/manual/en/function.date.php Date function on Php.net]] and [[WikiPedia:Unix_time Unix time on Wikipedia]].||
Deletions:
||(x:3;c:note)**Note:** The [time] tag displays a date and time following a default format. The {{color c="blue" text="value"}} is optional, which will display the current date and time, but allows you to specify a date and time using a numeric unix timestamp code. The {{color c="green" text="param"}} allows you to change the format. The default format is m-d-Y H:i:s (MM-DD-YYYY 00:00:00). The learn more about this, visit [[http://php.net/manual/en/function.date.php Date function on ""php.net""]] and [[WikiPedia:Unix_time Unix time on Wikipedia]].||


Revision [194]

Edited on 2010-08-13 22:01:16 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** The [time] tag displays a date and time following a default format. The {{color c="blue" text="value"}} is optional, which will display the current date and time, but allows you to specify a date and time using a numeric unix timestamp code. The {{color c="green" text="param"}} allows you to change the format. The default format is m-d-Y H:i:s (MM-DD-YYYY 00:00:00). The learn more about this, visit [[http://php.net/manual/en/function.date.php Date function on ""php.net""]] and [[WikiPedia:Unix_time Unix time on Wikipedia]].||
||(y:2)[copyright={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/copyright]||[copyright]Pressworm Development[/copyright]||Copyright © Pressworm Development||
||[copyright=2010]Pressworm Development[/copyright]||Copyright © 2010 Pressworm Development||
||(x:3;c:note)**Note:** The {{color c="green" text="param"}} allows you to specify a year for the copyright.||
||[registered]{{color c="blue" text="value"}}[/registered]||[registered]Pressworm[/registered]||Pressworm ®||
||[tm]{{color c="blue" text="value"}}[/tm]||[tm]Pressworm[/tm]||Pressworm""™""||
Deletions:
||(x:3;c:note)**Note:** The [time] tag displays the current date and time following a default format. The {{color c="blue" text="value"}} is optional, but allows you to specify a date and time using a numeric unix timestamp code. The {{color c="green" text="param"}} allows you to change the format. The default format is m-d-Y H:i:s (MM-DD-YYYY 00:00:00). The learn more about this, visit [[http://php.net/manual/en/function.date.php Date function on ""php.net""]] and [[WikiPedia:Unix_time Unix time on Wikipedia]].||
||[copyright={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/copyright]||[copyright][/copyright]||||
||(x:3;c:note)**Note:** ||
||[registered]{{color c="blue" text="value"}}[/registered]||[registered][/registered]||||
||[tm]{{color c="blue" text="value"}}[/tm]||[tm][/tm]||||


Revision [193]

Edited on 2010-08-13 21:53:44 by CoreyAvis
Additions:
||(y:2)[time={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/time]||[time]1234567890[/time]||02-13-2009 23:31:30||
||[time=F d, Y H:i:s]1234567890[/time]||February 13, 2009 23:31:30||
||(x:3;c:note)**Note:** The [time] tag displays the current date and time following a default format. The {{color c="blue" text="value"}} is optional, but allows you to specify a date and time using a numeric unix timestamp code. The {{color c="green" text="param"}} allows you to change the format. The default format is m-d-Y H:i:s (MM-DD-YYYY 00:00:00). The learn more about this, visit [[http://php.net/manual/en/function.date.php Date function on ""php.net""]] and [[WikiPedia:Unix_time Unix time on Wikipedia]].||
Deletions:
||[time={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/time]||[time][/time]||||
||(x:3;c:note)**Note:** The [time] tag turns a numeric date and time string into the correct date and time following a default format. The {{color c="green" text="param"}} allows you to change the format. The default format is month-day-year hour:minutes:seconds (MM-DD-YYYY 00:00:00).||


Revision [192]

Edited on 2010-08-13 21:21:38 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** The table {{color c="green" text="param"}} can be a style class which you can define using a stylesheet. The table {{color c="blue" text="value"}} is a combination of the [tr], [th] and [td] tags. The [tr] tag must be first for the start of the first row. The [tr] {{color c="blue" text="value"}} will then be a combination of the [th] and [td] tags. The [th] tag is for column headers and the [td] tag is for normal columns. Use the [/tr] tag to end the row. Follow that pattern for as many rows as you need.||
||[code]{{color c="blue" text="value"}}[/code]||[code]Pressworm Development[/code]||Pressworm Development||
||(x:3;c:note)**Note:** The [code] tag allows you to display html code without it processing.||
||[nobbc]{{color c="blue" text="value"}}[/nobbc]||[nobbc][url=""http://www.pressworm.com""]Pressworm Development[/url][/nobbc]||[url=""http://www.pressworm.com""]Pressworm Development[/url]||
||(x:3;c:note)**Note:** The [nobbc] tag allows you to display bb code without it processing.||
||[time={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/time]||[time][/time]||||
||(x:3;c:note)**Note:** The [time] tag turns a numeric date and time string into the correct date and time following a default format. The {{color c="green" text="param"}} allows you to change the format. The default format is month-day-year hour:minutes:seconds (MM-DD-YYYY 00:00:00).||
||[copyright={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/copyright]||[copyright][/copyright]||||
||(x:3;c:note)**Note:** ||
||[registered]{{color c="blue" text="value"}}[/registered]||[registered][/registered]||||
||[tm]{{color c="blue" text="value"}}[/tm]||[tm][/tm]||||
Deletions:
||[code][/code]||||||
||[nobbc][/nobbc]||||||
||[time][/time]||||||
||[copyright][/copyright]||||||
||[registered][/registered]||||||
||[tm][/tm]||||||


Revision [191]

Edited on 2010-08-13 20:49:17 by CoreyAvis
Additions:
||[table={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/table]||(y:4)[table]---[tr][th]Fruits[/th][th]Vegetables[/th][/tr]---[tr][td]Apple[/td][td]Corn[/td][/tr]---[tr][td]Orange[/td][td]Peas[/td][/tr]---[/table]||(y:4)""
FruitsVegetables
AppleCorn
OrangePeas
""||
Deletions:
||[table={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/table]||(y:4)[table]---[tr][th]Fruits[/th][th]Vegetables[/th][/tr]---[tr][td]Apple[/td][td]Corn[/td][/tr]---[tr][td]Orange[/td][td]Peas[/td][/tr]---[/table]||(y:4)""
FruitsVegetables
AppleCorn
OrangePeas
""||


Revision [190]

Edited on 2010-08-13 20:47:58 by CoreyAvis
Additions:
||[table={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/table]||(y:4)[table]---[tr][th]Fruits[/th][th]Vegetables[/th][/tr]---[tr][td]Apple[/td][td]Corn[/td][/tr]---[tr][td]Orange[/td][td]Peas[/td][/tr]---[/table]||(y:4)""
FruitsVegetables
AppleCorn
OrangePeas
""||
Deletions:
||[table={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/table]||(y:4)[table]---[tr][th]Fruits[/th][th]Vegetables[/th][/tr]---[tr][td]Apple[/td][td]Corn[/td][/tr]---[tr][td]Orange[/td][td]Peas[/td][/tr]---[/table]||(y:4)""
""**Fruits**""""**Vegetables**""
AppleCorn
OrangePeas
""||


Revision [189]

Edited on 2010-08-13 20:45:24 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** You can use the [item] tag or the [*] tag. Either is fine and they both do the same thing. It's all about preference. For the list {{color c="green" text="param"}} the following options for ordered lists are "1" for a numeric list, "A" for a capital alphabetic list, "a" for a lowercase alphabetic list, "I" for a capital roman numeral list and "i" for a lowercase roman numeral list. For unordered lists, the options are "disc" for a filled circle, "circle" for an unfilled circle, "square" for a filled square and "none" for no list type. The default for lists is "disc".||
||[table={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/table]||(y:4)[table]---[tr][th]Fruits[/th][th]Vegetables[/th][/tr]---[tr][td]Apple[/td][td]Corn[/td][/tr]---[tr][td]Orange[/td][td]Peas[/td][/tr]---[/table]||(y:4)""
""**Fruits**""""**Vegetables**""
AppleCorn
OrangePeas
""||
||[tr]{{color c="blue" text="value"}}[/tr]||
||[th]{{color c="blue" text="value"}}[/th]||
||[td]{{color c="blue" text="value"}}[/td]||
Deletions:
||(x:3;c:note)**Note:** You can use the [item] tag or the [*] tag. Either is fine and they both do the same thing. It's all about preference.||
||[table][/table]||||||
||[tr][/tr]||||||
||[th][/th]||||||
||[td][/td]||||||


Revision [188]

Edited on 2010-08-13 20:09:45 by CoreyAvis
Additions:
||[list={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/list]||[list][item]...[/item]...[/list]||(y:2)""
  • Item 1
  • Item 2
""||
||[*]{{color c="blue" text="value"}}[/*]---**or**---[item]{{color c="blue" text="value"}}[/item]||[item]Item 1[/item]---[*]Item 2[/*]||
Deletions:
||[list={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/list]||[list][item]...[/item]...[/list]||(y:2)~-Item 1---~-Item 2||
||[*]{{color c="blue" text="value"}}[/*]---or---[item]{{color c="blue" text="value"}}[/item]||[item]Item 1[/item][*]Item 2[/*]||


Revision [187]

Edited on 2010-08-13 20:06:46 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** The abbr. {{color c="green" text="param"}} is not required, but it is recommended. Without the {{color c="green" text="param"}}, both the {{color c="green" text="param"}} and the {{color c="blue" text="value"}} would be the same thing.||
||(x:3;c:note)**Note:** The abbr tag and the acronym tag work in pretty much the same way. The only big difference is how the browser interprets them. For definitions of abbreviation and acronym, click these: [[WikiPedia:Abbreviation Abbreviation]], [[WikiPedia:Acronym_and_initialism Acronym]].||
||[list={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/list]||[list][item]...[/item]...[/list]||(y:2)~-Item 1---~-Item 2||
||[*]{{color c="blue" text="value"}}[/*]---or---[item]{{color c="blue" text="value"}}[/item]||[item]Item 1[/item][*]Item 2[/*]||
||(x:3;c:note)**Note:** You can use the [item] tag or the [*] tag. Either is fine and they both do the same thing. It's all about preference.||
Deletions:
||(x:3;c:note)**Note:** The abbr. {{color c="green" text="param"}} is not required, but it is recommended. Without the {{color c="green" text="param"}}, both the {{color c="green" text="param"}} and the {{color c="green" text="value"}} would be the same thing.||
||(x:3;c:note)**Note:** The [abbr] tag and the [acronym] tag work in pretty much the same way. The only big difference is how the browser interprets them. For definitions of abbreviation and acronym, click these: [[WikiPedia:Abbreviation Abbreviation]], [[WikiPedia:Acronym_and_initialism Acronym]].||
||[list][/list]||||||
||[*][/*]---or---[item][/item]||||||


Revision [186]

Edited on 2010-08-13 19:54:45 by CoreyAvis
Additions:
||(x:3;c:note)**Note:** After creating an anchor, you can use the [url] tag to create a link that will point to the anchor. Due to the fact that page content can change, using the anchor tag is {{color c="red" text="not recommended."}} Only use it if you are sure of what you are doing. For more information on anchor tags, visit [[WikiPedia:HTML_anchor#Anchor here]]. In the case of anchor tags, the {{color c="blue" text="value"}} is {{color c="red" text="Not Required!"}}||
Deletions:
||(x:3;c:note)**Note:** After creating an anchor, you can use the [url] tag to create a link that will point to the anchor. Due to the fact that page content can change, using the anchor tag is {{color c="red" text="not recommended."}} Only use it if you are sure of what you are doing. For more information on anchor tags, visit [[WikiPedia:HTML_anchor#Anchor here]].||


Revision [185]

Edited on 2010-08-13 19:50:28 by CoreyAvis
Additions:
||[acronym{{color c="green" text="param"}}]{{color c="blue" text="value"}}[/acronym]||[acronym=Federal Bureau of Investigation]FBI[/acronym]||""FBI""||
||[spoiler={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/spoiler]||[spoiler]This is a spoiler.[/spoiler]||Example unavailable!||
Deletions:
||(y:2)[acronym{{color c="green" text="param"}}]{{color c="blue" text="value"}}[/acronym]||[acronym=Federal Bureau of Investigation]FBI[/acronym]||""FBI""||
||(y:2)[spoiler={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/spoiler]||[spoiler]This is a spoiler.[/spoiler]||Example unavailable!||


Revision [184]

Edited on 2010-08-13 19:45:25 by CoreyAvis
Additions:
||(y:2)[quote={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/quote]||[quote]This is text with quotes around it.[/quote]||"This is text with quotes around it."||
||[quote=Arthur]This text is quoted by me.[/quote]||Arthur wrote: "This text is quoted by me."||
Deletions:
||(y:2)[quote={{color c="green" text="param"}}]{{color c="blue" text="value"}}[/quote]||[quote]This is text with quotes around it.[/quote]||""
"This is text with quotes around it."
""||
||[quote=Arthur]This text is quoted by me.[/quote]||""
Arthur wrote: "This text is quoted by me."
""||


Revision [183]

The oldest known version of this page was created on 2010-08-13 19:43:28 by CoreyAvis