Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Left/doc: Difference between revisions

Template page
Content deleted Content added
No edit summary
updated
 
(11 intermediate revisions by 3 users not shown)
Line 1:
<noinclude>{{Documentationdocumentation subpage}}</noinclude>
LeftThis template left aligns text with a <code>&lt;div></code>
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE AND INTERWIKIS IN WIKIDATA -->
 
Using the following → <code><nowiki>{{left|here is left-aligned text with a 5em offset|offset=5em}}</nowiki></code>
=== Usage ===
 
Left aligns text with a <code>&lt;div></code>
 
<syntaxhighlight lang="html5" enclose="div">{{left|here is left-aligned text with a 5em offset|offset=5em}}</syntaxhighlight>
 
{{left|here is left-aligned text with a 5em offset|offset=5em}}
 
Where the block of text to be formated extends over a page-break {{left/s}} and {{left/e}} should be used.
 
<syntaxhighlightGives: lang="html5" enclose="div">{{left|here is left-aligned text with a 5em offset|offset=5em}}</syntaxhighlight>
 
=== See also ===
* [[Template:Right]]
 
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS -->
[[Category:Special effects templatesTemplate]]
[[Category:Formatting templates]]
</includeonly>

Latest revision as of 01:06, 4 July 2024

This template left aligns text with a <div>

Using the following → {{left|here is left-aligned text with a 5em offset|offset=5em}}

Gives:

here is left-aligned text with a 5em offset

See also

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