Skip to content

Commit efbc308

Browse files
authored
Merge pull request #1073 from nep/patch-2
Update type.md
2 parents 738099b + 128eb3c commit efbc308

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/add-ons/pro-variables/type.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@license https://expressionengine.com/license Licensed under Apache License, Version 2.0
88
-->
99

10-
# Variable types
10+
# Pro Variable Types
1111

1212

1313
Pro Variables comes with **over a dozen variable types**. Each type has its own specific settings. You can select which types are available by (de)selecting them in the [settings](/add-ons/pro-variables/settings.md).
@@ -257,10 +257,10 @@ The short name of the Image Manipulation you want to output. Alternatively, you
257257

258258
### Code examples
259259

260-
{exp:pro_variables:single var="lv_files_var" manipulation="squared"}
260+
{exp:pro_variables:single var="pv_files_var" manipulation="squared"}
261261

262-
{exp:pro_variables:pair var="lv_files_var"}
263-
<img src="{lv_files_var:squared}" alt="">
262+
{exp:pro_variables:pair var="pv_files_var"}
263+
<img src="{pv_files_var:squared}" alt="">
264264
{/exp:pro_variables:pair}
265265

266266
## Table
@@ -292,13 +292,13 @@ Limit the number of rows displayed.
292292

293293
### Code examples
294294

295-
{exp:pro_variables:pair var="lv_table_var"}
295+
{exp:pro_variables:pair var="pv_table_var"}
296296
{if count == 1}<ul>{/if}
297297
<li><a href="{cell_1}">{cell_2}</a></li>
298298
{if count == total_results}</ul>{/if}
299299
{/exp:pro_variables:pair}
300300

301-
{exp:pro_variables:pair var="lv_table_var" sort="random" limit="1"}
301+
{exp:pro_variables:pair var="pv_table_var" sort="random" limit="1"}
302302
Random link: <a href="{cell_1}">{cell_2}</a>
303303
{/exp:pro_variables:pair}
304304

@@ -343,6 +343,7 @@ If enabled, it will display the textarea as a monospaced, light-on-dark input fi
343343
If set to _Yes_, the field will be shown in full width.
344344

345345
### Parameters
346+
346347
When using the module tags to display a Textarea variable, you can use additional parameters to further customize the output:
347348

348349
#### `formatting`
@@ -359,10 +360,10 @@ If the variable content contains variables that need to be parsed before it is p
359360

360361
#### `preparse_prefix`
361362

362-
See above, change the default variable prefix from `preparse` to something else. For example, the parameters `preparse:foo="bar" preparse_prefix="lv"` will replace the variable `{lv:foo}` with `bar` inside the variable content.
363+
See above, change the default variable prefix from `preparse` to something else. For example, the parameters `preparse:foo="bar" preparse_prefix="pv"` will replace the variable `{pv:foo}` with `bar` inside the variable content.
363364

364365
### Code examples
365366

366367
{exp:pro_variables:single var="my_var" formatting="xhtml" html="all"}
367368

368-
{exp:pro_variables:single var="my_var" preparse:entry_id="12"}
369+
{exp:pro_variables:single var="my_var" preparse:entry_id="12"}

0 commit comments

Comments
 (0)