Main page
Recent changes
Syntax
History
help syntax.en
== Additional syntax == In addition to the normal txt2tags syntax, here are some new markup. You can customise, extend or configure most of them in the config.t2t file in the root of the wiki, or in txt2tags.class.php file. - Random numbers ``` %%rand(1,100) will display a number between 1 and 100 example: %%rand(1,100) ``` %%rand will display a real number between 0 and 1 example: %%rand ``` %%rand(owl,goose,blackbird,dove,seagull) will display one of the items in the list (delimited by commas, without spaces) example: __%%rand(owl,goose,blackbird,collared dove,gull)__ - Progression bar ``` CONVERT-BRACKET-START10%CONVERT-BRACKET-END will display a progress bar of 10% example: [10%] You can combine the 2 previous techniques to create a random progress bar: [%%rand(1,100)%] ``` CONVERT-BRACKET-START3/7CONVERT-BRACKET-END will display a progress bar of 3 out of 7 example: [3/7] - Checkboxes: - empty: ``` CONVERT-BRACKET-START CONVERT-BRACKET-END - checked : ``` CONVERT-BRACKET-STARTvCONVERT-BRACKET-END - checked (deleted) : ``` CONVERT-BRACKET-STARTxCONVERT-BRACKET-END Will display: [ ] item [v] item [x] item //You will need to edit the code on the wiki page to check the boxes. This process automates certain behaviours (no bulleted lists, line breaks, erased lines). If you just want to display checkboxes for another purpose, use simple unicode characters!// - Big button : ``@@``BUTTON(http://ddg.gg)``@@`` @@BUTTON(test (no link))@@ @@BUTTON([link to a search engine http://ddg.gg])@@ @@BUTTON(http://ddg.gg)@@ - Ascii drawings : ``` ╭─────────────────╮ │ MONOSPACE ROCKS │ ╰─────────────────╯ ``` - Tags : ``(CONVERT-HASHTAGkeyword)``
Password
Summary of changes
Last changed: September 7, 2026 at 9:48 AM CEST
Erase cookies
Powered by
LionWiki-t2t
.
Syntax
History