Template:GRPage: Difference between revisions

From FamilySearch Wiki
(Undo revision 4247636 by Surprisingly even adding 'Thing' elements did not change testing tool display/parsing)
Tag: Undo
(switch to using faqquestion x3)
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly> __NOEDITSECTION__ __NOTOC__ {{DISPLAYTITLE:{{PAGENAME}} Guided Research}}<div class="container gradient" style="max-width:none;">
<includeonly> __NOEDITSECTION__ __NOTOC__ {{DISPLAYTITLE:{{PAGENAME}} Guided Research}}
<div class="row">
<!-- <span class="tooltip"><span class="tooltiptext">Alaska, Vital Records, 1816-1959</span> Sample tooltip</span> -->{{GR logo}}
<div class="col-8"><!-- left column for page -->
{{GR button main}}
<div id="FAQPage" itemscope itemtype="https://schema.org/FAQPage"><span class="hidden invisible" itemprop="name">Guided Research {{PAGENAME}}</span>
{{#vardefine:birthlink|* <span class="tooltip" title="Did you sign into FamilySearch? If not, do so now to view more available databases.">'''[https://www.familysearch.org/search/record/results?q.birthLikePlace={{urlencode:{{PAGENAME}}|PATH}}&f.recordCountry=United%20States&f.recordSubcountry=United%20States%2C{{urlencode:{{PAGENAME}}|PATH}}&f.recordType=0&offset=0&m.defaultFacets=on&m.queryRequireDefault=on&m.facetNestCollectionInCategory=on&count=20 {{PAGENAME}} Birth Collections]''' at FamilySearch</span>{{#info: Alaska, Vital Records, 1816-1959 }} }}
<div class="row clearfix">
{{#vardefine:marriagelink|* <span class="tooltip" title="Did you sign into FamilySearch? If not, do so now to view more available databases.">'''[https://www.familysearch.org/search/record/results?q.marriageLikePlace={{urlencode:{{PAGENAME}}|PATH}}&f.recordCountry=United%20States&f.recordSubcountry=United%20States%2C{{urlencode:{{PAGENAME}}|PATH}}&f.recordType=1&offset=0&m.defaultFacets=on&m.queryRequireDefault=on&m.facetNestCollectionInCategory=on&count=20 {{PAGENAME}} Marriage Collections]''' at FamilySearch</span>
<div class="col-12">
{{#info: Alaska, Vital Records, 1816-1959 }} }}
FamilySearch identified the most complete online indexes for birth, marriage, and death information.
{{#vardefine:deathlink|* <span class="tooltip" title="Did you sign into FamilySearch? If not, do so now to view more available databases.">''[https://www.familysearch.org/search/record/results?q.deathLikePlace={{urlencode:{{PAGENAME}}|PATH}}&f.recordCountry=United%20States&f.recordSubcountry=United%20States%2C{{urlencode:{{PAGENAME}}|PATH}}&f.recordType=2&offset=0&m.defaultFacets=on&m.queryRequireDefault=on&m.facetNestCollectionInCategory=on&count=20 {{PAGENAME}} Death Collections]''' at FamilySearch</span>{{#info: Alaska, Vital Records, 1816-1959 }} }}
</div>
 
</div>
<div id="FAQPage" itemscope itemtype="https://schema.org/FAQPage" class="container">
 
<div class="row clearfix"><!-- Birth Question / Answer -->
<div class="row clearfix"><!-- Birth Question / Answer -->
<div class="col-8">
<div class="col-sm">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2>Birth - <span class=faqquestion itemprop="name">[[BirthQuestion::Where can I find birth records
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find birth records in {{PAGENAME}}]]?</h2>
in {{PAGENAME}}]]</span>?</h2>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div class="faqanswer" itemprop="text">
<div class="faqanswer" itemprop="text">
Line 20: Line 20:
{{#if: {{{answer2|}}} |
{{#if: {{{answer2|}}} |
<h4>If the birth record was not found, try this next:</h4>
<h4>If the birth record was not found, try this next:</h4>
{{{answer2|}}}
{{{answer2|}}}  
|}}
|}}
</div>
</div>
</div><!-- close text, Answer, Question -->
</div><!-- close first col -->
</div><!-- close first col -->
<div class="col-2">
<div class="col-sm">
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Birth }}
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Birth }}
</div><!-- close second col -->
</div><!-- close second col -->
</div></div></div><!-- close text, Answer, Question -->
</div><!-- close row -->
</div><!-- close row -->
<div class="row clearfix"><!-- Marriage Question / Answer -->
<div class="row clearfix"><!-- Marriage Question / Answer -->
<div class="col-8">
<div class="col-sm">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2>Marriage - <span class=faqquestion itemprop="name">[[MarriageQuestion::Where can I find marriage
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find marriage records in {{PAGENAME}}]]?</h2>
records in {{PAGENAME}}]]</span>?</h2>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div class="faqanswer" itemprop="text">
<div class="faqanswer" itemprop="text">
Line 44: Line 43:
{{{answer4|}}}
{{{answer4|}}}
|}}
|}}
</div>
</div>
</div><!-- close text, Answer, Question -->
</div><!-- close first col -->
</div><!-- close first col -->
<div class="col-2">
<div class="col-sm">
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Marriage }}
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Marriage }}
</div><!-- close second col -->
</div><!-- close second col -->
</div></div></div><!-- close text, Answer, Question -->
</div><!-- close row -->
</div><!-- close row -->


<div class="row clearfix"><!-- Death Question / Answer -->
<div class="row clearfix"><!-- Death Question / Answer -->
<div class="col-8">
<div class="col-sm">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2>Death - <span class=faqquestion itemprop="name">[[DeathQuestion::Where can I find death records
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find death records in {{PAGENAME}}]]?</h2>
in {{PAGENAME}}]]</span>?</h2>
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div class="faqanswer" itemprop="text">
<div class="faqanswer" itemprop="text">
Line 67: Line 63:
{{{answer6|}}}
{{{answer6|}}}
|}}
|}}
</div>
</div>
</div><!-- close text, Answer, Question -->
</div><!-- close first col -->
</div><!-- close first col -->
<div class="col-2">
<div class="col-sm">
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Death }}
{{ GR sidebar | Location={{PAGENAME}} | Vital type=Death }}
</div><!-- close second col -->
</div><!-- close second col -->
</div></div></div><!-- close text, Answer, Question -->
</div><!-- close row -->
</div><!-- close row -->
<div class="row">
<div class="row">
<div class="col-12">
<div class="col-sm">
== More ==
== More ==
See [[{{PAGENAME}}|{{PAGENAME}} Genealogy]] for general resources.
See [[{{PAGENAME}}|{{PAGENAME}} Genealogy]] for general resources.
{{GR Footer}}
{{GR Footer}}
</div>
</div><!-- close first col -->
</div><!-- close row -->
</div><!-- close row -->
</div><!-- close #FAQPage -->
 
</div>
</div><!-- close FAQPage -->
<div class="col-4"><!-- right column for logo -->
[[Image:GR LOGO.jpg|150px|alt=How to find birth records, marriage records and death records in
{{PAGENAME}}|link=]]
</div>
</div>
</div><!-- close container -->
</div><!-- close container -->


[[Category:Guided Research]][[Category:{{PAGENAME}}, United States]][[Category:Guided Research United States]]
[[Category:Guided Research]][[Category:Guided Research United States]][[Category:{{PAGENAME}}, United States]]
</includeonly>
</includeonly>
<noinclude>__NOEDITSECTION__
<noinclude>__NOEDITSECTION__

Revision as of 00:52, 28 December 2020


This template is for Category:Guided Research pages.

Usage

You can use this template by filling out the Guided Research Page form

Documentation

Among other things, this template sets up the schema.org microdata for FAQPage.

It's what creates structured data in the wiki.

Also, because we have the Semantic MediaWiki extension to MediaWiki, we leverage this template to apply semantic properties and annotations to our data - making it machine-readable and queryable.