Difference between revisions of "Template:Inline-block"

From Krafties
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<onlyinclude><div style="display:inline-block;padding:{{{padding|0 5 0 5}}}">{{{1}}}</div></onlyinclude>
 
<onlyinclude><div style="display:inline-block;padding:{{{padding|0 5 0 5}}}">{{{1}}}</div></onlyinclude>
 
{{Template Explanation|[[Category:Templates]]
 
{{Template Explanation|[[Category:Templates]]
This is a DIV that will appear inline with other text
+
This is a DIV that will appear inline with other text. I made this specially for arranging images with captions.
 
*<nowiki>{{inline-block|your content}}</nowiki>
 
*<nowiki>{{inline-block|your content}}</nowiki>
 
*'''Optional:''' <code>padding</code>, <nowiki>{{inline-block|your content|padding=5px}}</nowiki>
 
*'''Optional:''' <code>padding</code>, <nowiki>{{inline-block|your content|padding=5px}}</nowiki>

Revision as of 08:30, 29 March 2015

{{{1}}}
Documentation icon Template documentation ( view · talk · edit)

Template:Inline-block/doc

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>