Skip to content

Commit e276671

Browse files
authored
Update custom_field.md
Examples still to check and expand.
1 parent d4892cc commit e276671

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

tags/custom_field.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,13 @@ tags:
2323

2424
The **custom_field** tag is a *single* tag and used to display the contents of a custom field.
2525

26-
Custom fields are useful when you need to output content having a consistent structure, usually in context to a particular type of article. Custom fields are defined in the [Preferences panel](/administration/preferences-panel), and used in the [Write panel](/administration/write-panel). There are conditions to be aware of in each case, so be sure to read the following sections, respectively:
27-
28-
1. [Defining custom fields](/administration/preferences-panel#custom-fields-preferences)
29-
2. @@Adding custom field data@@
26+
Custom fields are useful when you need to output content having a consistent structure, usually in context to a particular type of article. Custom fields are defined in the Preferences panel, and used in the Write panel. There are conditions to be aware of in each case, so be sure to read the [Defining custom fields](/build/content-types#defining-custom-fields) information.
3027

3128
Also see the [if_custom_field](/tags/if_custom_field) conditional tag, which provides more flexibility and power using custom fields.
3229

3330
## Attributes
3431

35-
Tag will accept the following attributes (**case-sensitive**):
36-
37-
`default="value"`
38-
: Default value to use when field is empty.
39-
40-
`escape="html"`
41-
: Escape [HTML entities](https://developer.mozilla.org/en-US/docs/Glossary/Entity) such as `<`, `>` and `&` prior to echoing the field contents.
42-
: **Values:** See the [tag escaping](/tags/learning/#tag-escaping) documentation for all possible values.
43-
: **Default:** `html`.
32+
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
4433

4534
`name="fieldname"`
4635
: Display specified custom field.

0 commit comments

Comments
 (0)