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;text-align:{{{align|center}}};position:{{{position|top}}};{{{style|}}}">{{{1}}}</div></onlyinclude>
+
<onlyinclude><div style="display:inline-block;text-align:{{{align|center}}};{{{style|}}}">{{{1}}}</div></onlyinclude>
 
{|{{Template Explanation}}[[Category:Templates]]
 
{|{{Template Explanation}}[[Category:Templates]]
 
This is a DIV that will appear inline with other text. Useful to arrange items inline.
 
This is a DIV that will appear inline with other text. Useful to arrange items inline.
Line 5: Line 5:
 
*'''Optional:'''  
 
*'''Optional:'''  
 
*<code>align=</code> text alignment
 
*<code>align=</code> text alignment
*<code>position=</code>
 
 
*<code>style=</code> add some extra styling
 
*<code>style=</code> add some extra styling
 
==See Also==
 
==See Also==
 
{{Useful Templates}}
 
{{Useful Templates}}
 
|}
 
|}

Revision as of 13:56, 30 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>

This is a DIV that will appear inline with other text. Useful to arrange items inline.

  • {{inline-block|your content}}
  • Optional:
  • align= text alignment
  • style= add some extra styling

See Also