साँचा:High-use

प्रयोगविधि सम्पादन

This template center-aligns text. For example,

Example

{{center|'''Example text'''}}

Example text

अन्य प्राचल सम्पादन

स्टाइल सम्पादन

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 can be useful when the body of the template is not a single inline item but a multi-paragraph structure. If the formatting in question has a "block" template, you can also nest that inside or outside the {{center}} template:

The following solutions are then applicable.

साँचा:Flex wrap centre

पुनर्प्रेषण सम्पादन

  • {{c}}

निगरानी श्रेणियाँ सम्पादन

यह भी देखें सम्पादन

Template data सम्पादन

साँचा:TemplateDataHeader

Align text to the center

साँचे के पैरामीटर्स

इस साँचे के लिए पैरामीटरों के इनलाइन प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
stylestyle

Additional CSS styles to apply to the block

सामग्रीवैकल्पिक
texttext 1

The text to center, this can be more than one paragraph.

सामग्रीआवश्यक
nomarginnomargin

कोई विवरण नहीं

सुझावित वैल्यू
yes, no
स्ट्रिंगवैकल्पिक
nocatnocat

कोई विवरण नहीं

अज्ञातवैकल्पिक