Compose Tips

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <img> <pre>

    This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.

    For more information see W3C's HTML Specifications or use your favorite search engine to find other sites that explain HTML.

    Tag DescriptionYou TypeYou Get
    Anchors are used to make links to other pages.<a href="https://www.soldierx.com">SOLDIERX.COM</a>SOLDIERX.COM
    Emphasized<em>Emphasized</em>Emphasized
    Strong<strong>Strong</strong>Strong
    Cited<cite>Cited</cite>Cited
    Coded text used to show programming source code<code>Coded</code>Coded
    No help provided for tag img.
    Preformatted<pre>Preformatted</pre>
    Preformatted

    Most unusual characters can be directly entered without any problems.

    If you do encounter problems, try using HTML character entities. A common example looks like &amp; for an ampersand & character. For a full list of entities see HTML's entities page. Some of the available characters include:

    Character DescriptionYou TypeYou Get
    Ampersand&amp;&
    Greater than&gt;>
    Less than&lt;<
    Quotation mark&quot;"
  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
  • You may surround a section of text with "[collapse]" and "[/collapse]" to it into a collapsible section.

    You may use "[collapse]" tags within other "[collapse]" tags for nested collapsing sections.

    If you start with "[collapsed]" or "[collapse collapsed]", the section will default to a collapsed state.

    You may specify a title for the section in two ways. You may add a "title=" parameter to the opening tag, such as "[collapse title=<your title here>]". In this case, you should surround the title with double-quotes. If you need to include double-quotes in the title, use the html entity "&quot;". For example: '[collapse title="&quot;Once upon a time&quot;"]'. If a title is not specified in the "[collapse]" tag, the title will be taken from the first heading found inside the section. A heading is specified using the "<hX>" html tag, where X is a number from 1-6. The heading will be removed from the section in order to prevent duplication. If a title is not found using these two methods, a default title will be supplied.

    For advanced uses, you may also add a "class=" option to specify CSS classes to be added to the section. The CSS classes should be surrounded by double-quotes, and separated by spaces; e.g. '[collapse class="class1 class2"]'.

    You may combine these options in (almost) any order. The "collapsed" option should always come first; things will break if it comes after "title=" or "class=". If you need to have it come after the other options, you must specify it as 'collapsed="collapsed"'; e.g. '[collapse title="foo" collapsed="collapsed"]'.

    If you wish to put the string "[collapse" into the document, you will need to prefix it with a backslash ("\"). The first backslash before any instance of "[collapse" or "[/collapse" will be removed, all others will remain. Thus, if you want to display "[collapse stuff here", you should enter "\[collapse stuff here". If you wish to display "\[collapse other stuff", you will need to put in "\\[collapse other stuff". If you prefix three backslashes, two will be displayed, etc.

    If you prefer, you can use angle brackets ("<>") instead of straight brackets ("[]"). This module will find any instance of "<collapse" and change it to "[collapse" (also fixing the end of the tags and the closing tags).

    You may override the settings of the filter on an individual basis using a "[collapse options ...]" tag. The possible options now are 'form="form"' or 'form="noform"', and 'default_title="..."'. For example, '[collapse options form="noform" default_title="Click me!"]'. Only the first options tag will be looked at, and the settings apply for the entire text area, not just the "[collapse]" tags following the options tag. Note that surrounding <p> and <br> tags will be removed.

    This module supports some historical variants of the tag as well. The following are not recommended for any new text, but are left in place so that old uses still work. The "class=" option used to called "style=", and "style=" will be changed into "class=". If you don't put a double-quote immediately after "class=", everything up to the end of the tag or the string "title=" will be interpreted as the class string. Similarly, if you don't have a double-quote immediately following "title=", everything up to the end of the tag will be used as the title. Note that in this format, "style=" must precede "title=".

  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<code>", "<blockcode>".
    • Language specific syntax highlighting tags: "<asm>" for ASM source code, "<bash>" for Bash source code, "<c>" for C source code, "<cpp>" for C++ source code, "<csharp>" for C# source code, "<dos>" for DOS source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<perl>" for Perl source code, "<php>" for PHP source code, "<powershell>" for PowerShell source code, "<python>" for Python source code, "<ruby>" for Ruby source code, "<text>" for Text source code.

    Options and tips:

    • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "asm" (for ASM), "bash" (for Bash), "c" (for C), "cpp" (for C++), "csharp" (for C#), "dos" (for DOS), "java" (for Java), "javascript" (for Javascript), "perl" (for Perl), "php" (for PHP), "powershell" (for PowerShell), "python" (for Python), "ruby" (for Ruby), "text" (for Text).
    • The supported tag styles are: <foo>, [foo], [[foo]].
    • Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
    • If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.
    • A title can be added to a code block with the attribute "title".

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: the default language used for syntax highlighting is "text".
    • Default line numbering: no line numbers.

    Examples:

    You typeYou get
    <code>foo = "bar";</code>Inline code with the default syntax highlighting mode.
    <code>
    foo = "bar";
    baz = "foz";
    </code>
    Code block with the default syntax highlighting mode.
    <code lang="javascript" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Javascript source code
    and normal line numbers.
    <code language="javascript" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Javascript source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
    <asm>
    foo = "bar";
    baz = "foz";
    </asm>
    Code block with syntax highlighting for ASM source code.
    <asm start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    <asm>
    Code block with syntax highlighting for ASM source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
  • Quoted content can be placed between [quote] tags in order to be displayed as an indented quote. Every [quote] tag must have a corresponding [/quote] tag. For example:

    [quote]This is a simple quote.[/quote]
    is displayed as:

    Quote:
    This is a simple quote.

    Additionally, there is an optional attribute which allows quotes to specify the original author.

    [quote=Mr. Drupal]This is a quote with an attribution line.[/quote]
    is displayed as:

    Mr. Drupal wrote:
    This is a quote with an attribution line.

    Finally, multiple [quote] tags can be nested within one another. Just remember that every [quote] tag must have a corresponding [/quote] tag.

    [quote]I think she says it best...
    [quote=Ms. Quotation]This is a quote nested within another quote.[/quote]
    but you can't argue with
    [quote=Ms. Reply]The more quotes, the merrier.
    Just don't get too carried away.[/quote]
    And I have nothing more to say.[/quote]
    is displayed as:

    Quote:
    I think she says it best...
    Ms. Quotation wrote:
    This is a quote nested within another quote.
    but you can't argue with
    Ms. Reply wrote:
    The more quotes, the merrier. Just don't get too carried away.
    And I have nothing more to say.
  • If you include a textual smiley in your post (see chart below), it will be replaced by a graphical smiley.
    Smileys
    SmileyAcronyms
    :):) :-) :smile:
    :D:D :-D :lol:
    :bigsmile::bigsmile:
    ;);) ;-) :wink:
    :p:p :-p :tongue:
    :O:O :-O :shock:
    :|:| :-| :stare:
    :(:( :-( :sad:
    :~:~ :-~ :puzzled:
    :((:(( :-(( :cry:
    8)8) 8-) :cool:
    :steve::steve:
    J)J) J-) :crazy:
    :glasses::glasses:
    :party::party:
    :love::love:
    :X:X :-X :oups:
    :8):8) :8-) :shy:
    0:)0:) 0:-) :innocent:
    :*:* :-* :sexy:
    |(|( \( :angry:
    :Sp:Sp :-S) :sick:
    :tired::tired:
    :santa::santa:
    :mail::mail:
    :sushi::sushi:
    :hat::hat:
    H)H) H:) H:-) :grade:
    :ghost::ghost:
    $)$) $-) :cash:
    :crown::crown:
    :davie::davie:
    >)>) >-) :evil:
    :beer::beer:
    :star::star:
    :arrow::arrow:
    :quest::quest:
    :exmark::exmark:
  • If you include a word in your post that's filtered (usually foul language), it will be replaced by the filtered version of the word.