ESV3 Formatting
+WatchReplies: 559 / 7 years ago
Warning: Undefined array key "_uid" in
/var/www/html/nrp/r.php on line
204
[!index]
[h1 ESV3 Formatting Rocks!]
[h3 What is ESV3 Formatting?]
The new ES formatting is similar to the old one. We just use brackets instead of parenthesis. The formatting can span multiple lines and there's several new useful codes.
[tbl
|| Old Way || New Way || Output
(b this is bold) | [jcode [b this is bold]] | [b this is bold]
(i this is italic) | [jcode [i this is italic]] | [i this is italic]
(http://google.com link to google) | [jcode [http://google.com link to google]] | [http://google.com link to google]
This is a header | [jcode [h4 This is a header]] | [h4 This is a header]
youtube: url | [jcode [youtube URL]] | A youtube video
fonts ... | [font consolas test] | [font consolas test]
fonts ... | [font "Times New Roman" test] | [font "Times new Roman" test]
fonts ... | [div(style="font: 26px consolas; color: #FFF; text-shadow: 1px 1px 2px rgba(18, 111, 140, 1)") test] | [div(style="font: 26px consolas; color: #FFF; text-shadow: 1px 1px 2px rgba(18, 111, 140, 1)") test]
Html Entity | [ ]| = [ ] (to show brackets)
(size20 swag) | [size20 swag] | [size20 swag]
]
[tbl
|| Code || What it does
b | bold
i | italics
u | underline
o | overline
s | strike
quote | quote
left | align left
right | align right
center | align center
sub | subtext
sup | supertext
pic | an image
| header of size 1, the largest
| size 2
| size 3
| size 4
jcode | Will make all code be rendered as text
[jcode [hr]] | horizontal line break
[jcode [yes]] | [yes]
[jcode [no]] | [no]
[jcode [tab]] | A tab
[jcode [spoiler ....]] | [spoiler a spoiler here!]
[jcode [sub small]] | small text below baseline
[jcode [sup sup]] | citation style text
[jcode [center [pic ...]]] | center a picture
[jcode [left [pic ...]]] | float a picture to the left.
]
[h3 Citations/References]
[p ESV3 Code has lots of new features[ref=webmaster Jimmy Ruska]]
[p Furries are the best[ref=wolvenglade WolvenGlade]. The more furry the better[ref?wolvenglade]] [!ref]
This is the above code:
[jcode
[h3 We now have citations and Google Fonts]
[p ESV3 Code has lots of new features[ref=webmaster Jimmy Ruska]]
[p Furries are the best[ref=wolvenglade WolvenGlade]. The more furry the better[ref?wolvenglade]] [!ref]
]
[jcode [!ref] will dump all references at the current point. Otherwise they get dumped at the end. The structure is [ref=SomeName SomeText] the first time you define a reference. The second time you can refer to it only as [ref?SomeName]. SomeText is what gets shown at the bottom.]
[h3 Google Fonts]
We load the font:
[jcode [google-font http://fonts.googleapis.com/css?family=Finger+Paint]]
[google-font http://fonts.googleapis.com/css?family=Finger+Paint]
We use the font:
[jcode [Finger+Paint We can use google fonts anywhere if we just import them first with the google-font code]]
[Finger+Paint We can use google fonts anywhere if we just import them first with the google-font code]
[p [http://www.google.com/fonts/ Use any google font you want!] There are many. They don't work on internet explorer I don't think. Find one you like, click the [pic http://www.google.com/fonts/quick_use_static.png] pic. Scroll down to "Add this code to your website"] Use that data with the google-font code.
[h3 Colors have slightly changed]
[jcode You can use [+color Text Here] for example [+green This is green] will display] [+green This is green]. All the colors [http://www.w3.org/TR/css3-color/#html4 here] and [http://www.w3.org/TR/css3-color/#svg-color here] are accepted. [jcode You can still also do [#00FF00 hex based RRGGBB colors]] and it will look [#00FF00 like this].
[h3 Use css]
[div(style="border: 1px dashed #888; padding: 30px; -webkit-border-radius: 17px;-moz-border-radius: 17px;border-radius: 17px;-webkit-box-shadow: 7px 7px 11px #000000;-moz-box-shadow: 7px 7px 11px #000000;box-shadow: 7px 7px 11px #000000;color: #336699;") If you know html and css you can have fun with this. Not all attributes work, for safety.]
=
[div(style="border: 1px dashed #888; padding: 30px; -webkit-border-radius: 17px;-moz-border-radius: 17px;border-radius: 17px;-webkit-box-shadow: 7px 7px 11px #000000;-moz-box-shadow: 7px 7px 11px #000000;box-shadow: 7px 7px 11px #000000;color: #336699;") If you know html and css you can have fun with this. Not all attributes work, for safety.]
[h3 Tables and Lists]
Instead of "ol", "ul", "bl" we now use olist, ulist and blist. We can also put lists inside of lists inside of lists inside of tables inside of... you get the idea.
[jcode
[tbl
|| Pokemon || POWER
Squirtle | 5
Charmander | 7
Wolvenglade | 99999]]
=
[tbl
|| Pokemon || POWER
Squirtle | 5
Charmander | 7
Wolvenglade | 99999]
[h4 Lists][list
milk
sugar]
=
[jcode [list
milk
sugar
]]
[h3 Generate an Index]
The code can automatically setup an index like the one at the top of this page. It's based on the h1 through h5 tags. just add [jcode [!index]] to the top of the page.
[h3 Work to be Done]
As you can tell the spacing is a little excessive. We could work to make it more pretty.
[h3 Why switch to brackets?]
Brackets take 1 click while parenthesis require you to hold down shift. Parenthesis are often used in RPs to indicate OOC'ing ((out of character chat)). We may accidentally parse stuff like that. (I want to talk to you) may be parsed as italics, when someone meant it as non-code. I'm sure I could setup a es code v2 converter.
[h3 Future Plans]
I want to remove the flash chats and make them html5 with this new parser as default. This means you can use chats on mobile devices. I'm not sure if the RP replies will accept version 3 in the near future. Once everything is stable I might set things up so people can post journals/writings/poetry separately.