plugin:airtable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:airtable [2021-05-18 16:08] – airtable -> Airtable Sync. in title tag cameronward | plugin:airtable [2021-07-01 20:16] (current) – [Installation] cameronward | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : cameronward007@gmail.com | email : cameronward007@gmail.com | ||
type : syntax | type : syntax | ||
- | lastupdate : 2021-05-17 | + | lastupdate : 2021-07-01 |
compatible : Hogfather, 2020-07-29 | compatible : Hogfather, 2020-07-29 | ||
depends | depends | ||
Line 22: | Line 22: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
+ | :!: **Not for production use** - this plugin is in early development and is not intended for production use | ||
:!: **External requirements: | :!: **External requirements: | ||
* Create an airtable account and generate an [[https:// | * Create an airtable account and generate an [[https:// | ||
- | * See configuration section to setup BASE ID and API Keys | + | * Set BASE ID and API Keys using dokuwiki' |
Install the plugin using the [[plugin: | Install the plugin using the [[plugin: | ||
Line 31: | Line 33: | ||
===== Examples/ | ===== Examples/ | ||
- | < | + | Full usage and examples |
- | + | ||
- | This would display a small image from the specified table where the reference id for the field = 19. It would also set | + | |
- | the images alt tag to " | + | |
- | + | ||
- | ===== Syntax ===== | + | |
- | + | ||
- | Use the following syntax on any dokuwiki page. (Currently only image sync is working) | + | |
- | Required Parameters: | + | |
- | + | ||
- | < | + | |
- | * **type** | + | |
- | * // | + | |
- | * //table// --- query a table | + | |
- | * //text// --- query text | + | |
- | * **table** --- The table you wish to pull data from. | + | |
- | * You can find the table id by visiting your base and copying it from the url. | + | |
- | * E.g. https:// | + | |
- | * **where** --- [[https://support.airtable.com/hc/en-us/ | + | |
- | + | ||
- | ==== Images ==== | + | |
- | <airtable>type: image, table: TABLE_NAME, where: QUERY_PARAM</ | + | |
- | + | ||
- | Optional Parameters: | + | |
- | + | ||
- | * **image-size** --- The size of the image to appear on the page. Can be one of these: | + | |
- | * //small// | + | |
- | * //large// --- (default) | + | |
- | * // | + | |
- | * **alt-tag**: | + | |
- | + | ||
- | ===Example: | + | |
- | < | + | |
- | + | ||
- | This would display a small image from the specified table where the reference id for the field = 19. It would also set the images alt tag to: " | + | |
===== Development ===== | ===== Development ===== |
plugin/airtable.1621346937.txt.gz · Last modified: 2021-05-18 16:08 by cameronward