×
Create a new article
Write your page title here:
We currently have 230 articles on Farthest Frontier. Type your article name above or create one of the articles listed here!



    Farthest Frontier

    eesti  Deutsch  dansk  čeština  asturianu  català  Boarisch  English  español  sicilianu  中文(简体)  中文(繁體)  Esperanto  Tiếng Việt  Scots  українська  Zazaki  Türkçe  ไทย  slovenščina  polski  മലയാളം  galego  Ελληνικά  日本語  ქართული  македонски  فارسی  Nederlands  မြန်မာဘာသာ  русский  中文  suomi  العربية  norsk bokmål  norsk  Lëtzebuergesch  српски / srpski  Plattdüütsch  български  한국어  svenska  português do Brasil  hrvatski  ဘာသာ မန်  français  magyar  euskara  עברית  Mirandés  italiano  اردو  português  Bahasa Indonesia  বাংলা  Bahasa Melayu  беларуская (тарашкевіца)  edit

    Description

    It is to center elements on a page. See also Template:Align for more options and flexibility.

    Usage

    Markup [[:Template: Renders as
    {{Center|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 Help:TABLECENTER.

    Notes:

    • If the markup to be centered includes an equals sign, the markup must be preceded by 1=. Example: {{Center|1=the <span style="color:red">red</span> one}}.
    • If the markup to be centered includes a displaying pipe, the pipe must be escaped as {{!}} or &#124;.

    Tables

    Using {{left}} / {{center}} / {{right}}

    Header text
    Left
    Center
    Right

    Using {{align|left}} / {{align|center}} / {{align|right}}

    Header text
    Left
    Center
    Right

    Tracking category

    Pages, which use {{Center}} without an argument, are added to the Category:Pages using center with no arguments (0).

    TemplateData

    eesti  Deutsch  dansk  čeština  asturianu  català  Boarisch  English  español  sicilianu  中文(简体)  中文(繁體)  Esperanto  Tiếng Việt  Scots  українська  Zazaki  Türkçe  ไทย  slovenščina  polski  മലയാളം  galego  Ελληνικά  日本語  ქართული  македонски  فارسی  Nederlands  မြန်မာဘာသာ  русский  中文  suomi  العربية  norsk bokmål  norsk  Lëtzebuergesch  српски / srpski  Plattdüütsch  български  한국어  svenska  português do Brasil  hrvatski  ဘာသာ မန်  français  magyar  euskara  עברית  Mirandés  italiano  اردو  português  Bahasa Indonesia  বাংলা  Bahasa Melayu  беларуская (тарашкевіца)  edit <templatedata> { "params": { "1": { "label": "Content", "type": "content", "required": true, "description": "Content to be centered" }, "style": { "label": "Custom CSS" } }, "description": "A simple template to center-align content in tables and other places. Be aware that the center class is applied to this template, which means every element within the template has its left and right margins set to auto. This may harm some templates." } </templatedata>

    See also


    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.