Help talk:Style/White space

From ArchWiki
Jump to: navigation, search

Separate indent colons and text with single space

There should be no spaces between indentation colons and indented text.

Just wondering is there any real reason to do so :D? Why not to separate colons and text with a single space? With a space it would be more consistent with lists. — blackx (talk|contribs) 08:48, 30 December 2014 (UTC)

The rule probably originates in the convention of indenting replies on talk pages, where it is indeed common to omit the space between colon(s) and indented text. However, regular pages commonly use at most one indentation level, so unless there are other reasons, I'm in favour of changing the rule for consistency. -- Lahwaacz (talk) 09:14, 30 December 2014 (UTC)
When indentation is used to horizontally align multi-paragraph list items, I agree that the spaced version looks better:
* Some text.
:Some more.

* Some text.
: Some more.
When however colons are used to simply indent text (very rare and discouraged in regular pages), the space-less version looks better to me.
I'd be +1 for changing the rule on regular pages, or maybe only in the case of multiline list items, but I would keep the space-less style for talk pages instead. On wikipedia, talk pages use the space-less version quite consistently it seems, see wikipedia:Help:Using talk pages#Indentation. This guide already has separate sections for talk and non-talk pages, so it souldn't be a big problem to have different styles.
Alternatively, if the problem is only consistency with list characters, we could consider recommending the space-less style also with * and #, although this would break a lot of articles and would also look worse.
-- Kynikos (talk) 10:38, 31 December 2014 (UTC)
What about this? I think that we can leave formatting for the indentation use-case unspecified, some people prefer to put a space after the colon(s) even on talk pages. -- Lahwaacz (talk) 15:02, 23 August 2017 (UTC)
I like it, but since we provide indentation examples in Help:Editing#Indenting and Help:Style/White_space#Example_2, I thought I'd make it clear that the space is optional in that case. -- Kynikos (talk) 18:12, 26 August 2017 (UTC)
I like that too, so closing. -- Lahwaacz (talk) 19:15, 26 August 2017 (UTC)