Difference between revisions of "Template:Inline-block"
Jump to navigation
Jump to search
MyraMidnight (talk | contribs) m |
MyraMidnight (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <onlyinclude><div style="display:inline-block;padding:{{{padding|5px}}};text-align:{{{align|center}}};border:{{{border|1px solid #000}}};">{{{1}}}</div></onlyinclude> | + | <onlyinclude><div style="display:inline-block;padding:{{{padding|0 5 0 5}}};margin:{{{margin|5px}}};text-align:{{{align|center}}};border:{{{border|1px solid #000}}};">{{{1}}}</div></onlyinclude> |
{{Template Explanation|[[Category:Templates]] | {{Template Explanation|[[Category:Templates]] | ||
This is a DIV that will appear inline with other text. I made this specially for arranging images with captions. | This is a DIV that will appear inline with other text. I made this specially for arranging images with captions. | ||
Line 5: | Line 5: | ||
*'''Optional:''' | *'''Optional:''' | ||
**<code>padding</code> | **<code>padding</code> | ||
+ | **<code>margin</code> | ||
**<code>align</code> | **<code>align</code> | ||
**<code>border</code> | **<code>border</code> |
Revision as of 08:44, 29 March 2015
{{{1}}}
Template documentation (
)
)
- The above documentation is transcluded from Template:Inline-block/doc.
- Editors can experiment in this template's sandbox
- Please add categories to the /doc subpage within
<includeonly>...</includeonly>