Template:GR Page header and text: Difference between revisions

No edit summary
No edit summary
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<u>Example 1</u>
<u>Example 1</u>
  <nowiki>
  <nowiki>
Line 13: Line 12:
   Location=Ohio|
   Location=Ohio|
   Vital type=birth|
   Vital type=birth|
   Page type=Guided Research|  <!-- Current options Guided Research and Can't Find-->
   Page type=Can't find|  <!-- Current options Guided Research and Can't Find-->
   Page title=This is a different title|
   Page title=This is a different title|
   Page text=This is different text|
   Page text=This is different text|
Line 20: Line 19:
</noinclude>
</noinclude>
__NOEDITSECTION__
__NOEDITSECTION__
{{GR button main}}
{{#switch: {{lc:{{{Page type|}}} }} |
{{#switch: {{lc:{{{Page type|}}} }} |
guided research={{#if: {{{Page title|}}}|<h1 id="firstHeading" class="firstHeading" lang="en">{{{Page title|}}}</h1>|
guided research={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}|}} |
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} Guided Research</h1>
{{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><br>
   <p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br>
  <p style="font-size:20px">'''Which type of information are you looking for?'''</p><br>
   |<nowiki></nowiki>}}
   |<nowiki></nowiki>}}
|
|
cant find=
guidedresearch={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}| }} |
{{{Location|}}} Births - Why can't I find the record?
{{New page title|New title={{{Location|}}} Guided Research|}}
  {{#if: {{{Page title|}}}|<h1 id="firstHeading" class="firstHeading" lang="en">{{{Page title|}}}</h1>|
  |<nowiki></nowiki>}}
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} {{{Vital type}}} - Why can't I find the record?</h1>
  {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>|
  <p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br>
  |<nowiki></nowiki>}}
|
can't find=
{{{Location|}}} Births - Why can't I find a record?
{{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}| }} |
{{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 39: Line 45:
|<nowiki></nowiki>}}  <!-- end switch statement -->
|<nowiki></nowiki>}}  <!-- end switch statement -->


 
<noinclude>[[Category:templates|Guided Research]][[Category:Guided Research]][[Category:Guided Research Templates]]</noinclude>
[[Category:templates|{{PAGENAME}}]]

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|
}}