Template:GR Page header and text: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
 
(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
{{#if: {{lc:Page title style:"generic"}}|
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} Guided Research</h1>
|{{#if: {{{Page title}}}| <!-- if not generic and Page title is defined -->
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Page title|}}}</h1>
|<p>An Error has occurred: Page title style = {{{Page title style}}} and Page title = {{{Page title}}}<br>
|<nowiki></nowiki>}}|<nowiki></nowiki>}}
{{#if: {{lc:Page text style:"generic"}}|
<p>FamilySearch identified the most complete online indexes for birth, marriage, and death information.</p><br><br>
<p style="font-size:20px">'''Which type of information are you looking for?'''</p><br>
|{{#if: {{{Page text}}}| <!-- if not generic and Page text is defined -->
{{#if: {{{Page text size|}}}|<h{{{Page text size}}}>{{{Page text}}}</h{{{Page text size}}}>|<p>{{{Page text|}}}</p>}}|<nowiki></nowiki>}}|<nowiki></nowiki>}}
<noinclude>
<noinclude>
  <nowiki>{{GR Page title and text|
<u>Example 1</u>
Location=Ohio|
  <nowiki>
Page title style=generic|   <!-- generic will print 'Location' Guided Research -->
{{GR Page header and text|
Page title=|                <!-- only required if Page header style is not 'generic' -->
  Location=Ohio|
Page text style=generic|     <!-- generic will print generic sentence below the page title -->
  Page type=Guided Research|   <!-- Current options Guided Research and Can't Find-->
Page text=|                 <!-- only required if Page text style is not 'generic' -->
}} </nowiki>
Page text size=}}      <!-- this is only used if non-generic page text, and it is not required. -->
   
<u>Example 2</u>
<nowiki>
{{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|
}}       
</nowiki>
</nowiki>
[[Category:templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
__NOEDITSECTION__
{{GR button main}}
{{#switch: {{lc:{{{Page type|}}} }} |
guided research={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}|}} |
{{New page title|New title={{{Location|}}} Guided Research|}}
  |<nowiki></nowiki>}}
  {{#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>}}
|
guidedresearch={{#if: {{{Page title|}}}| {{New page title|New title={{{Page title|}}}| }} |
{{New page title|New title={{{Location|}}} Guided Research|}}
  |<nowiki></nowiki>}}
  {{#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>}}
  {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>|
  <p>This page will give you additional guidance and resources to find {{{lc:Vital type|}}} information for your ancestor. Use this page after first completing the {{lc:{{{Vital type|}}}}} section of the  [[GuidedResearch:{{{Location|}}}|{{{Location|}}} Guided Research]] page.</p><br><br>
|<nowiki></nowiki>}}
|<nowiki></nowiki>}}  <!-- end switch statement -->
<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|
}}