Article History
 
 
 
Discussion
 
16908 views
 
27% MelonadeM
Firki Markup View HTML Version
 

Firki is an experimental '[l[http://en.wikipedia.org/wiki/Lightweight_markup_language[lightweight markup language] which loosely resembles syntactical concepts found in both '[l[http://en.wikipedia.org/wiki/BBCode[BBCode] and '[l[http://en.wikipedia.org/wiki/Wikitext[WikiText].  With the help of Firki the '[[firteen] writing staff could format their own articles' sense of look and style while only learning one cryptically simple markup language instead of the confusing fusion of both '[[HTML] and '[[CSS].

'[#[Firki Syntax]
There are three basic marks which are used to build a Firki token.  So long as the token is formated properly Firki can translate the token into browser-understandable HTML*CSS.  It should be known that Firki has very little to no error handling!  :D

'[t[b2]Teh 3 Firki Marks'[/t]

'[t[code]'['] => opening tick mark/symbol
      followed by an action identifier (aka param0)

 [ => parameter separator mark/symbol
      followed by the next parameter for the action

 ] => closing delimiter mark/symbol
      ends the token'[/t]

So in example -- 
'[t[code]'[']param0[param1[param2[param3[...etc...[paramX]'[/t]

"param0" is the action identifier for the Firki token. The following parameters are extensions or commands of said action identifier.  The amount of parameters to pass in a token depends on what the action is looking for.  

Some actions may have optional parameters.  In the case that default settings are desired for an optional parameter then the parameter space should be empty (no spaces, nothing) between the token marks.

example
'[t[code]'[']l[http://n00b.com] => '[/t]'[l[[http://n00b.com]

'[#[Firki on BotB]
BotB's Lyceum uses an optimized (or, rather a stripped-down) version of the Firki markup language originally created for a CMS craptank style blog-o-sphere.  It is used in place of HTML due to HTML's hackable nature.  And BotB can not afford to trust no one (double negetive there =X what does it mean?!?!!?)!

'[#[Link Tokens]
'[t[b2]URL Link'[/t]

'[t[code]'[']l[URL[linktext]'[/t]

example
'[t[code]'[']l[http://n00b.com[n00b] =>'[/t] '[l[http://n00b.com[n00b]


'[t[b2]Link to Lyceum Article'[/t]

'[t[code]'['][Article_Title]'[/t]

example
'[t[code]'['][n00b] => '[/t]'[[n00b]

The hyperlink will be in red if the article does not yet exist.


'[#[Text Style Tokens]
'[t[b2]bold'[/t]
'[']b]'[b]bold'[/b]'[']/b]

'[t[b2]oblique / italic'[/t]
'[']o]'[o]oblique / italic'[/o]'[']/o]

'[t[b2]underline'[/t]
'[']u]'[u]underline'[/u]'[']/u]


'[t[b2]Start Text Class Span'[/t]
'[t[code]'[']t[('[b]'[u]'[o]text class'[/o]'[/u]'[/b])]'[/t]

'[t[b2]End Text Class Span'[/t]
'[t[code]'[']/t]'[/t]

Available Text Classes : '[t[code]code'[/t],'[t[0]0'[/t], '[t[1]1'[/t], '[t[2]2'[/t], '[t[3]3'[/t], '[t[4]4'[/t], '[t[b0]b0'[/t], '[t[b1]b1'[/t], '[t[b2]b2'[/t], '[t[b3]b3'[/t], '[t[b4]b4'[/t]

'[t[b0]NOTE :: BotB text default == '[/t]'[t[1]Text Style '1'.'[/t]

example
'[t[code]'[']t[b0]n00b'[']/t] => '[/t]'[t[b0]n00b'[/t]

'[#[Block Tokens]
'[t[b2]Insert Image'[/t]
Please review '[[uploading pics] for general stuff on that.  

'[t[code]'[']i[image_id[(alignment)]'[/t]

'[t[code]image_id'[/t] => the number associated with the uploaded image
'[t[code]alignment'[/t] => an optional parameter; working values are 'r', 'right', 'l', 'left'

example'[i[10[r]
'[t[code]'[']i[10[r] => '[/t]


'[t[b2]Mark Chapter'[/t]
If chapters are marked than a Table of Contents box will appear at the upper-left corner of the article which links to each chapter.

'[t[code]'[']#[Chapter_Title]'[/t]

'[#[List Tokens]
'[t[b2]unordered list'[/t]
'[']ul[(list item tokens here)]

'[t[b2]ordered list'[/t]
'[']ol[(list item tokens here)]

'[t[b2]list item'[/t]
'[']li[text]

List items are embedded inside the list tag like so -
'[']ul['[']li[dingle]'[']li[bar]] => '[ul['[li[dingle]'[li[bar]]


'[#[Firki BotB futures]
More markups are coming.  We shan't be specific until they are released in whenever patches.

 
C A T E G O R I E S
 
 
BotB Help
1 I Registered-Now what · About · Admin · Auto-Favorite · Avatar · 【日本語】ヌーブ(クラス) · 【日本語】フィルキーマークアップ · 【日本語】フォーマット · 【日本語】BotBrクラス · 【日本語】現在のメージャーバトルの情報和訳 · 【日本語】XHB · 〔日本のBotBr向け〕 バトル · 〔日本のBotBr向け〕 用語・造語辞典 · Badges · Battle of the Bits Lyceum · Bio art · BotB CC License · BotB IRCBot · botb.club · Chips Challenge · Complete list of ripped chiptunes repositories · CreepSmash_Hotkeys · donate · Entry of the day · Firki Markup · Format · Genny VST · Glossary · Home Bunk · I Am New To AYM · I Am New To FM Synthesis · I Am New To Harmony · I Am New To Music Theory · I Am New To NSF · I Am New To Pixeling · I Am New To Poetry and Writing Lyrics · I Am New To pxtone · I Am New To ZXBeep · Icons · Intro to Subtractive Synthesis · Joogle · List of current ChieVrs · List of Icons · List of legal XG patches · List of Scales · Lyceum Usage · Maximizing Artistic Productivity · Minecraft · Music Theory - Case Examples and Analysis · Music Theory - History of Modern Theory and Tonality · Player Visualizer · Playlists · Private Message · Sheet Music · Smeesh Hotkeys · Specification of General MIDI and Roland MT-32 patches · temp · The Hall of Knowledge · Trophy · Tutorials · Understanding BotB · Uploading Pics · Upper Structure Triad · Vombot · XHB Hosting · XHB Vlogs
 
 
 
BotB Terminology
 
 
This Website