Предлошка:I0

Од Википедија — слободната енциклопедија


This template generates a single line feed with no indentation,
except that which it inherits from wiki paragraph created indents in the same 'logical paragraph'. That is like all the indent derivatives, (I2, I), it maintains any indentation created in a text block by ':', '*', or '#' or their legal combinations.


This 'Indent_family_usage' template documentation is transcluded for all Шаблон:Indent family usage (уреди разговор врски историја) tagged templates [edit].Masterpage  

See Предлошка:Wpd for a demonstration of the various formating features within wiki-markup that this family of templates makes available to editors.

Користење[уреди извор]

This is common usage
located in Шаблон:Indent family usage (уреди разговор врски историја) for the small family of typing-aid and formatting templates calling {{Indent}}. For the specific differences and behaviors, see the entry for this '{{I0|nn}}' template below.
  • Within wikimarkup, a 'wrapped-newline' means it will indent to align with line beginning formatting commands such as


':#', ':::::', '::**' etcetera.

As any second argument (parameter) to 'indent' will produce a second double wrapped newline— this gives the capacity for adding vertical whitespace to paragraph organized test stream even when deeply indented by successive numberized (or not) sub-paragraphs. This useful behavior has earned itself it's own hardcoded template:2 with a conveniently shorter name. Placing this at the end of a formated line, begins the next line with inherited indentation and font features, but with double-spaced appearance.


     {{Indent|nn}}, {{Indent|nn|anything}} takes a numeric argument 'nn' after the pipe and provides that many ('nn') consecutive spaces like {{Space}} (or 'S' and 'SP').

Indent differs from {{space}} only in that it automatically begins a wrapped-newline, then spaces over 'nn' spaces, whereas {{space}} spaces over 'nn' in the same (current) line.

Consequently, this template can not be used inline to create alignment between adjacent text lines, or to space out titles, etc. Use {{space}} for such needs.

      However, the wrapped-newline generated is not the same as an HTML <BR> (or hard return) newline, but instead one which returns left to the margin of 'whatever indentation level' is in effect in expansion of the text block built using wiki markup language set by the familiar control characters ':', '*', or '#', and their legal combinations, like ':*', '**', ':#' and etc.

  • A feature of note in this family is that text formatting commands like bold or italic text carry over past the application of the template through and past the so called 'wrapped newline'. Hence these (related) templates have many uses in block quotes. Wiki-markup would require each paragraph displayed to individually be text effect formatted. Judicious use of these can save a lot of time and effort. Note the clarity and vertical separation of the numberized list following in related family members.
  • The actual number of resulting 'displayed' spaces in these templates or those depending upon Предлошка:TL is highly browser and font selection dependent, due to the way it treats a given text line and tries to compact whitespace, uses partial width characters in the font, etcetera.
       In general, lining things of unequal length up in a column gives a near miss to the ideal, being a somewhat wavy column differing by partial spaces given the letters in a font. It is however just a near miss, and quite useful.

Related family members[уреди извор]

Most of these call {{indent}} directly,
and using Предлошка:TLX 'directly' itself is rare as 'I', 'I0', 'I2', 'I5' is much shorter and more compact. (Which attribute is certainly desirable in a typing aide.)

  1. {{I}} -- calls indent with a default of three spaces, or passes on an argument if other padding is desirable whist remaining more compact inside a block of text.
       This line begins with an {{I}} call. Note the indented nature and truncation of the line preceding.
       In sum, Предлошка:TL terminates the sentence immediately preceeding, and starts a newline with an indented first line. Subsequent wrapped lines, wrap to whatever wiki markup paragraph control characters is in effect on the text block. This makes it versitile and useful for signed posts and involved discussions on wiki talk pages.
       (Also Very useful in tables where edit-jumble is a factor, or on talks to create indented paragraph beginings inside a wiki indented ':', '::', '::*', or a '#' prefixed line).
       Can also be given a second perameter such as {{I|15|2}} in which case, acts identical to {{I2|15}} below... both these examples causing a fifteen space indentation.

  2. {{I0}} -- that's eye-zero, not (the two letters) eye-Oh -- Spaces down one line like 'i' preventing additional wrapping, but lining up with whatever inherited indentation comes from wiki markup control characters '*', ':', '#', etc. are operative. It's most frequently used to restore indentation to the 'normal indent' immediately following something doubly indented by '**' or '##' using the sequence construct:
       ":{{I0}}
    continuation text in the discussion"

  3. {{I2}} -- performs a second linefeed similar to <br><br> in a line, but retains the inherited indent in a text block, and like I0, does not actually indent the first line unless given a second perameter. This creates vertical whitespace that was a common misnomer (commonly misnamed) 'double spaced' paragraphs in the days of typewriters before WYSIWIG and word processing. It make keeping presentations clear easy and painless.

  4. {{I5}} -- Same as I, but using a default of five spaces extra indentation in and after single newline effect within wiki markup paragraphs indented flow.

Примери[уреди извор]

  • Предлошка:TLX-- precedes the sentence begining: However, the newline generated... early in the text above.
  • {{I}}-- use is illustrated above immediately preceding the paragraphs beginning "{Very useful..." and "Consequently, this template...", as well as several other places which should be obvious as the lines are indented three spaces one line down.
  • {{indent|2}}, {{space|7}}, etc. ...
         space and indent are limited to adding 30 spaces.
https://mk.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D1%88%D0%BA%D0%B0:I0
mk.wikipedia.org
CC-MAIN-2023-23
62860
application/http; msgtype=response
sha1:I4QJEO2FBHISHXZLBNFH7WTND5ANJA53
<urn:uuid:16c6543e-9c06-4e3f-8a6d-020c8e9c6532>
2023-06-05T11:29:10Z
208.80.154.224
text/html
sha1:B4KD4O4LTUUPGREE7GKZQ2C6BORMWZOE
<urn:uuid:e8930a4b-cb4b-4750-9da6-9325cf5e9a65>
https://mk.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D1%88%D0%BA%D0%B0:I0
response
<urn:uuid:1c89d057-0804-475e-8679-6c62ab7e3030>
isPartOf: CC-MAIN-2023-23
publisher: Common Crawl
description: Wide crawl of the web for May/June 2023
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-225
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/