Experimental forum for "Technology" discussions (computers, cameras, etc).

Re: Learn to Program: BBCode

Postby Craig Muhonen » Sun Sep 12, 2021 8:52 am

As far as your golf game goes Bob, "Find the bottom of your swing, and then just let the ball get in the way of your swing"
"grow brave by reflection". And invincible with written words.
Craig Muhonen
User avatar
Contributor
Contributor
 
Posts: 389
Joined: Tue Nov 05, 2019 9:58 pm
Location: The Canyons of the Ancients

Re: Learn to Program: BBCode

Postby Bob Kuczewski » Sun Sep 19, 2021 8:34 am

OK, here's what we've covered so far:





FeatureExampleOpening tagClosing tagResult
Bold[b]Cape Kiwanda[/b][b][/b]Cape Kiwanda
Italic[i]Oregon[/i][i][/i]Oregon
Underline[u]1978[/u][u][/u]1978
Color[color=#FF0000]Glider[/color][color=#FF0000][/color]Glider


The next tag is one that's used automatically when you click the "Quote" button to reply to someone's post. It's called the "quote tag" and it looks something like this:

[quote="PersonsName"]Whatever they said[/quote]


Just like all other tags, the "quote" tag comes in pairs just like two bookends. There's an opening tag (on the left) and a closing tag (on the right). And just like all other tags, the closing tag starts with a "slash" ( [/quote]). The opening "quote" tag also takes an optional parameter which is the name of the person being quoted. The result looks like this:

PersonsName wrote:Whatever they said

You can see that the name is included as part of the quote block as "PersonsName wrote". That format can differ with different forum themes, but it will always show the name that you included. You can also make a quote block without a name. For example:

[quote]I invented the wheel![/quote]


That will look like this:

I invented the wheel!


You can see that there's no name in the quote because we don't know who wrote it.

One of the common reasons for using the quote tag manually is to break up a long quote and respond to each part separately. For example, here's a famous quote:

Declaration wrote:We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.


That could be manually broken into several separate quotes:

Declaration wrote:We hold these truths to be self-evident ...

Declaration wrote:... that all men are created equal ...

Declaration wrote:... that they are endowed by their Creator with certain unalienable Rights ...

Declaration wrote:... that among these are Life, Liberty and the pursuit of Happiness.


The important thing to remember about the quote tag is that the person's name must be in quotes (shown in red here):

[quote="PersonsName"]Whatever they said[/quote]


Exercise 3:

Post a famous quote to this topic and include the name of the person who said it (or wrote it) in the quote tag. Also post a second famous quote to this topic without any name in the quote tag.
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 7045
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Re: Learn to Program: BBCode

Postby Bob Kuczewski » Sun Sep 19, 2021 11:57 am

Here's my solution to Exercise 3:

Here's a quote where I know the name. This was posted to the U.S. Hawks forum by Rick Masters on March 21st, 2015. Here's the link:

      https://ushawks.org/forum/viewtopic.php?f=2&t=1787&p=10842#p10842

Here's the quote:

Rick Masters wrote:People talk about the sport of hang gliding dying. It's not dying. It's being murdered. By the U$hPA.


Here's a quote where I don't know the name:

It is better to be on the ground wishing you were in the air ...
        ... than to be in the air wishing you were on the ground.
Join a National Hang Gliding Organization: US Hawks at ushawks.org
View my rating at: US Hang Gliding Rating System
Bob Kuczewski
User avatar
Contributor
Contributor
 
Posts: 7045
Joined: Fri Aug 13, 2010 2:40 pm
Location: San Diego, CA

Previous
Forum Statistics

Who is online

Users browsing this forum: No registered users and 1 guest

Options

Return to Technology Forum

cron