User:AngelinaBelle/sandbox: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
Line 11: Line 11:
Here is an example of the <nowiki><code></nowiki> tag.  It looks lousy.
Here is an example of the <nowiki><code></nowiki> tag.  It looks lousy.
<code>
<code>
hello
first line of code
  hello
  second line of code, indented
       hello
       third line of code, indented even more
fourth line of code, no indentation
</code>
</code>


Here is the <nowiki>{{code}}</nowiki> template. It also looks lousy, but with top and bottom borders:
Here is the <nowiki>{{code}}</nowiki> template. It also looks lousy, but with top and bottom borders:
{{code
{{code
|hello
|first line of code
  hello
  second line of code, indented
       hello
       third line of code, indented even more
fourth line of code, no indentation
}}
}}

Revision as of 15:50, 2 March 2011

Testing signature: -- Doc writer badge.png AngelinaBelle (talk) 11:23, 19 February 2011 (EST)


In this example, the BB codes are alphabetically sub-headed, to make them easier to find (see http://en.wikipedia.org/wiki/List_of_sovereign_states for a wikipedia example of a long list with alphabetical headers.

For wikipedia's short list of BBcodes, see http://en.wikipedia.org/wiki/BBCode.

For bbcode.org's short list, see http://www.bbcode.org/reference.php.

Here is an example of the <code> tag. It looks lousy. first line of code

 second line of code, indented
     third line of code, indented even more

fourth line of code, no indentation

Here is the {{code}} template. It also looks lousy, but with top and bottom borders:

first line of code
  second line of code, indented
      third line of code, indented even more
fourth line of code, no indentation


Advertisement: