Template:GR Page header and text: Difference between revisions
(updated to call Template:New page title, instead of creating the page title in this template.) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
{{GR button main}} | {{GR button main}} | ||
{{#switch: {{lc:{{{Page type|}}} }} | | {{#switch: {{lc:{{{Page type|}}} }} | | ||
guided research={{#if: {{{Page title|}}}| {{New page title|{{{Page title|}}} }} | | guided research={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}|}} | | ||
{{New page title|{{{Location|}}} Guided Research}} | {{New page title|New title={{{Location|}}} Guided Research|}} | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
{{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | ||
<p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br> | <p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br> | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
| | | | ||
guidedresearch={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}| }} | | |||
{{New page title|{{{Location|}}} Guided Research}} | {{New page title|New title={{{Location|}}} Guided Research|}} | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
{{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | ||
<p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br> | <p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br> | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
| | | | ||
can't find= | can't find= | ||
{{{Location|}}} Births - Why can't I find a record? | {{{Location|}}} Births - Why can't I find a record? | ||
{{#if: {{{Page title|}}}| {{New page title|{{{Page title|}}} }} | | {{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}| }} | | ||
{{New page title|{{{Location|}}} {{{Vital type}}} - Why can't I find a record?}} | {{New page title|New title={{{Location|}}} {{{Vital type|}}} - Why can't I find a record?|}} | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
{{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>| | ||
Line 47: | Line 45: | ||
|<nowiki></nowiki>}} <!-- end switch statement --> | |<nowiki></nowiki>}} <!-- end switch statement --> | ||
<noinclude>[[Category:templates|Guided Research]][[Category:Guided Research]]</noinclude> | <noinclude>[[Category:templates|Guided Research]][[Category:Guided Research]][[Category:Guided Research Templates]]</noinclude> |
Latest revision as of 17:03, 24 June 2021
Example 1
{{GR Page header and text| Location=Ohio| Page type=Guided Research| <!-- Current options Guided Research and Can't Find--> }}
Example 2
{{GR Page header and text| Location=Ohio| Vital type=birth| Page type=Can't find| <!-- Current options Guided Research and Can't Find--> Page title=This is a different title| Page text=This is different text| }}