Difference between revisions of "User talk:Joda"
From Armagetron
m (Answered P4's questions) |
|||
Line 2: | Line 2: | ||
[[User:P4|P4:]]: do you know how can i add some [code] formatting to pages and why when i press just single [ENTER] it doesn't work? ;) | [[User:P4|P4:]]: do you know how can i add some [code] formatting to pages and why when i press just single [ENTER] it doesn't work? ;) | ||
: The simplest way to learn how to format pages is to look at existing ones ;). <code><pre>CODE</pre></code> should work - according to [[http://wiki.armagetronad.net/index.php?title=Code_hacks&action=edit§ion=4]] Simple Returns are ignored you might use <br> oder a double return (new paragraph?). See [[http://meta.wikimedia.org/wiki/Help:Editing_tips_and_tricks#Basic_text_formatting]] --[[User:Joda|Joda]] 09:39, 19 March 2007 (CDT) | : The simplest way to learn how to format pages is to look at existing ones ;). <code><pre>CODE</pre></code> should work - according to [[http://wiki.armagetronad.net/index.php?title=Code_hacks&action=edit§ion=4]] Simple Returns are ignored you might use <br> oder a double return (new paragraph?). See [[http://meta.wikimedia.org/wiki/Help:Editing_tips_and_tricks#Basic_text_formatting]] --[[User:Joda|Joda]] 09:39, 19 March 2007 (CDT) | ||
+ | **There are different ways. <code>Just code ''looks '''like''''' '''this'''.</code> <pre>pre puts things in a box and prevents wiki markup from having '''too ''much''''' ''effect''.</pre> I used pre in addition to code in the example Joda mentioned because the indentation was interpreted as wiki markup, but just pre alone tends to give the same rendering. Adding a space in front of each line should have worked as well. <code><br></code> should be avoided. If it's absolutely necessary (do you really need arbitrary line breaks when you have paragraphs?), use <code><br /></code>. Or, if appropriate, <code><pre></pre></code> or a space in front of each line. —[[User:Jonathan|Jonathan]] 10:57, 19 March 2007 (CDT) |
Revision as of 11:57, 19 March 2007
Helping out
P4:: do you know how can i add some [code] formatting to pages and why when i press just single [ENTER] it doesn't work? ;)
- The simplest way to learn how to format pages is to look at existing ones ;). <code><pre>CODE</pre></code> should work - according to [[1]] Simple Returns are ignored you might use
oder a double return (new paragraph?). See [[2]] --Joda 09:39, 19 March 2007 (CDT)
- There are different ways.
Just code looks like this.
pre puts things in a box and prevents wiki markup from having '''too ''much''''' ''effect''.
I used pre in addition to code in the example Joda mentioned because the indentation was interpreted as wiki markup, but just pre alone tends to give the same rendering. Adding a space in front of each line should have worked as well.<br>
should be avoided. If it's absolutely necessary (do you really need arbitrary line breaks when you have paragraphs?), use<br />
. Or, if appropriate,<pre></pre>
or a space in front of each line. —Jonathan 10:57, 19 March 2007 (CDT)
- There are different ways.