Recommend
3 
 Thumb up
 Hide
4 Posts

BoardGameGeek» Forums » BoardGameGeek Related » BGG Help and How-To

Subject: The code tag rss

Your Tags: Add tags
Popular Tags: [View All]
Tom P
United Kingdom
flag msg tools
Do not shed tears over throws of the past, roll again!
badge
Click here for free games.
Avatar
mbmbmb
How does the code tag work, and what can you do with it?

I've never seen it used other than making a table. Are there other uses?
3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Virre Linwendil Annergård
Sweden
Stockholm
flag msg tools
Forza Bajen!
badge
... and still sober
Avatar
mbmbmbmbmb
you can you know, paste acctualy code , it is usefull for example when disusing the XMLAPI

See threads BoardGameGeek XML API and How to use the XMLAPI of BGG for examples of it beeing used
3 
 Thumb up
1.00
 tip
 Hide
  • [+] Dice rolls
John Earles
Canada
Toronto
Ontario
flag msg tools
badge
Avatar
mbmbmbmbmb
crazylegs wrote:
How does the code tag work, and what can you do with it?

I've never seen it used other than making a table. Are there other uses?


The code tag does two primary things:

1) Uses a monospaced font
2) Retains whitespace

--

With Code
a b c d

Without Code
a b c d

--

Historically this tag is used to show blocks of programming code in posts, hence the tag name. Here there is less reason to post code, but the attribute still make it useful for laying out tables and text in patterns. It is used in text-only Play-By-Forum games.
5 
 Thumb up
1.00
 tip
 Hide
  • [+] Dice rolls
United Kingdom
Great Barford, Bedford
Bedfordshire
flag msg tools
badge
This site needs a forum where we can put the faux offended so we can ignore them.
Avatar
mbmbmbmbmb
Ascii art...

With code tag:

,
|'. ,
| '-._ / )
.' .._ ', /_'-,
' / _'.'_\ /._)')
: / '_' '_' / _.'
|E | |Q| |Q| / /
.' _\ '-' '-' /
.'--.(S ,__` ) /
'-. _.' /
__.--'----( /
_.-' : __\ /
( __.' :' :Y
'. '._, : :|
'. ) :.__:|
\ \______/
'._L/_H____]
/_ /
/ '-.__.-')
: / /
: / /
,/_____/----;
'._____)----'
/ / /
/ / /
.' / \
snd (______(-.____)


Without code tag

,
|'. ,
| '-._ / )
.' .._ ', /_'-,
' / _'.'_\ /._)')
: / '_' '_' / _.'
|E | |Q| |Q| / /
.' _\ '-' '-' /
.'--.(S ,__` ) /
'-. _.' /
__.--'----( /
_.-' : __\ /
( __.' :' :Y
'. '._, : :|
'. ) :.__:|
\ \______/
'._L/_H____]
/_ /
/ '-.__.-')
: / /
: / /
,/_____/----;
'._____)----'
/ / /
/ / /
.' / \
snd (______(-.____)
8 
 Thumb up
1.00
 tip
 Hide
  • [+] Dice rolls
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.