The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template talk:Date"
(→Question: new section) |
m (reply) |
||
Line 1: | Line 1: | ||
== Question == |
== Question == |
||
− | |||
What is the point of having this template? It's not difficult to type out "13 Mar 2015" in a table. --[[User:Dialexio|Dialexio]] ([[User talk:Dialexio|talk]]) 15:37, 13 March 2015 (UTC) |
What is the point of having this template? It's not difficult to type out "13 Mar 2015" in a table. --[[User:Dialexio|Dialexio]] ([[User talk:Dialexio|talk]]) 15:37, 13 March 2015 (UTC) |
||
+ | :Dates should be written out with a non-breaking space (<code>&nbsp;</code>) between the "items". <code><nowiki>{{date|2015|03|13}}</nowiki></code> produces <code>13&nbsp;Mar&nbsp;2015</code>. Sure, we could litter the source with <code>&nbsp;</code> escape codes, but it's easier to understand the markup without syntax highlighting or any other fun stuff.<br />This isn't a good analogy, but why do bother indenting code with comment tags (<code><!-- comment --></code>) when one could just not indent at all? Because it's easier to read. What's easier to understand at first glance: <code>9:30&nbsp;13&nbsp;Mar&nbsp;2015</code> or <code><nowiki>{{date|2015|03|13|09|30}}</nowiki></code>? I don't know about you, but I'd prefer the second option (and so does [[User:iAdam1n|Adam]]). So again, it's not necessary, but it makes the markup easier to read. --[[User:5urd|5urd]] ([[User talk:5urd|talk]]) 16:37, 13 March 2015 (UTC) |
Revision as of 16:37, 13 March 2015
Question
What is the point of having this template? It's not difficult to type out "13 Mar 2015" in a table. --Dialexio (talk) 15:37, 13 March 2015 (UTC)
- Dates should be written out with a non-breaking space (
) between the "items".{{date|2015|03|13}}
produces13 Mar 2015
. Sure, we could litter the source with
escape codes, but it's easier to understand the markup without syntax highlighting or any other fun stuff.
This isn't a good analogy, but why do bother indenting code with comment tags (<!-- comment -->
) when one could just not indent at all? Because it's easier to read. What's easier to understand at first glance:9:30 13 Mar 2015
or{{date|2015|03|13|09|30}}
? I don't know about you, but I'd prefer the second option (and so does Adam). So again, it's not necessary, but it makes the markup easier to read. --5urd (talk) 16:37, 13 March 2015 (UTC)