help syntax.en
Main page
Recent changes
Item1
Item2
Syntax
History
B
I
U
S
H2
H3
wiki-link
ext-link
img
code
list
table
date
== 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)@@ - Tags : ``(CONVERT-HASHTAGkeyword)``
Password
Summary of changes
Powered by
LionWiki-t2t
. Last changed: September 4, 2024 at 2:18 PM CEST
Erase cookies
Syntax
History