Template:GRPage: Difference between revisions
(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}}< | <includeonly> __NOEDITSECTION__ __NOTOC__ {{DISPLAYTITLE:{{PAGENAME}} Guided Research}} | ||
< | <!-- <span class="tooltip"><span class="tooltiptext">Alaska, Vital Records, 1816-1959</span> Sample tooltip</span> -->{{GR logo}} | ||
< | {{GR button main}} | ||
< | {{#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 }} }} | ||
< | {{#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> | ||
{{#info: Alaska, Vital Records, 1816-1959 }} }} | |||
FamilySearch | {{#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 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- | <div class="col-sm"> | ||
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | <div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | ||
<h2 | <h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find birth records in {{PAGENAME}}]]?</h2> | ||
in {{PAGENAME}}]] | |||
<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><!-- close first col --> | </div><!-- close first col --> | ||
<div class="col- | <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- | <div class="col-sm"> | ||
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | <div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | ||
<h2 | <h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find marriage records in {{PAGENAME}}]]?</h2> | ||
records in {{PAGENAME}}]] | |||
<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><!-- close first col --> | </div><!-- close first col --> | ||
<div class="col- | <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- | <div class="col-sm"> | ||
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | <div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> | ||
<h2 | <h2 class=faqquestion itemprop="name">[[Faqquestion::Where can I find death records in {{PAGENAME}}]]?</h2> | ||
in {{PAGENAME}}]] | |||
<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><!-- close first col --> | </div><!-- close first col --> | ||
<div class="col- | <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- | <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 | |||
</div><!-- close FAQPage --> | |||
</div><!-- close container --> | </div><!-- close container --> | ||
[[Category:Guided Research]][[Category: | [[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.