Template:Left/doc: Difference between revisions
no edit summary
mNo edit summary |
No edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1:
{{doc-sub}}
=== Usage ===
Line 6 ⟶ 5:
Left aligns text with a <code><div></code>
<syntaxhighlight lang="html5"
{{left|here is left-aligned text with a 5em offset|offset=5em}}
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 ===
Line 17 ⟶ 37:
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS IN WIKIDATA, THANKS -->
[[Category:
[[Category:Formatting templates]]
</includeonly>
|