Fb:explanation

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Renders a standard Facebook explanation message. The content contained within the <fb:explanation> tags is used as the explanation text.


[edit] Attributes

RequiredNameTypeDescription
required message string The heading text to display in the explanation box. Alternately, you can specify the heading text using an fb:message child.
optional decoration string Customize the appearance of the explanation by choosing from two styles:
  • no_padding - Removes the 20 pixels of padding that surrounds the explanation by default.
  • shorten - Removes the 20 pixels of padding from the bottom of the explanation.


[edit] Examples

<fb:explanation message="Explanation message" />
explanationah1.png


<fb:explanation> <fb:message>Explanation message</fb:message> This is the explanation message text. </fb:explanation>
fb_explanation_message.jpg


[edit] Notes

The explanation must contain at least one fb:message child or the message attribute as the heading text.