Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
how_to:understanding_expressions [2017/09/26 14:49] tatewise [Override Templates] |
how_to:understanding_expressions [2019/01/15 00:00] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Understanding Expressions ====== | ====== Understanding Expressions ====== | ||
+ | |||
+ | {{entry>Customisation/Understanding Expressions;See Index for related topics.}} | ||
+ | {{entry>Expressions/Understanding Customisation;-*}} | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 6: | Line 9: | ||
* **[[:Glossary:Queries]]** to specify Columns, Row filters, and Titles | * **[[:Glossary:Queries]]** to specify Columns, Row filters, and Titles | ||
* **Diagram Text Schemes** to define the content of Diagram Boxes | * **Diagram Text Schemes** to define the content of Diagram Boxes | ||
- | * [[.Using Flags and Icons and Expressions|Diagram > Options > Boxes > Conditions]] to define box style since **ƒ<color #808000>h</color>** V4 | + | * [[Using Flags and Icons and Expressions|Diagram > Options > Boxes > Conditions]] to define box style since {{fh}} V4 |
* [[.Report Options:Main Contents|Reports]] to define Data items in certain Report Sections | * [[.Report Options:Main Contents|Reports]] to define Data items in certain Report Sections | ||
- | * [[.Customising Record Window Columns]] or **Named List** Columns | + | * [[Customising Record Window Columns]] or **Named List** Columns |
* **Captions** and **Custom Fields** in Property Boxes | * **Captions** and **Custom Fields** in Property Boxes | ||
- | * **Sentence Templates** for **Narrative Reports** since **ƒ<color #808000>h</color>** V6 | + | * [[Narrative Report Fact Sentence Templates]] since {{fh}} V6 |
- | * **Override Templates** for **Fact** displays since **ƒ<color #808000>h</color>** V6 | + | * **Override Templates** for **Fact** displays since {{fh}} V6 |
See the **Family Historian Help > Using Family Historian > Advanced Topics > Expressions and Contexts of Use**. | See the **Family Historian Help > Using Family Historian > Advanced Topics > Expressions and Contexts of Use**. | ||
Line 52: | Line 55: | ||
| =TextPart( %INDI.BIRT.PLAC%, 3, 1, STD ) | Gives 3<sup>rd</sup> comma separated part of **Birth Place** | | | =TextPart( %INDI.BIRT.PLAC%, 3, 1, STD ) | Gives 3<sup>rd</sup> comma separated part of **Birth Place** | | ||
| =TextPart( %INDI.DEAT.ADDR%, 2, 0, TIDY ) | Gives 2<sup>nd</sup> and subsequent tidied parts of **Death Address** | | | =TextPart( %INDI.DEAT.ADDR%, 2, 0, TIDY ) | Gives 2<sup>nd</sup> and subsequent tidied parts of **Death Address** | | ||
+ | | =IsTrue( %INDI.RELI% = "Roman Catholic" ) | True if **Religion** attribute value is **Roman Catholic** | | ||
| =IsTrue( ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) >= 1 ) and ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) %%<=%% 5 ) ) | True if died aged between 1 and 5 years (needs a Birth & Death Date) | | | =IsTrue( ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) >= 1 ) and ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) %%<=%% 5 ) ) | True if died aged between 1 and 5 years (needs a Birth & Death Date) | | ||
| =IsTrue( AgeAt( %INDI%, EstimatedDeathDate( %INDI%, MID, 2 ) ) < 21 ) | True if died aged less than 21 years (needs a Birth & Death, Burial, or Cremation Date) | | | =IsTrue( AgeAt( %INDI%, EstimatedDeathDate( %INDI%, MID, 2 ) ) < 21 ) | True if died aged less than 21 years (needs a Birth & Death, Burial, or Cremation Date) | | ||
Line 125: | Line 129: | ||
| {=TextIf( Exists(%FACT.SOUR>%),"*","-" )}{=TextIf( Exists(%FACT.SOUR.OBJE>%),"+"," -" )} {abbr} {value} {place} | **Citation** & **Media** in **Facts** tab | | | {=TextIf( Exists(%FACT.SOUR>%),"*","-" )}{=TextIf( Exists(%FACT.SOUR.OBJE>%),"+"," -" )} {abbr} {value} {place} | **Citation** & **Media** in **Facts** tab | | ||
| | | | | | | | ||
- | **ƒ<color #808000>h</color>** **V6.1** can show a **Media** icon in the **Facts** tab **More** column if any **Media** are attached to the **Fact**, its **Citations**, or its **Sources**. | + | {{fh}} **V6.1** can show a **Media** icon in the **Facts** tab **More** column if any **Media** are attached to the **Fact**, its **Citations**, or its **Sources**. |
Related Forum postings: | Related Forum postings: |