Change font size
It is currently Tue Oct 17, 2017 12:06 pm


Post a new topicPost a reply Page 2 of 2   [ 20 posts ]
Go to page Previous  1, 2
Author Message
 Post subject: Youtube
PostPosted: Tue Nov 11, 2008 2:32 pm 
Motor Mouth

Joined: Mon Mar 03, 2008 9:44 am
Posts: 3871
Location: Kenilworth
Real Name: Beardy Pete
Youtube

Purpose: allows users to embed Youtube videos into their posts - note that forum posting guidelines also apply to third party content so be careful what you post.

Usage:
Code:
[youtube]Gaid72fqzNE[/youtube]



The Youtube id that you need to post videos can be obtained from the Youtube URL, e.g. www.youtube.com/watch?v=Gaid72fqzNE

_________________
This signature intentionally left blank.


Top
 Profile  
Reply with quote  
 Post subject: Tables
PostPosted: Wed Mar 25, 2009 9:11 am 
Motor Mouth

Joined: Mon Mar 03, 2008 9:44 am
Posts: 3871
Location: Kenilworth
Real Name: Beardy Pete
Tables 2.0

The BBCode for posting tables has been radically simplified. The new method uses a handful of codes to construct tables.

Begin with the ttable tag to create the table.
The tth tag will create a header row to match the style of the forum.
The ttr and ttd tages are used to build the rows and cells.

Example:
Code:
[ttable]
[tth=2]Table Header, spanning both columns[/tth]
[ttr][ttd=1]Cell One[/ttd][ttd=1]Cell Two[/ttd][/ttr]
[ttr][ttd=2]Cell Three, spanning both columns[/ttd][/ttr]
[/ttable]




Table Header, spanning both columns
Cell OneCell Two
Cell Three, spanning both columns


Note
The ttd tag must always be used as ttd=1 unless you want to span more than one column.


The obsolete method has been preserved to maintain existing tables and can still be used, but we would recommend the above approach.

Obsolete Method :
"Corners" BBCode - this creates the placeholder for the table. {TEXT1} is used to specify a class or classes for the table, {TEXT2} is the placeholder for the rest of the table.

BBCode:
Code:
[corners={TEXT1}]{TEXT2}[/corners]


Replaced with this HTML:
Code:
<div class="{TEXT1}">
    <div class="inner">
        <span class="corners-top"><span></span></span>
        {TEXT2}
        <span class="corners-bottom"><span></span></span>
    </div>
</div>   


Now create the table. {TEXT1} is another placeholder for class or classes. {TEXT2} allows us to continue nesting tags.

BBCode:
Code:
[table={TEXT1}]{TEXT2}[/table]


Replaced with this HTML:
Code:
<table class="{TEXT1}" cellspacing="1" width="100%">
{TEXT2}
</table> 


We need some rows. {TEXT1} is for use to specify classes, {TEXT2} allows us to continue nesting tags.

BBCode:
Code:
[tr={TEXT1}]{TEXT2}[/tr]


Replaced with this HTML:
Code:
<tr class="{TEXT1}">
{TEXT2}
</tr>   


{NUMBER} MUST be specified. {TEXT1} (class) is optional, the comma following the NUMBER is *required*. This creates table cells.

BBcode:
Code:
[td={NUMBER},{TEXT1}]{TEXT2}[/td]


Replaced with this HTML:
Code:
<td class="{TEXT1}" colspan="{NUMBER}">{TEXT2}</td>   


Number MUST be specified. This creates a table header row if required.

BBCode:
Code:
[th={NUMBER}]{TEXT}[/th]


Replaced with this HTML:
Code:
<th colspan="{NUMBER}">{TEXT}</th>


This is for use with THEAD to create cells.

BBCode:
Code:
[thead]{TEXT}[/thead]


Replaced with this HTML:
Code:
<thead>{TEXT}</thead> 


Create a tbody tag.

BBCode:
Code:
[tbody]{TEXT}[/tbody]


Replaced with this HTML:
Code:
<tbody>{TEXT}</tbody> 


Example:
Code:
[corners=forumbg forumbg-table][table=tablebg table1][thead][tr=][th=2]This is a header[/th][/tr][/thead][tbody][tr=bg1][td=1,]This is the left cell[/td][td=1,]This is the right cell[/td][/tr][tr=bg2][td=1,]This is another row[/td][td=1,]This is the second cell[/td][/tr][/tbody][/table][/corners]


This is a header
This is the left cellThis is the right cell
This is another rowThis is the second cell


note
In all tags with a {TEXT1} placeholder for CSS classes must be used as "tagname=" if you are not specifying a class.

_________________
This signature intentionally left blank.


Top
 Profile  
Reply with quote  
 Post subject: DCI
PostPosted: Wed Mar 25, 2009 12:49 pm 
Motor Mouth

Joined: Mon Mar 03, 2008 9:44 am
Posts: 3871
Location: Kenilworth
Real Name: Beardy Pete
Purpose: To create an automatic link to the DCI lookup results for your DCI number, maybe to show off your Rating and Ranking, you can now use the DCI tag.

Usage:
Code:
[dci]9212445219[/dci]


9212445219 (click to see ratings)

_________________
This signature intentionally left blank.


Top
 Profile  
Reply with quote  
 Post subject: ShowHide
PostPosted: Mon Jun 28, 2010 2:07 pm 
Motor Mouth

Joined: Mon Mar 03, 2008 9:44 am
Posts: 3871
Location: Kenilworth
Real Name: Beardy Pete
ShowHide

Purpose: to enable users to post hidden text that can be read by clicking a button, suitable for posting large, optional blocks of text that aren't necessarily spoilers.

Example:
Code:
[showhide=Box Title]Box contents[/showhide]

Box Title :
Box contents

_________________
This signature intentionally left blank.


Top
 Profile  
Reply with quote  
 Post subject: EXCEL
PostPosted: Fri Jun 10, 2011 1:10 pm 
Motor Mouth
User avatar

Joined: Sun Apr 20, 2008 2:00 am
Posts: 3720
Location: Singapore
Medals: 1
Dungeonbowl Champion (1)
Real Name: Lee
Purpose: To embed any Google Document in a forum post.

Usage:
    You will need to Publish the Document as a Webpage (From the share menu).
    Then insert the KEY and the GID variables into the tags
      http:// spreadsheets.google.com/spreadsheet/pub?hl=en_GB&hl=en_GB&key=0AkIrbn0agGu-dDhEY3VZM0d2UFBsYnc3UnNmWWc2NHc&single=true&gid=6&output=html

    You will need to input the width and height of the iFrame in pixels as the first two variables (Seperated by comma's) in order to get the frame to fit around your table correctly. If your Frame is too small then it will have scroll bars.

Code:
[GoogleDoc=[gid]][Width in Pixels],[Height in Pixels],[Google Document Key][/GoogleDoc]


Code:
[googledoc=6]280,650,0AkIrbn0agGu-dDhEY3VZM0d2UFBsYnc3UnNmWWc2NHc[/googledoc]



_________________
Use a MediaCenter? Use Trakt.
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 2 of 2   [ 20 posts ]
Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net