2019-06-24 15:45:02 +02:00
|
|
|
---
|
|
|
|
title: pageCaption
|
|
|
|
description: Page caption
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: pageCaption
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Page caption
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|text|[RichText](../types/RichText.md) | Yes|Caption|
|
|
|
|
|credit|[RichText](../types/RichText.md) | Yes|Credits|
|
2019-06-24 15:45:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [PageCaption](../types/PageCaption.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$pageCaption = ['_' => 'pageCaption', 'text' => RichText, 'credit' => RichText];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
pageCaption={_='pageCaption', text=RichText, credit=RichText}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|