Developer's Blog
Register Low Fi Mark Forums Read

Notices

Rate this Entry

Edittools

Posted 08-13-2011 at 06:22 PM by UniversalMan
Updated 11-12-2011 at 12:02 PM by UniversalMan (yep, not at all)



BB-code copy-paste
Fuck tired opening each time Forum→Member Service Center →Quick Help→Frequently Asked Questions and finding those awesome fucking BB-codes whilst I need only just COPY-PASTE COPY-PASTE COPY-PASTE etc…

Code:
UPPERCASE/Capital/lowercase/iNVERSE
="value"/=value

Formatting
[b][/b]
[i][/i]
[u][/u]
[s][/s]
-----
[color=][/color] (name/CSS)
[size=][/size] [size=+][/size] [size=-][/size]
[font=][/font]
[highlight][/highlight]
-----
[left][/left]
[center][/center]
[right][/right]
[indent][/indent]
-----
[spoiler=][/spoiler]
[sw][/sw]
-----
[note=][/note]
-----
[hr]
Code:
Lists
(values:1,a,A,i,I)
[list]
[*]
[*]
[/list][list=1]
[*]
[*]
[/list][list=a]
[*]
[*]
[/list]

Linking
(no space)
[URL][/URL]
[img][/img] (not linked)
[url=][img][/img][/url] (linked)
[url=][imglink][/imglink][/url]
(without Image Resizer breaking link)
[post=][/post] (only ID)
[thread=][/thread] (only ID)
[email=][/email]
[YOUTUBE][/YOUTUBE] (after watch?v=)
[SOUND=][/SOUND] (from heroes page)
Code:
Tabs and Tables
(image in Name → image)
[tab]
Name1|Name2
Content1{|}Content2[/tab]

[table]First|Second
One|Two[/table]

[table="straight"]First|Second
One|Two[/table]

[table="old"]First|Second
One|Two[/table]

Citation
[quote][/quote]
[quote=][/quote] (author)
[quote=;][/quote] (author, ID link)
[nqb][/nqb]

Parse
[code][/code]
[php][/php] 
[html][/html] 
[noparse]
[/noparse]

Anchors and Attachments
(no space)
[a=][/a] ([anchor=][/anchor]) (location where [goanchor] goes)
[goanchor=][/goanchor]
[attach][/attach] (if in thread)
[sigpic][/sigpic] (if upload to signature)
Code:
Competitive Things
[GROUPTABLE]
Group A Qualifier
Team 1,4,3
Team 2,1,3
Team 4,1,3
Team 5,6,2
Team 6,2,1
[/GROUPTABLE]

[GROUPMATCHES]
Group A Matches
Team 1,4 - 0,Team 2
Team 2,1 - 2,Team 3
Team 4,3 - 2,Team 3
[/GROUPMATCHES]

[LOSERBRACKET]
{Team A|0,Team B|1}
{Team A|0,Team B|1}
{Team A|0}
[/LOSERBRACKET]

[BRACKET]{Team One|1|W,Team Two|0}{Team Three|0,Team Four|1|W} 'Enter new line to begin second stage of brackets'
{Team One|1|W,Team Four|0}[/BRACKET]
Suggestion Template
Here`s my template. One of my aims was to approximate maximally to original view of PD items page (on date 11/12/2011). I explored some unusual values of margins, paddings etc that none of current BB-code could get so I used tables to imitate such values (also they don`t get accurate value but maximally close).

Another aim was to make a template maximally flexible so I cleaned up unneeded words unlike templates of other authors

Some typical examples of usage could be found here:

So below is a form with comments and a copy-paste form.

Comments to a template

For copypaste

[CENTER][IMG]http://www.playdota.com/img/site/isummary.jpg[/IMG]

[table="old"][IMG][/IMG]|[table="old"][B][COLOR=""][/COLOR][/B]
[CENTER][IMG]http://www.playdota.com/img/site/coin.jpg[/IMG][B][/B][/CENTER][/table]
[/table]

[COLOR="#FF9000"]Bought From:[/COLOR]
[COLOR="#83B9FF"][/COLOR]

[/CENTER]

[IMG]http://www.playdota.com/img/site/bonus.jpg[/IMG]
[table="old"]|
|
[/table]
[IMG]http://www.playdota.com/img/site/recipe.jpg[/IMG]
[table="old"]|[IMG][/IMG]| [COLOR="#83B9FF"]()[/COLOR]
|[IMG][/IMG]| [COLOR="#83B9FF"]()[/COLOR]
[/table]
[IMG]http://media.playdota.com/site/usedin.jpg[/IMG]
[table="old"]|[IMG][/IMG]|[color="#83B9FF"]()[/COLOR]
|[IMG][/IMG]|[color="#83B9FF"]()[/COLOR]
[/table]
[IMG]http://www.playdota.com/img/site/addinfo.jpg[/IMG]
[table="old"]|
|[IMG]http://www.playdota.com/img/guides/1245890300.jpg[/IMG] [COLOR="#898989"][/COLOR]
|[IMG]http://www.playdota.com/img/guides/1245890300.jpg[/IMG] [COLOR="#898989"][/COLOR]
[/table]
[hr][table="old"]|[B]Notes:[/B]
[/table]


Some other parts:

[table="old"]|[url=http://www.playdota.com/items/][IMG][/IMG]| [COLOR=""]()[/COLOR]
[/table]


[table="old"]|[color="#898989"]Buyable from [/color][/table]
Posted in Uncategorized
Views 170 Comments 0 Email Blog Entry
Main     My portfolio »
Total Comments 0

Comments

 
forum staff