Template talk:Vat
From Wikipedia, the free encyclopedia
Contents |
[edit] Documentation
{{vat}} is a shorthand for valign="top" align="left" in table cells. This legal XHTML transitional markup works with any browser, i.e. without inline CSS. Vat is an acronym for vertical align top.
[edit] Usage
Adding the vertical bar manually allows more flexibility like specifying width= or style= attributes, and uses of vat in other scenarios not limited to Wiki table cells.
[edit] Example
| default | |
|---|---|
| item |
|
| code | |
|
|
|
| aligned | |
|---|---|
| item |
|
| code | |
|
|
|
Intentionally not the most terse Wiki table markup
| exclamation mark |
|---|
|
| code |
|
|
| aligned |
|---|
|
| code |
|
|
Adding {{vat}} | also works for a header cell.
[edit] See also
[edit] Discussion
Add issues below as you see fit, sign with ~~~~

