Template:Inline block
Usage
Displays the page content within the template block horizontally in one line.
Notes
Copied from Wikipedia w:Template:Inline block
Syntax
{{Inline block|any content ...}}
{{Inline block|1=any content ...}} – if there is a "=" in your content
Parameters
12titlewidthheightcolorbackgroundstyle
TemplateData
The template {{Inline block}} creates an inline-block element. Among other uses, it can replace {{tl|nowrap}} when coding templates with complex layout.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | The content to be wrapped in an inline-block element | Content | optional |
| HTML tag | 2 | Changes the <HTML tag> used. This may affect what elements this template should contain or be contained by.
| String | optional |
| Title | title | Title of the content (used as tooltip text, or expanded abbreviation when 2=abbr)
| String | optional |
| Width | width | The width; passed directly to the "width" CSS attribute | String | optional |
| Height | height | The height; passed directly to the "height" CSS attribute | String | optional |
| Text color | color | The text color; passed directly to the "color" CSS attribute | String | optional |
| Background formatting | background bg | The background formatting; passed directly to the "background" CSS attribute | String | optional |
| Other styles | style | Style information as plain CSS. | String | optional |
Examples
rendered :
See also
- {{Nowrap}}