Content added Content deleted
No edit summary |
(updated) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> |
|||
{{doc-sub}} |
|||
⚫ | |||
⚫ | |||
=== Usage === |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Where the block of text to be formatted extends over a page-break {{tl|left/s}} and {{tl|left/e}} should be used. {{tl|left/s}} accepts the {{parameter|offset}} parameter. |
|||
Body of first page: |
|||
<syntaxhighlight lang="html5" > |
|||
{{left/s|offset=5em}} |
|||
here is left-aligned text |
|||
</syntaxhighlight> |
|||
Footer: |
|||
<syntaxhighlight lang="html5" > |
|||
{{left/e}} |
|||
</syntaxhighlight> |
|||
Header (of second page): |
|||
<syntaxhighlight lang="html5" > |
|||
{{left/s|offset=5em}} |
|||
</syntaxhighlight> |
|||
Body of second page: |
|||
<syntaxhighlight lang="html5" > |
|||
with a 5em offset |
|||
{{left/e}} |
|||
</syntaxhighlight> |
|||
=== See also === |
=== See also === |
||
* [[Template:Right]] |
* [[Template:Right]] |
||
<includeonly> |
<includeonly> |
||
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS --> |
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS --> |
Latest revision as of 01:06, 4 July 2024
documentation subpage for Template:Left.
This is a
In most cases it contains usage information, example, categories and other content that is not part of the original template page.
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