Difference between revisions of "Template:Center/doc"

From Shmups Wiki -- The Digital Library of Shooting Games
Jump to navigation Jump to search
(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>...")
 
 
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:

Wiki logo.png

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.