الگو:وسط/توضیحات
آخرین ویرایش :
۲۸ اردیبهشت ۱۳۹۸
| این زیرصفحهٔ مستندات الگو:وسط است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
A simple template to center-align content in tables and other places.
Example
| نشانهگذاری | نمایش |
|---|---|
{{وسط|Hello world!}}
|
Hello world!
|
To do this without a template, simply use the following code:
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">...</div>
To center a table, see راهنما:جدول.
Table
Using {{left}} / {{center}} / {{right}}
| Header text | ||
|---|---|---|
Left |
Center |
Right
|
Using {{align|left}} / {{align|center}} / {{align|right}}
| Header text | ||
|---|---|---|
Left |
Center |
Right
|
جستارهای وابسته
بدون توصیف.
| پارامتر | توضیحات | نوع | وضعیت | |||
|---|---|---|---|---|---|---|
| هیچ پارامتری مشخص نشده است | ||||||