Difference between revisions of "Template:Center/doc"
Jump to navigation
Jump to search
Komidore64 (talk | contribs) (Created page with "{{doc/start}} == Usage == Use this template to center justify content. <pre> {{center|TEXT}} </pre> == Example == text: <pre> {{center|Center this text, please.}} </pre>...") |
Komidore64 (talk | contribs) |
||
| Line 8: | Line 8: | ||
</pre> | </pre> | ||
| − | == Example == | + | == Text Example == |
text: | text: | ||
| Line 18: | Line 18: | ||
{{center|Center this text, please.}} | {{center|Center this text, please.}} | ||
| + | |||
| + | == Image Example == | ||
| + | |||
| + | text: | ||
| + | <pre> | ||
| + | {{center|[[File:Wiki_logo.png]]}} | ||
| + | </pre> | ||
| + | |||
| + | renders: | ||
| + | |||
| + | {{center|[[File:Wiki_logo.png]]}} | ||
{{doc/end}} | {{doc/end}} | ||
Latest revision as of 00:34, 7 November 2020
Usage
Use this template to center justify content.
{{center|TEXT}}
Text Example
text:
{{center|Center this text, please.}}
renders:
Center this text, please.
Image Example
text:
{{center|[[File:Wiki_logo.png]]}}
renders:
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.