Template:Left/doc: Difference between revisions

Template page
Content added Content deleted
m (12 revisions imported: importing required formatting templates)
No edit summary
Line 1: Line 1:
{{doc-sub}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE AND INTERWIKIS IN WIKIDATA -->
{{Div-based-template}}
{{Div-based-template}}
=== Usage ===
=== Usage ===
Line 32: Line 31:
{{left/e}}
{{left/e}}
</syntaxhighlight>
</syntaxhighlight>





=== See also ===
=== See also ===
Line 41: Line 37:
<includeonly>
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS -->
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS -->
[[Category:Special effects templates]]
[[Category:Template]]
[[Category:Formatting templates]]
</includeonly>
</includeonly>

Revision as of 23:18, 28 April 2020

This is a documentation subpage for Template:Left.
It contains usage information, categories and other content that is not part of the original template page.


Template:Div-based-template

Usage

Left aligns text with a <div>

{{left|here is left-aligned text with a 5em offset|offset=5em}}
here is left-aligned text with a 5em offset

Where the block of text to be formatted extends over a page-break {{left/s}} and {{left/e}} should be used. {{left/s}} accepts the offset parameter.

Body of first page:

{{left/s|offset=5em}}
here is left-aligned text

Footer:

{{left/e}}

Header (of second page):

{{left/s|offset=5em}}

Body of second page:

with a 5em offset
{{left/e}}

See also


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