doc:plugins:bbcode
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:plugins:bbcode [2026/02/22 22:40] – [Images] rainerbielefeld | doc:plugins:bbcode [2026/02/28 19:12] (current) – added a little more description of attributes arvid | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== BBCode Plugin ====== | ====== BBCode Plugin ====== | ||
| - | ===== What is BBCode ? ===== | + | ===== General |
| BBCode is a simple-to-understand markup language. See: [[wp> | BBCode is a simple-to-understand markup language. See: [[wp> | ||
| + | |||
| + | The plugin provides a variety of different elements, called tags. For example, there are tags for headlines, text formattings, | ||
| + | |||
| + | Many tags have attributes that modify the behaviour of the tag (such as the " | ||
| + | //(In fact, if the value does not contain blanks, you could go without the quotes - we recommend always to use them.)// | ||
| ===== Available Tags ===== | ===== Available Tags ===== | ||
| Line 21: | Line 26: | ||
| * [u]underlined[/ | * [u]underlined[/ | ||
| * [del]strike-through[/ | * [del]strike-through[/ | ||
| - | * [size=80%]smaller[/ | + | * [size="80%"]smaller[/ |
| - | * [font=FONT]font[/ | + | * [font="FONT"]font[/ |
| - | * [color=COLOR]color[/ | + | * [color="COLOR"]color[/ |
| * Pickers to get the codes: for example [[https:// | * Pickers to get the codes: for example [[https:// | ||
| ==== Links ==== | ==== Links ==== | ||
| * Simple: %%[url]DESTINATION[/ | * Simple: %%[url]DESTINATION[/ | ||
| - | * Advanced: %%[url=DESTINATION (rel=relationship) (target=target)]Link text[/ | + | * Advanced: %%[url="DESTINATION" |
| * **DESTINATION** may be: | * **DESTINATION** may be: | ||
| * an external URL: %%" | * an external URL: %%" | ||
| Line 36: | Line 41: | ||
| * **target** (available as of FlatPress 1.3) specifies where to open the linked document (see [[https:// | * **target** (available as of FlatPress 1.3) specifies where to open the linked document (see [[https:// | ||
| * Simple email link: %%[mail]user@example.org[/ | * Simple email link: %%[mail]user@example.org[/ | ||
| - | * Advanced email link: [mail=user@example.org]link text[/url] | + | * Advanced email link: [mail="user@example.org"]link text[/url] |
| ==== Images ==== | ==== Images ==== | ||
| - | * [img=IMAGEPATH (alt=alternate text) (title=title text) (popup=false) (scale=NN%) (width=N) (height=N) (float=left|right) (loading=lazy|eager)] \\ //(items in parenthesis are optional, when you use those items you have to leave away the parenthesis!))//. | + | * [img="IMAGEPATH" |
| * if **IMAGEPATH** begins with images/ it will be automatically translated into the appropriate URL for fp-content/ | * if **IMAGEPATH** begins with images/ it will be automatically translated into the appropriate URL for fp-content/ | ||
| * **alt** sets the alternate text | * **alt** sets the alternate text | ||
| - | * **title**: title shown on mouse-over. Since FlatPress 1.4.1 the Title Text additionally will be shown as Caption below the Image. **Problem**: | + | * **title**: title shown on mouse-over. |
| * **popup** If set to true and the // | * **popup** If set to true and the // | ||
| * **scale** creates a thumbnail NN% smaller than the original. Example: [img=images/ | * **scale** creates a thumbnail NN% smaller than the original. Example: [img=images/ | ||
| Line 55: | Line 60: | ||
| ==== Videos ==== | ==== Videos ==== | ||
| - | * [video=VIDEOPATH (width=N) (height=N) (float=left|right)] \\ //(items in parenthesis are optional, when you use those items you have to leave away the parenthesis!))// | + | * [video="VIDEOPATH" |
| * **VIDEOPATH** may be: | * **VIDEOPATH** may be: | ||
| * an uploaded file: %%" | * an uploaded file: %%" | ||
| Line 67: | Line 72: | ||
| ===== BBCode from other standard plugins ===== | ===== BBCode from other standard plugins ===== | ||
| * [more] ([[doc: | * [more] ([[doc: | ||
| - | * [entryurl=ENTRY-ID]link text[/ | + | * [entryurl="ENTRY-ID"]link text[/ |
doc/plugins/bbcode.1771796418.txt.gz · Last modified: by rainerbielefeld
