by Max Barry

Latest Forum Topics

Advertisement

61

DispatchMetaReference

by Unified protectors. . 5,426 reads.

A Guide to Coding a Dispatch

[size=120][u][b]Introduction[/b][/u][/size]

[box]The following has been written as a visual guide on how to use tags when writing dispatches. The code is shown first (on the left if in a table) with the result shown below (on right side if in a table). The code is active and a direct format for the result shown. Different combinations of code can also be used, so I encourage you to experiment with them! If there is any tag missing, please contact me and the guide will be modified accordingly. Enjoy!

[i]Note: Not all tags work in Regional Message Board Posts or Telegrams (See [url=http://www.nationstates.net/page=dispatch/id=255472#TagFun]Tag Functionality[/url]).[/i][/box]

[size=120][u][b]Table of Contents[/b][/u][/size]
[box][b][url=http://www.nationstates.net/page=dispatch/id=255472#TextMod]Text Modification[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Nat]Nations & Regions[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Img]Images & URLs[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#List]Lists[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Table]Tables[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Pos]Positioning[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Div]Dividers[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#Spoiler]Spoiler Buttons[/url]
[url=http://www.nationstates.net/page=dispatch/id=255472#TagFun]Tag Functionality[/url][/b]
[/box]

[anchor=TextMod][size=120][u][b]Text Modification[/b][/u][/size][/anchor]

[box][table]
[tr][td]Code[/td][td]Result[/td][/tr]
[tr][td][b[size=100]]Bold[/b[/size]][/td][td][b]Bold[/b][/td][/tr]
[tr][td][i[size=100]]Italic[/i[/size]][/td][td][i]Italic[/i][/td][/tr]
[tr][td][u[size=100]]Underline[/u[/size]][/td][td][u]Underline[/u][/td][/tr]
[tr][td][strike[size=100]]Strike-Through[/strike[/size]][/td][td][strike]Strike-Through[/strike][/td][/tr]
[tr][td][color=red[size=100]]Colour[/colour[/size]][/td][td][color=red]Colour[/color][/td][/tr]
[tr][td][color=#00ff00[size=100]]Hexadecimal Colour[/colour[/size]][/td][td][color=#00ff00]Hexadecimal Colour[/color][/td][/tr]
[tr][td][size=150[size=100]]Size (Default:100)[/size[/size]][/td][td][size=150]Size (Default:100)[/size][/td][/tr]
[tr][td][font=times[size=100]]Font Type (Default: Verdana)[/[/size]font][/td][td][font=times]Font Type (Default: Verdana)[/font][/td][/tr]
[/table][/box]

[anchor=Nat][size=120][u][b]Nations & Regions[/b][/u][/size][/anchor]

[box][table]
[tr][td]Code[/td][td]Result[/td][/tr]
[tr][td][nation[size=100]]Unified Protectors[/[/size]nation][/td][td][nation]Unified Protectors[/nation][/td][/tr]
[tr][td][nation[size=100]=short]Unified Protectors[/[/size]nation][/td][td][nation=short]Unified Protectors[/nation][/td][/tr]
[tr][td][nation[size=100]=noflag]Unified Protectors[/[/size]nation][/td][td][nation=noflag]Unified Protectors[/nation][/td][/tr]
[tr][td][nation[size=100]=short+noflag]Unified Protectors[/[/size]nation][/td][td][nation=short+noflag]Unified Protectors[/nation][/td][/tr]
[tr][td][region[size=100]]The Eternal Knights[/[/size]region][/td][td][region]The Eternal Knights[/region][/td][/tr]
[/table][/box]

[anchor=Img][size=120][u][b]Images & URLs[/b][/u][/size][/anchor]

[box][table]
[tr][td]Code[/td][td]Result[/td][/tr]
[tr][td][img[size=100]]http://i.imgur.com/dKjk1qq.jpg[/[/size]img][/td][td][img]http://i.imgur.com/dKjk1qq.jpg[/img][/td][/tr]
[tr][td][url=[size=100]http://i.imgur.com/dKjk1qq.jpg]Link/Url[/url[/size]][/td][td][url=http://i.imgur.com/dKjk1qq.jpg]Link/Url[/url][/td][/tr]
[tr][td][url[size=100]=http://www.nationstates.net/page=dispatch/id=255472#Link]Links to part of dispatch[/[/size]url]

[anchor=[size=100]Link]Link Destination[/anchor[/size]]
[/td][td][url=http://www.nationstates.net/page=dispatch/id=255472#Link]Links to part of dispatch[/url]

[anchor=Link]Link Destination[/anchor][/td][/tr]
[/table][/box]

[anchor=List][size=120][u][b]Lists[/b][/u][/size][/anchor]

[b]Unordered List[/b]
[box]
[[size=100]list[/size]][[size=100]*[/size]]First Item
[[size=100]*[/size]]Second
[[size=100]*[/size]]Etc.
[[size=100]/list[/size]]

[list][*]First Item
[*]Second
[*]Etc.
[/list][/box]

[b]Numerical List[/b]
[box][list[size=100]=1[/size]][[size=100]*[/size]]First Item
[[size=100]*[/size]]Second
[[size=100]*[/size]]Etc.
[[size=100]/list[/size]]

[list=1][*]First Item
[*]Second
[*]Etc.
[/list][/box]

[b]Alphabetical List[/b]
[box][list[size=100]=a[/size]][[size=100]*[/size]]First Item
[[size=100]*[/size]]Second
[[size=100]*[/size]]Etc.
[[size=100]/list[/size]]

[list=a][*]First Item
[*]Second
[*]Etc.
[/list][/box]

[b]Alphabetical List(Capitalized)[/b]
[box][list[size=100]=A[/size]][[size=100]*[/size]]First Item
[[size=100]*[/size]]Second
[[size=100]*[/size]]Etc.
[[size=100]/list[/size]]

[list=A][*]First Item
[*]Second
[*]Etc.
[/list][/box]

[anchor=Table][size=120][u][b]Tables[/b][/u][/size][/anchor]

[b]Data Table[/b]
[box][[size=100]table[/size]]
[[size=100]tr[/size]][[size=100]td[/size]]Title (Column 1)[[size=100]/td[/size]][[size=100]td[/size]]Title (Column 2)[[size=100]/td[/size]][[size=100]/tr[/size]]
[[size=100]tr[/size]][[size=100]td[/size]]Cell Data[[size=100]/td[/size]][[size=100]td[/size]]More Data[[size=100]/td[/size]][[size=100]/tr[/size]]
[[size=100]tr[/size]][[size=100]td[/size]]Some Data Here[[size=100]/td[/size]][[size=100]td[/size]]And Here Too...[[size=100]/td[/size]][[size=100]/tr[/size]]
[[size=100]/table[/size]]

[table]
[tr][td]Title (Column 1)[/td][td]Title (Column 2)[/td][/tr]
[tr][td]Cell Data[/td][td]More Data[/td][/tr]
[tr][td]Some Data Here[/td][td]And Here Too...[/td][/tr]
[/table][/box]

[anchor=Pos][size=120][u][b]Positioning[/b][/u][/size][/anchor]

[b]Center[/b]
[box]
[center[size=100]]Center[/center[/size]]

[center]Center[/center][/box]

[b]Tab[/b]
[box][tab=[size=100]100]Creates Indent[/tab[/size]]

[tab=100]Creates Indent[/tab]

[tab=[size=100]200]Creates Larger Indent[/tab[/size]]

[tab=200]Creates Larger Indent[/tab][/box]

[b]Alignment[/b]

[box][align=right[size=100]]Moves Text Right[/align[/size]]
[align=right]Moves Text Right[/align]

[align=left[size=100]]Or Left[/align[/size]]
[align=left]Or Left[/align][/box]

[b]Floating[/b]

[box][[size=100]floatright]Like This![/floatright[/size]][[size=100]floatleft]This floats left, allowing text on right side[/floatleft[/size]]

[floatleft]This floats left, allowing text on right side.[/floatleft][floatright]Like This![/floatright]

[/box]

[anchor=Div][size=120][u][b]Dividers[/b][/u][/size][/anchor]

[b]Box[/b]
[box][box[size=100]]Makes the thing around this code![/box[/size]][/box]

[b]Horizontal Line[/b]
[box][h[size=100]r][/size]
[hr][/box]

[b]Backgrounds[/b]
[box][background=red[size=100]]Highlighted Text[/background[/size]]

[background=red]Highlighted Text[/background]

[background-block=red[size=100]]Highlighted Line[/background-block[/size]]

[background-block=red]Highlighted Line[/background-block][/box]

[anchor=Spoiler][size=120][u][b]Spoiler Buttons[/b][/u][/size][/anchor]

[b]Normal Buttons[/b]
[box]
[spoiler[size=100]]Hide me please.[/spoiler[/size]]

[spoiler]Hide me please.[/spoiler]
[/box]

[b]Labelled Buttons[/b]
[box]
[spoiler[size=100]=Your favourite label name goes here]Hide me again please.[/spoiler[/size]]

[spoiler=Your favourite label name goes here]Hide me again please.[/spoiler]
[/box]

[anchor=TagFun][size=120][u][b]Tag Functionality[/b][/u][/size][/anchor]

[b]Dispatches[/b]
[box][list][*]Bold 
[*]Italic
[*]Underline 
[*]Strike
[*]Colour
[*]Size
[*]Font
[*]Nations
[*]Regions
[*]Images
[*]Links
[*]Anchor
[*]List
[*]Table
[*]Center
[*]Tab
[*]Align
[*]Float
[*]Box[*]Horizontal Line
[*]Background
[*]Background Block
[*]Spoiler Buttons

[/list][/box]

[b]Regional Message Board Posts & Telegrams[/b]
[box][list][*]Bold 
[*]Italic
[*]Underline 
[*]Nations
[*]Regions
[*]Links (To Onsite Addresses)
[*]Spoiler Buttons
[/list][/box]

[b]World Factbook Entries[/b]
[box][list][*]Bold 
[*]Italic
[*]Underline 
[*]Colour
[*]Nations
[*]Regions
[*]Links
[*]List
[*]Spoiler Buttons
[/list][/box]

Unified protectors

Edited:

Report