Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Betty documentation
Logo
Betty documentation
  • Installation
  • Usage
    • Ancestry
      • Citation
      • Dates
      • Enclosure
      • Event
      • Event Type
      • File
      • File reference
      • Gender
      • Link
      • Media Type
      • Name
      • Note
      • Person
      • Person Name
      • Place
      • Place Type
      • Presence
      • Presence Role
      • Privacy
      • Source
      • Static translations
    • Asset Management
    • The command line
    • Application configuration
    • Copyright notices
    • Environment variables
    • Extensions
      • The Cotton Candy extension
      • The Deriver extension
      • The Gramps extension
      • The HTTP API Documentation extension
      • The Maps extension
      • The Privatizer extension
      • The Raspberry Mint extension
      • The Trees extension
      • The Wikipedia extension
    • GEDCOM
    • Licenses
    • Projects
      • Project configuration
    • Templating
      • Filters
      • Globals
      • Tests
    • Translations
    • Generating URLs
  • Development
    • Developing Betty itself
      • Helpful commands
      • Installing a development environment
      • Localization
      • Testing Betty’s source code
    • Event dispatching
    • Plugins
      • CLI command plugins
      • Copyright notice plugins
      • Entity type plugins
      • Event type plugins
      • Extension plugins
      • Gender plugins
      • License plugins
      • Place type plugins
      • Presence role plugins
      • Renderer plugins
      • Serialization format plugins
    • Testing your source code
  • API Documentation
  • Glossary
  • About
    • Contributing to Betty
      • Code of Conduct
    • Copyright & license
    • Sponsors
    • Versions
Back to top
View this page

Link¶

A betty.ancestry.link.Link adds external links to entities.

Fields¶

Notes inherit from:

  • Privacy

description (optional Static translations)

The event’s human-readable description.

locale (optional str)

The locale of the referenced resource as an IETF BCP 47 language tag.

label (optional Static translations)

The link’s human-readable label, e.g. the link text.

media_type (MediaType)

The media type of the referenced resource.

relationship (optional str)

The relationship between this resource this link is set on and the link target.

url (url)

The URL to the referenced resource.

Next
Media Type
Previous
Gender
Copyright © Bart Feenstra and contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • Link
    • Fields