Difference between revisions of "Template talk:Bc"

From ArchWiki
Jump to: navigation, search
m (typo)
(Usage: re, close)
Line 1: Line 1:
== Usage ==
+
==<s> Usage </s>==
  
 
This is simply meant for code blocks that are multiple lines, right? Otherwise it's much simpler to just use a space ({{ic| }}). --'''<span style="text-shadow:grey 0.1em 0.1em 0.1em; font-size:110%">[[User:Det|<span style="color:gold">D</span><span style="color:orange">e</span><span style="color:red">t</span>]][[User talk:Det|<sup><font color="white">talk</font></sup>]]</span>''' 20:08, 20 March 2014 (UTC)
 
This is simply meant for code blocks that are multiple lines, right? Otherwise it's much simpler to just use a space ({{ic| }}). --'''<span style="text-shadow:grey 0.1em 0.1em 0.1em; font-size:110%">[[User:Det|<span style="color:gold">D</span><span style="color:orange">e</span><span style="color:red">t</span>]][[User talk:Det|<sup><font color="white">talk</font></sup>]]</span>''' 20:08, 20 March 2014 (UTC)
Line 10: Line 10:
 
:::For short lines of code, you can just start them with a space instead of using {{ic|<nowiki>{{bc|code}}</nowiki>}} (see [[Help:Editing]])
 
:::For short lines of code, you can just start them with a space instead of using {{ic|<nowiki>{{bc|code}}</nowiki>}} (see [[Help:Editing]])
 
::--'''<span style="text-shadow:grey 0.1em 0.1em 0.1em; font-size:110%">[[User:Det|<span style="color:gold">D</span><span style="color:orange">e</span><span style="color:red">t</span>]][[User talk:Det|<sup><font color="white">talk</font></sup>]]</span>''' 21:50, 5 April 2014 (UTC)
 
::--'''<span style="text-shadow:grey 0.1em 0.1em 0.1em; font-size:110%">[[User:Det|<span style="color:gold">D</span><span style="color:orange">e</span><span style="color:red">t</span>]][[User talk:Det|<sup><font color="white">talk</font></sup>]]</span>''' 21:50, 5 April 2014 (UTC)
 +
 +
:::I've just made it clearer in [[Help:Style#Code formatting templates]] that using a space is recommended for single lines, closing. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 03:03, 6 April 2014 (UTC)

Revision as of 03:03, 6 April 2014

Usage

This is simply meant for code blocks that are multiple lines, right? Otherwise it's much simpler to just use a space ( ). --Dettalk 20:08, 20 March 2014 (UTC)

You got it right, for single lines using a space is preferable. -- Kynikos (talk) 17:02, 21 March 2014 (UTC)
Thanks. I see it's sort of mentioned in Help:Style#Code formatting templates:
Use {{bc|code}} for single or multiple lines of code [...]
[...]
For short lines of code, you can just start them with a space instead of using {{bc|code}} (see Help:Editing)
--Dettalk 21:50, 5 April 2014 (UTC)
I've just made it clearer in Help:Style#Code formatting templates that using a space is recommended for single lines, closing. -- Kynikos (talk) 03:03, 6 April 2014 (UTC)