User:MidnightLightning/Colors

From Abulafia Random Generator Wiki
Jump to navigation Jump to search

Sample using wikitext within an <sgtable> block:

<sgdisplay iterations="1">[main]</sgdisplay> ⇒ Looks like Parser functions (capitalizing the color at the beginning of the second sentence), as well as bold and italic (double and triple quotes) work just fine.

List test

<sgdisplay iterations="5">#[Color.all]</sgdisplay> ⇒ <sgdisplay> doesn't put a carriage return after the <br /> between each element, so MediaWiki doesn't parse more than the first '#'.


    <sgdisplay iterations="5">
  1. [Color.all]
  2. </sgdisplay>

⇒ The </li> gets turned into HTML entities before being echoed back; not sure if this is the <sgdisplay> extension, or MediaWiki limiting the HTML tags allowed to be posted raw. MediaWiki's help indicates the </li> tag should be allowed...


<sgtable>

main

1,I like the color [Color.all]. [Color.all] pleases me as well. </sgtable>