Template:Ta

From Gentoo Wiki
Jump to:navigation Jump to:search
[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to horizontally align a text or image.

The name is based on the fact that it deals with Table-cell alignment.

Parameters

1. unnamed
text / image
2. unnamed (optional)
alignment of text. Possible values are left, center, right. Default is center.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code {| style="width: 100px; background-color: grey" |- |{{Ta|some text}} |}

Main version
some text
Sandbox version
Parameter: 2. unnamed
Wiki code {| style="width: 100px; background-color: grey" |- |{{Ta|some text|right}} |}

Main version
some text
Sandbox version
Note
The above documentation is transcluded from Template:Ta/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)