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 |
||
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>| | ||
Line 29: | Line 29: | ||
|<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>| | ||
Line 39: | Line 39: | ||
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>| |
Revision as of 16:11, 13 June 2019
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| }}