Template:Center
From Dragon Mania Legends (DML) Wiki
style="text-align:center;"
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
{{center}}
gives: style="text-align:center;"{{center|text}}
gives:
text
This template is used for quick centering of either table contents when no other styles are required, or centering of other contents in a div. Note that in the first case, it cannot be used with other styles; otherwise this will produce two such statements which is undesired. When center is needed in a cell already containing style="text-align:center;" then you need to add manually the"text-align:center;" statement into that existing style statement.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Optional) 1 | 1 | Overrides whether or not it is a singular style for a table (i.e., whether or not it adds a div around the text and centers that instead)
| String | optional |