வார்ப்புரு:Indent/s/doc
< வார்ப்புரு:Indent | s
This is a documentation subpage for வார்ப்புரு:Indent/s. It contains usage information, categories and other content that is not part of the original வார்ப்புரு page. |
This is the page-crossing variant of {{indent}}.
Usage
தொகுThree forms are supported:
Form 1: Creates a default 3em indenting effect
- Here is a default example
- {{indent/s}}{{lorem ipsum}}{{indent/e}}
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Form 2: With a single parameter, indent the specified number of ems
- Here is a 5em example
- {{indent/s|5}}{{lorem ipsum}}{{indent/e}}
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Here is a 1em example
- {{indent/s|1}}{{lorem ipsum}}{{indent/e}}
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Form 3: With two parameters, indent the content given in {{parameter|1}} by the specified number of ems given as {{parameter|2}}
- Here is a 7em example
- {{indent/s|{{lorem ipsum}}|7}}{{indent/e}}
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Cross-page example:
- On initial page:
- Content area:
- {{indent/s|First page content|1}}
- Footer area:
- {{indent/e}}
- Content area:
- On continuation page:
- Header area:
- {{indent/c}}
- Content area:
- Continuation content
- Footer area:
- {{indent/e}}
- Header area:
- On final page:
- Header area:
- {{indent/c}}
- Content area:
- End of content
- {{indent/e}}
- Header area: