====== Common Attributes ======
[[doku>plugin:mikioplugin|Mikio Plugin]]
https://github.com/nomadjimbob/mikioplugin/wiki/Common-Attributes
Common Attributes are available on most elements across the Mikio Plugin range.
===== Alignment =====
Aligns an element on the page
This is a dark alert aligned leftThis is a dark alert aligned centerThis is a dark alert aligned rightThis is a dark alert aligned leftThis is a dark alert aligned centerThis is a dark alert aligned right
===== Border =====
Applies a border to the element.
**border-color**: sets the borders color. Supports CSS based values such as%% %%''HEX''%% %%and%% %%''RGBA''.\\ **border-width**: sets the borders width. Supports%% %%''px'',%% %%''em'',%% %%''rem''%% %%and%% %%''%''. Can also be formatted to support different widths for each side.%% %%**round**: sets the border radius. Supports%% %%''px'',%% %%''em'',%% %%''rem''%% %%and%% %%''%''.
This is some textThis is some textThis is some textThis is some textThis is some textThis is some textThis is some textThis is some text
===== Height =====
Sets the height of the element. Sizes can be in%% %%''%'',%% %%''px'',%% %%''rem''%% %%or%% %%''em''.
This is some textThis is some text
===== Rounded Corners =====
Adds rounded corners (or border radius) to an element. Supports%% %%''px'',%% %%''em'',%% %%''rem''%% %%and%% %%''%''.
{{district.jpg?nolink|}}{{district.jpg?nolink|}}{{district.jpg?nolink|}}{{district.jpg?nolink|}}{{: district.jpg?nolink|}}{{: district.jpg?nolink|}}{{: district.jpg?nolink|}}{{: district.jpg?nolink|}}
===== Shadow =====
Adds a shadow to an element.
===== Styles =====
Styles elements using the standard Bootstrap colors.
A simple primary alert - check it out!A simple secondary alert - check it out!A simple success alert - check it out!A simple danger alert - check it out!A simple warning alert - check it out!A simple info alert - check it out!A simple light alert - check it out!A simple dark alert - check it out!A simple primary alert - check it out!A simple secondary alert - check it out!A simple success alert - check it out!A simple danger alert - check it out!A simple warning alert - check it out!A simple info alert - check it out!A simple light alert - check it out!A simple dark alert - check it out!
===== Text Alignment =====
Aligns text within an element
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
===== Tooltip =====
Adds a tooltip that is displayed when the cursor hovers over
===== URL =====
Some elements support a URL attribute that opens a page when the user clicks.
* External web pages are required to begin with http:// or https://
* Wiki pages can be written as the direct namespace
* Anchors must begin with #
===== Vertical Alignment ====
Sets the elements vertical alignment
My textMy text
===== Width =====
Sets the width of the element. Sizes can be in%% %%''%'',%% %%''px'',%% %%''rem''%% %%or%% %%''em''.
This is a danger alert with a set width and shadow
This is a danger alert with a set width and shadow
===== Set Attributes =====
https://github.com/nomadjimbob/mikioplugin/wiki/Set-Attributes
Mikio Plugin has a special element named%% %%''setattr''%% %%that can be used on a page, allowing the reuse of common attributes across several other elements using the%% %%''attr''%% %%attribute with a value of the name of the%% %%''setattr''.
The above sets elements that have the attribute%% %%''attr=mybox''%% %%to have the attributes%% %%''border-width=1px''%% %%and%% %%''border-color=green''%% %%while elements that have the attribute%% %%''attr=otherbox''%% %%to have the attributes%% %%''border-width=2px''%% %%and%% %%''border-color=blue''
The boxThe box 2The box 3The box 4The boxThe box 2The box 3The box 4