View Tutorial Metadata Edit Content Revision History Add to Watchlist Add New Tutorial Tutorialpedia Quote Function

`quote() Function

Pre-requisites

The Quoting functionality is part of the Tutorialpedia Syntax, helping you edit tutorials: How to understand the Tutorialpedia Syntax

Example 1

Using an inline quote:

Socrates said: `quote(content:'To be is to do')

This will display:

Socrates said: To be is to do

Example 2

It's also possible to include a sub-block in the quote, as in the following example:

`quote()
    The three fundamental Rules of Robotics....One, a robot may not injure a
human being, or, through inaction, allow a human being to come to harm....
    Two...a robot must obey the orders given it by human beings except where
such orders would conflict with the First Law...
    three, a robot must protect its own existence as long as such protection
does not conflict with the First or Second Laws.

This will display:

The three fundamental Rules of Robotics....One, a robot may not injure a human being, or, through inaction, allow a human being to come to harm....

Two...a robot must obey the orders given it by human beings except where such orders would conflict with the First Law...

three, a robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.

Parameters

cite (optional)

Specify an URL to which this quotation is atribuited

content (optional)

Specifies the actual quote. If absent, the sub-block of the quote function will be used.

Only plain text supported.

Optional

Required - will be kept private

Optional

 
 

Rating: (0+, 0-) In: Tutorialpedia