#todo


Advanced Flags and Customization

This section contains some of flags that are set up for those who want to further customize their snippet. These are optional and are not included in the main list due to the requirement of tweaking and the need for some CSS understanding or for their complexity which can cause confusion or information overload.

While the normal flags can be used "out of the box" or with some minor setting changes, these are a bit more involved.

Advanced Borders

Rounded Corners 2: Electric Boogaloo

testc.jpg|+side -lg -right -border2 -bradiustl -bradiusbrtestc.jpg|+side -lg  -border2 -bradiustr -bradiusbl

I wanted to have a little extra fun with border radii. These will set a rounded corner on a single corner. These can be used individually or in pairs. As always feel free to modify the values to fit your needs.


Borders for Portrait/Landscape

Having a clip path will also clip any border. Putting a border on the span will create a square border around the box rather than an elliptical shaped one.

The way to accomplish a border effect for these is to set the span background color to the desired color then apply a border to the desired thickness.

I have the spans already set up this way by default so changing the background color with a flag will do the trick. You can also change the span border with a flag as well.


Other Border Settings

Border settings can be modified in the default values in the CSS, or they can be overridden by an additional flag. The following can be used to override the default settings.

"-bsizethin" - Sets the border size to 1px
"-bsizethick" - Sets the border size to 5px
"-bdotted" - Sets the border to a dotted line #WiP
"-bdouble" - Sets the border to a bouble line #WiP
"-bcolor1" - Sets the border to a preset color (default: White) #WiP
"-bcolor2" - Sets the border to a preset color (default: Red) #WiP
""

Custom Presets

There are several places where custom settings can be employed along with the standard options. These fall into the same two categories as the normal flags: Core Flags and Modifier Flags.

Custom Core Flags

Custom Modifier Flags

testc.jpg|+hr-cwidth1 -divborder2 -cdivbradius1
Here's an example of the standard "+hr" element with a standard modifier (-divborder2) and two custom modifiers (-cwidth1 and cdivbradius1) The custom width is set to 120% so that it extends out beyond the text and includes a negative 10% margin on the left so that the bar is centered. The custom border radius make a much more rounded end.

Images side by side and other arrangments

testc.jpg|+side -med -rightIf you want two images side by side, you can place them onetestc.jpg|+side -sm -rightafter another on the same line. If they are sized so that their combined width is less than that of the page, they will display inline. The text will still flow around the images since they are floated to the side.

if images are on the right hand side, the first image is the furthest right, while the last one will be furthest left.

Fixed and Abolute

"-fixed" will cause the image to become fixed so that it will not move as the page undernieth scrolls
"-abs" will cause the image to be positioned the same place regardless of where it is put in the edit mode.


No Float Tag

testc.jpg|+side -med -border1testc.jpg|+side -thumb -border1

You may want two (or more) images side by side of differing sizes then wish the text to not flow around one or more of them. You might want other elements not to flow around an image.

Enter the "-nofloat" tag. The first image is floated right (larger image) allowing both the second image and the text to flow around it. The second image (smaller image) is not floated causing the text to start on the next line.


testc.jpg|+side -med -border1testc.jpg|+side -sm -border1testc.jpg|+side -med -border1 -nofloat

You can use "-nofloat" on the last image in a line to end floating. Note that this will cause the last image to left align which can look odd depending on the size of image. (above is an example of this as it causes the middle image to appear too far to the right). If you had only two images, though, it would look OK)


testc.jpg|+side -sm -border1

testc.jpg|+side -sm -border1

testc.jpg|+side -sm -border1





In many cases, it is better to use the "< br>" command to create line returns so that the text starts on the correct line.

Grid View

herald.png|+side -glow -medWhen obsidian changed from having the images inside a block level element to a special

test.jpg|+gridtest.jpg|+gridtest.jpg|+gridtest.jpg|+gridtest.jpg|+grid

Quick Reference

#WiP

tag type description
+side core default flag, floats to right
+tape core image taped to background effect
+pin core image pinned to background effect