Template:GRPage: Difference between revisions

(switch to using faqquestion x3)
(Undo revision 4247636 by Surprisingly even adding 'Thing' elements did not change testing tool display/parsing)
Tag: Undo
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly> __NOEDITSECTION__ __NOTOC__ {{DISPLAYTITLE:{{PAGENAME}} Guided Research}}
<includeonly> __NOEDITSECTION__ __NOTOC__ {{DISPLAYTITLE:{{PAGENAME}} Guided Research}}<div class="container gradient" style="max-width:none;">
<!-- <span class="tooltip"><span class="tooltiptext">Alaska, Vital Records, 1816-1959</span> Sample tooltip</span> -->{{GR logo}}
<div class="row">
{{GR button main}}
<div class="col-8"><!-- left column for page -->
{{#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 id="FAQPage" itemscope itemtype="https://schema.org/FAQPage"><span class="hidden invisible" itemprop="name">Guided Research {{PAGENAME}}</span>
{{#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="row clearfix">
{{#info: Alaska, Vital Records, 1816-1959 }} }}
<div class="col-12">
{{#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 }} }}
FamilySearch identified the most complete online indexes for birth, marriage, and death information.
 
</div>
<div id="FAQPage" itemscope itemtype="https://schema.org/FAQPage" class="container">
</div>
 
<div class="row clearfix"><!-- Birth Question / Answer -->
<div class="row clearfix"><!-- Birth Question / Answer -->
<div class="col-sm">
<div class="col-8">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find birth records in {{PAGENAME}}]]?</h2>
<h2>Birth - <span class=faqquestion itemprop="name">[[BirthQuestion::Where can I find birth 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 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-sm">
<div class="col-2">
{{ 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-sm">
<div class="col-8">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find marriage records in {{PAGENAME}}]]?</h2>
<h2>Marriage - <span class=faqquestion itemprop="name">[[MarriageQuestion::Where can I find marriage
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 43: Line 44:
{{{answer4|}}}
{{{answer4|}}}
|}}
|}}
</div>
</div>
</div><!-- close text, Answer, Question -->
</div><!-- close first col -->
</div><!-- close first col -->
<div class="col-sm">
<div class="col-2">
{{ 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-sm">
<div class="col-8">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find death records in {{PAGENAME}}]]?</h2>
<h2>Death - <span class=faqquestion itemprop="name">[[DeathQuestion::Where can I find death 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 63: Line 67:
{{{answer6|}}}
{{{answer6|}}}
|}}
|}}
</div>
</div>
</div><!-- close text, Answer, Question -->
</div><!-- close first col -->
</div><!-- close first col -->
<div class="col-sm">
<div class="col-2">
{{ 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-sm">
<div class="col-12">
== More ==
== More ==
See [[{{PAGENAME}}|{{PAGENAME}} Genealogy]] for general resources.
See [[{{PAGENAME}}|{{PAGENAME}} Genealogy]] for general resources.
{{GR Footer}}
{{GR Footer}}
</div><!-- close first col -->
</div>
</div><!-- close row -->
</div><!-- close row -->
 
</div><!-- close #FAQPage -->
</div><!-- close FAQPage -->
</div>
<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:Guided Research United States]][[Category:{{PAGENAME}}, United States]]
[[Category:Guided Research]][[Category:{{PAGENAME}}, United States]][[Category:Guided Research United States]]
</includeonly>
</includeonly>
<noinclude>__NOEDITSECTION__
<noinclude>__NOEDITSECTION__

Latest revision as of 22:58, 3 February 2021


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.