Difference between revisions of "Quote"

From Online Manual

Jump to: navigation, search
Line 2: Line 2:
 
|button=quote.gif
 
|button=quote.gif
 
|tag=quote
 
|tag=quote
|example=[quote]blocks, text or more BB Code[/quote]
+
|example=[quote author=SMF Doc Team]blocks, text or more BB Code[/quote]
 
|description=The <tt>quote</tt> 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.
 
|description=The <tt>quote</tt> 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 and author of the quote. If the name contains complex characters please use quotes.
 
The author property specifies and author of the quote. If the name contains complex characters please use quotes.
&#91;quote author=&quot;SMF Doc Team&quot;&#93;blocks, text or more BB Code&#91;/quote&#93; <div class="quoteheader">: SMF Doc Team</div><blockquote>blocks, text or more BB Code</blockquote>
+
[quote author="SMF Doc Team"]blocks, text or more BB Code[/quote] <div class="quoteheader">: SMF Doc Team</div><blockquote>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]].<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code&#91;/quote&#93;</nowiki>  http://docs.simplemachines.org/index.php??topic=570 "SMF Doc Team"  1141105279<blockquote>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]].
  
|result=<div class="quoteheader"></div><blockquote>blocks, text or more BB Code</blockquote>
+
<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code[/quote]</nowiki>
 +
 
 +
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 users default time settings]
 +
 
 +
|result=<div style="color:#334466;;font-size:x-small;font-weight:bold;padding:0 0.3em;">Quote from: SMF Doc Team</div><div style="background-color: #D7DAEC; border-bottom: 2px solid #9999AA;
 +
    border-top: 2px solid #9999AA; line-height: 1.4em; margin: 0.1em 0 0.3em; overflow: auto;padding: 1.1em 1.4em;">blocks, text or more BB Code</div>
 
}}
 
}}
  
Line 16: Line 21:
 
[[Category:Bulletin_Board_Code]]
 
[[Category:Bulletin_Board_Code]]
 
[[Category:Basic Bulletin Board Code]]
 
[[Category:Basic Bulletin Board Code]]
 
{{Needs work|Hard to describe. wiki skin does not match forum theme for block quote.}}
 

Revision as of 08:34, 25 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 and 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]

: 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]

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 users default time settings]

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

result:

Quote from: SMF Doc Team
blocks, text or more BB Code