This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:Indent/documentation: Difference between revisions
Jump to navigation
Jump to search
imported>-jkb- New page: <!-- not yet done --> |
imported>-jkb- No edit summary |
||
| Line 1: | Line 1: | ||
<!-- not yet done --> | <!-- not yet done --> | ||
{{en}} This template includes a space like a colon : or a special class, but has some advantages: | |||
* the space can be set as you like | |||
* the space can be included not only on the beginning of the line but on any place within the line or at the end | |||
* the space will be included in the line only, not in the whole paragraph | |||
* the vertical spacing between the lines is normal, not as big as with the colon | |||
Use the syntax | |||
<pre> | |||
{{indent}} | |||
</pre> | |||
for default 2 ex or | |||
<pre> | |||
{{indent|n}} | |||
</pre> | |||
where ''n'' is any number. | |||
Latest revision as of 22:04, 27 June 2010
(English) This template includes a space like a colon : or a special class, but has some advantages:
- the space can be set as you like
- the space can be included not only on the beginning of the line but on any place within the line or at the end
- the space will be included in the line only, not in the whole paragraph
- the vertical spacing between the lines is normal, not as big as with the colon
Use the syntax
{{indent}}
for default 2 ex or
{{indent|n}}
where n is any number.