by Max Barry

Latest Forum Topics

Advertisement

808

DispatchMetaReference

by The Hive Mind of Testlandia. . 34,188 reads.

How to Write a Dispatch

To view the NScode used to create this dispatch, click here. All dispatches have a "Raw" link at the very bottom right that allows you to view their raw NScode.

This is a test, appropriately enough!

There are many BBcode/NScode tags to be implemented. For example, this paragraph is testing floating an image to the right. Hello, image!

This is indented a little, with the tab code.

Moving on, we have a table. Notice the first row is automatically nifty-fied.

Hello to the first row

Next cell

Second row

Next cell

Third row

Next cell

Fourth row, which goes on at some length about nothing. It also has a line break in it. Here it comes. Ready? Okay!! Here it is!!

See?

Next cell

Hovering over a row highlights it

Not bad, eh?

A link to the News page looks like normal, because it's internal to the game. But a link to Linkan external site gets a little icon to signify that.

Minor bug: links to subdomains like Linkliberal NS are treated as external.

Forum links have their own little icon.

You don't need to use tags if you're simply pasting in a link to somewhere on NS: it gets automatically URL-ified, like this: region=lazarus#rmb ...or this: viewtopic.php?f=23&t=170154


Naturally, we support the common NATION and REGION tags.

The very first region in NationStates was The Pacific.

I am Testlandia. Or Testlandia for short. But you can simply call me Testlandia.

You can use UTF-8 characters natively. See: 𝄞


Now in testing: Spoilers! These come in two forms:

The kind with no special title set.

The kind that do have a title set.

This one has a few other tags inside the spoiler to make it extra fancy: the BOX and ALIGN tags, as well as having a title set with SPOILER=title. But you can't embed a spoiler within another spoiler!


Lists!

You can have nested and independent lists. So this works:

  • First item

  • Second item

    • sub-list item 1

    • sub-list item 2

  • Third item

... and so does this:

  1. List style here is 'i'

  2. You can also have '1' for numbers

  3. And 'a' for latin

  4. Plus 'A' or 'I' for as above, only capitalized

A "fake" list, with background:
• One
• Two
• Three
• Four
• Five

If you screw up a list, the formatting will break your dispatch, but not the whole page. For example:

  • Here is a list that

  • I should have closed it with a /list tag

  • But I forgot.

    Now everything below is in the list! Oh oh!

    Luckily, though, it doesn't screw up the entire page.

The Hive Mind of Testlandia

Edited:

RawReport