แม่แบบ:Indent

จากวิกิพีเดีย สารานุกรมเสรี
Jump to navigation Jump to search
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

การใช้งาน[แก้]

The indentation spacing generated by Template:Indent will match the alignment of a colon-shift (":") by using {{indent|5}}. To match "::", use {{indent|10}}.

  • Note: This may vary depending on your browser.

Usage: {{indent|# of spaces}}

  • Indents up to 30 spaces. (use {{in5|n}} to skip up to 50 spaces)
  • Indent differs from {{space}} only in that it automatically begins a wrapped-newline, then spaces over n spaces, whereas {{space}} spaces over n in the same (current) line.

Examples[แก้]

The following are detailed examples, also comparing to the equivalent indentation generated if a colon-shift ":" were used instead.

แม่แบบ:Markupv

แม่แบบ:Markupv Note that if the prior line is already colon-shifted text, then using "{{indent|5}}" generates a blank line first, so instead, use "{{space|5}}" (or such) after a colon-shifted line.