Template:Ta/doc
From Gentoo Wiki
Jump to:navigation
Jump to:search
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.
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 |
| |
Sandbox version |
Parameter: 2. unnamed | ||
---|---|---|
Wiki code | {| style="width: 100px; background-color: grey"
|-
|{{Ta|some text|right}}
|}
| |
Main version |
| |
Sandbox version |