Quote: Difference between revisions From Online Manual

Jump to: navigation, search
mNo edit summary
(Fix up some colors, add live example of linked quote)
Line 6: Line 6:


The author property specifies an author of the quote. If the name contains complex characters please use quotes.
The author property specifies an author of the quote. If the name contains complex characters please use quotes.
[quote author="SMF Doc Team"]blocks, text or more BB Code[/quote]  <div style="color:#334466;font-size:x-small;font-weight:bold;padding:0 0.3em;margin-top:1.2em">Quote From: SMF Doc Team</div><blockquote style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA; border-top: 2px solid #9999AA;line-height:.5em;margin: 0.1em 0 0.3em; overflow: auto;padding: .1em 1.4em 1.7em 1.4em;font-size:x-small;text-indent:-1.3em">[[File:Quote.png|none|sup|alt=]]blocks, text or more BB Code</blockquote>
[quote author="SMF Doc Team"]blocks, text or more BB Code[/quote]  <div style="color:#666;font-size:x-small;font-weight:bold;padding:0 0.3em;margin-top:1.2em">Quote From: SMF Doc Team</div><blockquote style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA; border-top: 2px solid #9999AA;line-height:.5em;margin: 0.1em 0 0.3em; overflow: auto;padding: .1em 1.4em 1.7em 1.4em;font-size:x-small;text-indent:-1.3em">[[File:Quote.png|none|sup|alt=]]blocks, text or more BB Code</blockquote>


You can also specify a link to the quote and a time. All three are required, you cannot have only a time for example. The link property can only specify internal forum links. The date property is in the format of a [[Unix timestamp|unix timestamp]].
You can also specify a link to the quote and a time. All three are required, you cannot have only a time for example. The link property can only specify internal forum links. The date property is in the format of a [[Unix timestamp|unix timestamp]].


<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code[/quote]</nowiki>  
<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code[/quote]</nowiki>
<div style="color:334466;font-size:x-small;font-weight:bold;padding:0 0.3em;margin-top:1.2em">[http://simplemachines.org/community/index.php?topic=570.0 Quote From: SMF Doc Team on  February 28, 2006,  12:41:19 am]</div><blockquote style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA; border-top: 2px solid #9999AA;line-height:.5em;margin: 0.1em 0 0.3em; overflow: auto;padding: .1em 1.4em 1.7em 1.4em;font-size:x-small;text-indent:-1.3em">[[File:Quote.png|none|sup|alt=]]blocks, text or more BB Code</blockquote><br />


In the above example it would link to the topic with the id of 570, by the user SMF Doc Team and have a timestamp of 1141105279 which would convert to February 28, 2006,  12:41:19 am (depending on the user's default time settings).  
In the above example it would link to the topic with the id of 570, by the user SMF Doc Team and have a timestamp of 1141105279 which would convert to February 28, 2006,  12:41:19 am (depending on the user's default time settings).  


|result=<div style="color:#334466;font-size:x-small;font-weight:bold;padding:0 0.3em;">Quote</div><blockquote style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA; border-top: 2px solid #9999AA;line-height:.5em;margin: 0.1em 0 0.3em; overflow: auto;padding: .1em 1.4em 1.7em 1.4em;font-size:x-small;text-indent:-1.3em">[[File:Quote.png|none|sup|alt=]]blocks, text or more BB Code</blockquote>
|result=<div style="color:#666;font-size:x-small;font-weight:bold;padding:0 0.3em;">Quote</div><blockquote style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA; border-top: 2px solid #9999AA;line-height:.5em;margin: 0.1em 0 0.3em; overflow: auto;padding: .1em 1.4em 1.7em 1.4em;font-size:x-small;text-indent:-1.3em">[[File:Quote.png|none|sup|alt=]]blocks, text or more BB Code</blockquote>
}}
}}



Revision as of 12:39, 26 June 2013

button: Quote.gif

description: The quote tag formats text as a quote. If you use the quote button, then it will be formatted for you. This is a block level tag.

The author property specifies an author of the quote. If the name contains complex characters please use quotes.

[quote author="SMF Doc Team"]blocks, text or more BB Code[/quote]

Quote From: SMF Doc Team

blocks, text or more BB Code

You can also specify a link to the quote and a time. All three are required, you cannot have only a time for example. The link property can only specify internal forum links. The date property is in the format of a unix timestamp.

[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code[/quote]

blocks, text or more BB Code


In the above example it would link to the topic with the id of 570, by the user SMF Doc Team and have a timestamp of 1141105279 which would convert to February 28, 2006, 12:41:19 am (depending on the user's default time settings).

example: [quote]blocks, text or more BB Code[/quote]

result:

Quote

blocks, text or more BB Code



Advertisement: