Template:GR Page header and text: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
__NOEDITSECTION__
__NOEDITSECTION__
{{#if: {{lc:Page title style:"generic"}}|
{{#if: {{{Page title|}}}|
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} Guided Research</h1>
 
|{{#if: {{{Page title}}}| <!-- if not generic and Page title is defined -->
{{#switch: {{lc:{{{Page title|}}} }} |
  <h1 id="firstHeading" class="firstHeading" lang="en">{{{Page title|}}}</h1>
"guided research"=<h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} Guided Research</h1>
|<p>An Error has occurred: Page title style = {{{Page title style}}} and Page title = {{{Page title}}}<br>
{{#if: {{lc:Page text style:"generic"}}|
|<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>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>
<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|}}}| <!-- 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>}}
{{#if: {{{Page text size|}}}|<h{{{Page text size}}}>{{{Page text}}}</h{{{Page text size}}}>|<p>{{{Page text|}}}</p>}}|<nowiki></nowiki>}}|<nowiki></nowiki>}}
<!-- "can't find" creates the page header and text for 'Why can't I find the records' page -->
"can't find"=<h1 id="firstHeading" class="firstHeading" lang="en">{{{Location|}}} {{{Vital type|}}}s - Why can't I find the record?</h1>|
<h1 id="firstHeading" class="firstHeading" lang="en">{{{Page title|}}}</h1>
{{#if: {{lc:{{{Page text}}}:"generic"}}|
<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>
|{{#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>}}|
}}  <!-- end switch statement -->
}} <!-- end main if statement -->
<noinclude>
<noinclude>
  <nowiki>{{GR Page title and text|
  <nowiki>{{GR Page title and text|
2,664

edits