İçeriğe atla

Şablon:Orta

Vikikaynak, özgür kütüphane
(Şablon:C sayfasından yönlendirildi)
{{{1}}}
Şablon belgelemesi Belgeleme

Usage

This template center-aligns text. For example,

{{orta|'''Example text'''}}

yields

Example text


Other parameters

style

Where there is a need to specify the style of text for the whole <div>...</div> item, an optional "style" parameter can be used.
This is useful when the body of the template is not a single <span>...</span> item but an articulated structure. In such case, no <span>...</span> inline template should wrap {{c|...}}.

The following solutions are then applicable.

Option 1
{{orta|style=font-family:serif;|
Title of the work

by

Author of the work
}}

yields

Title of the work

by

Author of the work

  Option 2
{{orta|
{{serif|Title of the work}}

{{serif|by}}

{{serif|Author of the work}}
}}

yields

Title of the work

by

Author of the work

Redirects

  • {{c}}


Ayrıca bakınız