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.
(Reverting back to page title with GuidedResearch in title.)
(updated to call Template:New page title, instead of creating the page title in this template.)
Line 1: Line 1:
<noinclude>
<u>Example 1</u>
<nowiki>
{{GR Page header and text|
  Location=Ohio|
  Page type=Guided Research|  <!-- Current options Guided Research and Can't Find-->
}} </nowiki>
   
<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>
</noinclude>
__NOEDITSECTION__
{{GR button main}}
{{GR button main}}
{{#switch: {{lc:{{{Page type|}}} }} |
{{#switch: {{lc:{{{Page type|}}} }} |
guided research={{#if: {{{Page title|}}}|{{DISPLAYTITLE:{{{Page title|}}} }}|
guided research={{#if: {{{Page title|}}}| {{New page title|{{{Page title|}}} }} |
  {{DISPLAYTITLE:{{{Location|}}} Guided Research}}
{{New page title|{{{Location|}}} Guided Research}}
   |<nowiki></nowiki>}}
   |<nowiki></nowiki>}}
   {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>|
   {{#if: {{{Page text|}}}|<p>{{{Page text|}}}</p>|
Line 9: Line 29:
   |<nowiki></nowiki>}}
   |<nowiki></nowiki>}}
|
|
guidedresearch={{#if: {{{Page title|}}}|{{DISPLAYTITLE:{{{Page title|}}} }}|
guided research={{#if: {{{Page title|}}}| {{New page title|{{{Page title|}}} }} |
  {{DISPLAYTITLE:{{{Location|}}} Guided Research}}
{{New page 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>
   <p style="font-size:20px">'''Select the type of information you are looking for?'''</p>
   <p style="font-size:20px">'''Select the type of information you are looking for?'''</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|}}}|{{DISPLAYTITLE:{{{Page title|}}} }}|
{{#if: {{{Page title|}}}| {{New page title|{{{Page title|}}} }} |
  {{DISPLAYTITLE:{{{Location|}}} {{{Vital type}}} - Why can't I find a record?}}
{{New page 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>|
2,664

edits