Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Align

Permanently protected template
From Wikipedia, the free encyclopedia
{{{2}}}
Template documentation[view] [edit] [history] [purge]
Note: If you trying to align a table column (left, center, or right) useTemplate:Table alignment.
WarningThis template is used onapproximately 202,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's/sandbox or/testcases subpages, or in your ownuser subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on thetalk page before implementing them.
CautionAlign Center does not function forthe mobile view and mobile applications. Be aware that more than half of the Wikipedia visitors are via mobile.

This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:

{{Align|position|content}}

Examples

{{Align|left|'''Hello world!'''}} produces this:
Hello world!
{{Align|right|'''Hello world!'''}} produces this:
Hello world!
{{Align|center|'''Hello world!'''}} produces this:
Hello world!
{{Align|center|'''Hello world!'''|style=color:red}} produces this:
Hello world!

See also

The abovedocumentation istranscluded fromTemplate:Align/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Align&oldid=1191160544"
Category:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp