Template:Center: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
(a shortcut, for people who want / need it)
 
No edit summary
 
Line 1: Line 1:
<div style="text-align:center">{{{1|}}}</div>
<div style="text-align:center">{{{1|}}}</div><noinclude>
 
==Usage==
This template is useful for centering text without needing to know HTML.
 
This:
<pre>{{center|The text that you want to center}}</pre>
 
Makes this:
{{center|The text that you want to center}}
 
 
The text can also include wikimarkup for bold, italics, links, etc.:
<pre>{{center|The '''text''' that ''you'' [[Main_Page|want to]] '''center'''}}</pre>
 
{{center|The '''text''' that ''you'' [[Main_Page|want to]] '''center'''}}
 
[[Category:Structural templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:14, 2 June 2014

Usage

This template is useful for centering text without needing to know HTML.

This:

{{center|The text that you want to center}}

Makes this:

The text that you want to center


The text can also include wikimarkup for bold, italics, links, etc.:

{{center|The '''text''' that ''you'' [[Main_Page|want to]] '''center'''}}
The text that you want to center