ಟೆಂಪ್ಲೇಟು:Indent/s

ವಿಕಿಸೋರ್ಸ್ ಇಂದ
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This is the page-crossing variant of {{indent}}.

Usage[ಸಂಪಾದಿಸಿ]

Three forms are supported:

  • {{indent/s}}{{lorem ipsum}}{{indent/e}}
    Creates a default 3em indenting effect
    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.
  • {{indent/s|5}}{{lorem ipsum}}{{indent/e}}
    With a single parameter, indent the specified number of ems
    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.
  • {{indent/s|{{lorem ipsum}}|7}}{{indent/e}}
    With two parameters, indent the content given in 1 by the specified number of ems given as 2
    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}}
  • On continuation page:
    Header area:
    {{indent/c}}
    Content area:
    Continuation content
    Footer area:
    {{indent/e}}
  • On final page:
    Header area:
    {{indent/c}}
    Content area:
    End of content
    {{indent/e}}