No Goblins Allowed http://862838.jrbdt8wd.asia/ |
|
Forum Tips and Tricks http://862838.jrbdt8wd.asia/viewtopic.php?f=13&t=1371 |
Page 1 of 3 |
Author: | GobO_Welder [ Wed Nov 27, 2013 12:20 am ] |
Post subject: | Forum Tips and Tricks |
Welcome to the Tips and Tricks thread! This is the place to learn to make good-looking posts, insert images and video, and use autocarding and dice. Feel free to ask any questions about how to do things! Table of Contents |
Author: | GobO_Welder [ Wed Nov 27, 2013 12:21 am ] |
Post subject: | Re: Forum Tips and Tricks |
Tables Tables are made using the [table] bbcode. A line of text gets turned into a row of the table, and columns are separated by vertical bars. Blank lines are ignored. Code: [table] row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 [/table] becomes row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 To make the first row of the table a distinctive header, use [table=header]: Code: [table=header] header column 1 | header column 2 row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 [/table] becomes header column 1 | header column 2 row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 To center the table on the page, use [table=center]: Code: [table=center] row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 [/table] becomes row 1, column 1 | row 1, column 2 row 2, column 1 | row 2, column 2 Lastly, you can have cells span multiple columns by putting {colsp=...} as the first thing in that cell: Code: [table] R1C1 | R1C2 | R1C3 R2C1 |{colsp=2} R2C2-3 [/table] becomes R1C1 | R1C2 | R1C3 R2C1 |{colsp=2} R2C2-3 Lastly, you can use all of the features together; plus, most other bbcodes can be used in tables: Code: [table=header,center] Normal header | [u]Underlined header[/u] | [i]Italic header[/i] [quote]Words. And more words![/quote] | [code]A code block[/code] | [spoiler=Hidden]Boo![/spoiler] [mc]wubrg[/mc] | [sub]A[/sub] B [sup]C[/sup] | [url=http://www.google.com]A link.[/url] [left]Left,[/left] | [center]center,[/center] | [right]right.[/right] {colsp=2}This is an unusually-long cell. Imagine the possibilities! | This isn't. [/table] Normal header | Underlined header | Italic header Quote: Words. And more words! | Code: A code block |
Hidden
| A B C | A link. Left, | center, | right. {colsp=2}This is an unusually-long cell. Imagine the possibilities! | This isn't. Dice and other tables are about the only things that don't work inside a table. Update! You can now create sortable tables: Code: [table=header,sortable]Column 1 | Column 2 | Column 3 1 | c | foo 2 | b | bar 3 | a | baz[/table] Column 1 | Column 2 | Column 3 1 | c | foo 2 | b | bar 3 | a | baz Columns containing only numbers are sorted numerically; if there are non-numeric entries in a column it's sorted alphabetically instead. Note: sorting can behave weirdly or break horribly if you try sorting on cells that span multiple columns. |
Author: | GobO_Welder [ Wed Nov 27, 2013 12:22 am ] |
Post subject: | Re: Forum Tips and Tricks |
Dice Add dice rolls using the [dice] bbcode: Code: [dice]3d6[/dice] GobO_Welder rolled 3d6 and got a total of 16: You can do some math with the rolls: Code: [dice](3d6-4)*2[/dice] GobO_Welder rolled (3d6-4)*2 and got a total of 12: Dice rolls can be displayed in a few different ways: Code: [dice=string]3d6[/dice] GobO_Welder rolled 3d6: Code: [dice=total]3d6[/dice] GobO_Welder rolled 3d6 and got a total of 9. Code: [dice=inline]3d6[/dice] 11 You can choose how dice images are displayed in your user control panel, under Board Preferences > Edit display options > Display dice. Cheating precautions: The dice rolls are reasonably secure against "cheating" the rolls.
Best-of rolls: You can also do "best-N-of-M" rolls: to roll 4d6 and keep the best 2, you would do "[dice]4d6b2[/dice]" to get GobO_Welder rolled 4d6b2 and got a total of 8: All the usual tricks -- arithmetic, different display modes -- work for best-of rolls as well. Things you can't do: Unfortunately, the mod we're using to implement dice has some limitations. The biggest ones are:
|
Author: | GobO_Welder [ Wed Nov 27, 2013 12:23 am ] |
Post subject: | Re: Forum Tips and Tricks |
Tags for Magic Mana symbols To create mana symbols, use [mc] tags: Code: [mc]wubrg[/mc] It supports most/all mana symbols: Code: Normal: [mc]wubrgs[/mc] Number: [mc]0123456789(10)(11)(12)(13)(14)(15)(16)(100)(1000000)(inf)xyz[/mc] Hybrid: [mc](w/u)(u/b)(b/r)(r/g)(g/w)(w/b)(b/g)(g/u)(u/r)(r/w)[/mc] Twobrid: [mc](2/w)(2/u)(2/b)(2/r)(2/g)[/mc] Phyrexian: [mc]p(pw)(pu)(pb)(pr)(pg)[/mc] Tap: [mc]tq(tap)(untap)[/mc] Normal: Number: Hybrid: Twobrid: Phyrexian: Tap: It's not case-sensitive, and ones that use parentheses are quite flexible: (w/u), (wu), (WU), (uw), and (U/W) all produce . You can also use smilies for mana symbols: :w::u::b::r::g: becomes . Planeswalker tags Thanks to ty, we have a nice easy way to create the symbols for planeswalker abilities: Code: [pw]+1[/pw] [pw]+0[/pw] [pw]-X[/pw] [pw]-18[/pw] [pw]10[/pw] Quote: Or, in context: ty wrote: Furt, Goblin Welder — Planeswalker — Furt (M) : Assemble target contraption. : Put a Contraption artifact token onto the battlefield. : For each contraption, put a token that's a copy of it onto the battlefield, than assemble that copy. Autocarding To link to a card's Gatherer entry and show a pop-up image of the card, use [card]: Code: [card]Phthisis[/card] Phthisis You can change what text is displayed in the link: Code: [card=Phthisis]Don't get any of this on you.[/card] Don't get any of this on you. If [card] is too long to type, [c] does the same thing. For split cards, write the left half of the card, then a space, then //, then a space, then the right half: [c]Alive // Well[/c] becomes Alive // Well. Decklists To create decklists, use the [deck] tag: Code: [deck] 33x Relentless Rats 4x Thrumming Stone 23x Swamp [/deck] 33 x Relentless Rats 4 x Thrumming Stone 23 x Swamp It's fairly tolerant of formatting, and any line that doesn't have a number in front of it is left alone: Code: [deck] [b]Creatures[/b] 33x Relentless Rats [b]Tech[/b] 4 Thrumming Stone [b]Lands[/b] 23 Swamp [/deck] Creatures 33 x Relentless Rats Tech 4 x Thrumming Stone Lands 23 x Swamp |
Author: | GobO_Welder [ Wed Nov 27, 2013 12:23 am ] |
Post subject: | Re: Forum Tips and Tricks |
Other NGA Tools The Wiki No Goblins Allowed has a wiki now!. To easily link to it, use the [wiki] tag: Code: [wiki]Rishima[/wiki] [wiki=Rishima]An example M:EM plane[/wiki] Rishima An example M:EM plane The Library To assist with chinkeeyong's NGA Constructed project, NGA put together a tool for searching custom cards. We have also set up autocarding based on this: Lurking Cannibal. The syntax is the same as for [c]: Code: [ngacard]Billowing Halitus[/ngacard] [ngacard=Billowing Halitus]custom text[/ngacard] [nc]Billowing Halitus[/nc] [nc=Billowing Halitus]custom text[/nc] You can also write up full decks with the [ngadeck] tag (decklist from here): Code: [ngadeck] 12 x Swamp 4 x Aurora Heremum 4 x Miracle Chymist 4 x Stoppered Homunculus 4 x Null Equation 4 x Vengeful Soul 4 x Breath of Catholicon 4 x Recrystallizing Guardian 4 x Hungry Latchjaw 4 x Quantum Cat 4 x Sewerborne Scourge 4 x Codex Shredder 4 x Entomb [/ngadeck] 12 x Swamp 4 x Aurora Heremum 4 x Miracle Chymist 4 x Stoppered Homunculus 4 x Null Equation 4 x Vengeful Soul 4 x Breath of Catholicon 4 x Recrystallizing Guardian 4 x Hungry Latchjaw 4 x Quantum Cat 4 x Sewerborne Scourge 4 x Codex Shredder 4 x Entomb |
Author: | GobO_Welder [ Wed Nov 27, 2013 12:23 am ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post subject: | Re: Forum Tips and Tricks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
External stuff Links Set up links with [url]: Code: [url]www.google.com[/url] [url=www.google.com]Googlify[/url] http://www.google.com Googlify You can also create links to a different part of your post using [anchor] and [goto]. Code: [goto=anchor-name]Jump from here...[/goto] [anchor]anchor-name[/anchor]... to here. Jump from here... ... to here. Images Include images with the [img] tag: Code: [img]http://tympanogram.com/files/zoidberg_hooray.jpg[/img] Extra-large images are automatically resized; click them to see the full version: Alternatively, you can manually resize images like so: Code: [img]https://www.google.com/images/srpr/logo11w.png[/img] [img height=64]https://www.google.com/images/srpr/logo11w.png[/img] [img width=64]https://www.google.com/images/srpr/logo11w.png[/img] [img height=64 width=64]https://www.google.com/images/srpr/logo11w.png[/img] Youtube To embed a youtube video, first get the video ID. This is the random letters and numbers following "v=" in the video URL: if you want to embed the video at http://www.youtube.com/watch?v=J9b29phQz_I, the video ID is "J9b29phQz_I". Then Code: [youtube]J9b29phQz_I[/youtube] becomesMisterP's Deck Planner The illustrious yet MysteriousMisterP has created a fantastic deck-building tool for Duels of the Planeswalkers, and even helped us at NGA integrate its output. Create a deck there, copy the giant blob of BBCode it produces, and paste it into a post on the forums: [manapie 90 -w u -b r -g][/manapie] Blazing Intellect A one vs. one deck for Magic 2015. 60 Cards (15 , 21 , 24 )
Open this deck in MisterP's deck planner. (Learn more) |
Author: | Lord LunaEquie is me [ Tue Dec 10, 2013 11:19 pm ] |
Post subject: | Re: Forum Tips and Tricks |
GobO_Welder wrote: Feel free to ask any questions about how to do things! I need to ask again what the size limit on avatars are Also, once it's been decided, it would be nice to have explained in here what the size limit on pictures in signatures are, since not everyone is going to notice it in the CoC (including size limits on avatars wouldn't be a bad idea, either). EDIT: Nevermind, the avatar size limits are in the control panel. |
Author: | GobO_Welder [ Fri Dec 13, 2013 12:02 am ] |
Post subject: | Re: Forum Tips and Tricks |
Sure thing. Avatars need to be at least 20x20 pixels and at most 120x120. Pictures in signatures can be any width, but a maximum of 120 pixels tall. |
Author: | MysteriousMisterP [ Fri Dec 13, 2013 7:37 am ] |
Post subject: | Re: Forum Tips and Tricks |
It would be nice to have title and h1 ... h5 heading tags. It gets tedious manually setting heading formatting in long posts. Title style Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Heading 1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Heading 2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Heading 3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Heading 4 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Heading 5 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
Author: | MysteriousMisterP [ Sun Dec 15, 2013 9:03 am ] |
Post subject: | Re: Forum Tips and Tricks |
Since [table] cells can't contain line breaks, it would be nice to have a [br] tag (with no closing tag) to insert a <br>. |
Author: | Lord LunaEquie is me [ Mon Dec 23, 2013 2:56 pm ] |
Post subject: | Re: Forum Tips and Tricks |
I've yet to properly experiment with the [indent] tag, but is there already a known way to indent just the first line of a paragraph, since tabs don't get read and displayed? It normally indents the whole paragraph, I believe (using the [/tag] at the end of the paragraph or entry). |
Author: | GobO_Fire [ Mon Dec 23, 2013 3:09 pm ] |
Post subject: | Re: Forum Tips and Tricks |
It's a ridiculous answer, but way back in the day on WotC there was FAQ writer on the D&D side who had a small image he would put at the start of the paragraph. The image was exactly the size of five characters in standard font, and was nothing except a transparant background. The effect was that whenever he started a paragraph, it appeared to be indented five characters. With some fiddling here in the preview window, I'm not seeing a way to do it with code. Indent does indeed do the whole paragraph, and if you put the close-tag after (say) the first word it wraps the rest of the paragraph down to the next line. Similarly, the LIST tag can be used (without any bullets) to do the same basic thing. This sounds like a job for Super-Welder! |
Author: | MysteriousMisterP [ Tue Dec 24, 2013 12:25 am ] |
Post subject: | Re: Forum Tips and Tricks |
Lord LunaEquie is me wrote: I've yet to properly experiment with the [indent] tag, but is there already a known way to indent just the first line of a paragraph, since tabs don't get read and displayed? It normally indents the whole paragraph, I believe (using the [/tag] at the end of the paragraph or entry). There is a slightly tedious manual workaround you can use while you wait for a real solution to be implemented. Empty space is preserved inside [code][/code] tags, and you can use the [code=none][/code] variant to create space-preserving text within a paragraph, using the ordinary font.Code: [code=none] [/code]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
Author: | GobO_Welder [ Tue Dec 24, 2013 12:40 am ] |
Post subject: | Re: Forum Tips and Tricks |
It's an easy thing for me to set up, just need to figure out the best way to do so. I think the cleanest way is probably to change the way the [indent] tag works to only indent the first line by default, and have [indent=all] indent the whole paragraph. I need to check whether this would screw up any other posts first, though. [edit] Update: this change would affect 83 posts, a number of which are highly visible. So instead this will be the [p] tag: if you want your code indented paragraph-style, wrap it in [p] [/p]. Like so: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
Author: | GobO_Fire [ Tue Dec 24, 2013 1:27 am ] |
Post subject: | Re: Forum Tips and Tricks |
Told ya he was super! |
Author: | squinty_eyes [ Tue Dec 24, 2013 1:39 am ] |
Post subject: | Re: Forum Tips and Tricks |
Using Lorem Ipsum is a cop out! I want random text not generated automatically! But really, thank you guys for that. ~SE++ |
Author: | Lord LunaEquie is me [ Tue Dec 24, 2013 3:22 pm ] |
Post subject: | Re: Forum Tips and Tricks |
Thank you very much. This will give our stories a much more professional look. (Now all you need to do is add the button to the text editor ;P) |
Page 1 of 3 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |