Wikia

Psychology Wiki

I

Talk0
34,135pages on
this wiki

Template page



This is similar to {{i5}}, which defaults to five spaces but this version defaults to three spaces when given no parameter as that proved most useful within tables when indenting in a maze of pipes and parentheses and such clutter.


This 'Indent_family_usage' template documentation is transcluded for all Template:Indent family usage (edit talk links history)

tagged templates [edit].Masterpage

 Template:Ombox

See template talk:indent for a demonstration of the various formatting features within wiki-markup that this family of templates makes available to editors.

UsageEdit


This is similar to {{i5}}, which defaults to five spaces but this version defaults to three spaces when given no parameter as that proved most useful within tables when indenting in a maze of pipes and parentheses and such clutter.
As of c. 19:43, 2 November 2007 (UTC), ths has b disconnected from calling {{Indent}} as it almost always is used as {{I}} sans arguments following a similar change to {{I5}} months ago.
  • Unlike `I5', `I` will still take {{{1}}} and expand it, but this is limited to five spaces/counts vice the 30 of indent.


This is common usage
located in Template:Indent family usage (edit talk links history)
for the small family of typing-aid and formatting templates calling {{indent}}— or derived from it... For the specific differences and behaviors, see the entry for this '{{i|nn|xx}}' 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 its 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') do to pad spaces, but with the option of one or two newlines first preserving font and indentation of paragraphs.

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, combinations of these templates can not be used inline to create alignment between adjacent text lines, or to space out titles, etc. and are particularly useful inside wikitables and to control formatting in infoboxes or within other templates.

     
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 {{Space}} 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. Combine with the HTML monospace specifier <tt>{{s|5}}</tt> or <tt>{{s|5}}</tt> will give less uncertain left-right spacing at a given zoom in/out setting.


    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 membersEdit

Most of these once called {{indent}} directly, 
and using {{indent}} 'directly' itself is rare as 'I', 'I0', 'I2', 'I5' are all much shorter and more compact. (Which attribute is certainly desirable in a typing aide.)

   
  1. {{i}} -- defaults to three spaces, and no longer calls Indent, but has a 10 space mini version of the same logic structure. This unburdens the preexpansion sizes needed for templates.
       

This line begins with an {{I}} call. Note the indented nature and truncation of the line preceding.
    In sum, {{I}} 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 versatile 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 beginnings inside a wiki indented ':', '::', '::*', or a '#' prefixed line).
    Can also be given a second parameter such as {{i|15|2}} in which case, acts identical to {{i2|15}} below— both these examples causing a fifteen space indentation.

   

  1. {{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"

  1. {{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.

       
  1. {{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.

Example callsEdit

  • {{i2|5}}-- 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.


This page uses content from the English language Wikipedia. The original content was at Template:I. The list of authors can be seen in the page history. As with this Psychology Wiki wiki, the content of Wikipedia is available under the GNU Free Documentation License.

Around Wikia's network

Random Wiki
http://psychology.wikia.com/wiki/Template:I
psychology.wikia.com
crawl=CC-MAIN-2014-23
59738
application/http; msgtype=response
sha1:HO444XGS6AZUBG7WHBQM7XIA5B2L24JX
<urn:uuid:8f8acb83-b8b4-42e9-8162-4bac637dafdc>
2014-07-24T16:28:07Z
199.27.76.194
sha1:KP4LCK3R5TAQWR7R6I7LURXJMM2R64ZR
<urn:uuid:e8d3c688-70ab-4d5d-a1fd-ead34fc8c68a>
http://psychology.wikia.com/wiki/Template:I
response
<urn:uuid:928198a6-5d2e-49f9-9f52-29ed23ef453b>
robots: classic
hostname: ip-10-33-131-23.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-23
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for July 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf