Difference between revisions of "Template:Search result"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
(removed has person from this edit and the previous edit)
 
(77 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{name|}}}| | {{#if:{{{date|}}}| | {{#if:{{{note|}}}| | {{#if:{{{page|}}}| |no results}} }} }} }}{{#if:{{{name|}}}|
+
<includeonly>*{{#if: {{{name|}}}|{{#if:{{{name|}}}|Found [[{{{name|}}}]] |}} {{#if:{{{page|}}}{{{external source name|}}}|{{#if:{{{url|}}}|at [{{{url|}}} {{{page|}}}{{{external source name|}}}] |at {{{page|}}} }}|{{#if:{{{url|}}}|at {{{url|}}}|}} }}{{#if:{{{document date|}}}{{{date|}}}| &nbsp;&nbsp;on document dated {{date|{{{document date|}}}{{{date|}}} }}|}}.{{#if:{{{note|}}}{{{source name|}}}{{{internal document name|}}}|
:{{has person |name={{{name}}} }} }}
+
{{#if: {{{source name|}}}{{{internal document name|}}}|:'''Uploaded locally to:''' [[:{{{source name|}}}{{{internal document name|}}}]] |<!--do nothing -->}}
{{#if:{{{date|}}}|:'''dated:''' [[has date::{{{date}}}]]|}} {{#if:{{{note|}}}|  
+
{{#if: {{{note|}}}|:'''Note: ''' {{{note|}}} | <!--don't show note--> }} |}}
:'''notes:''' {{{note}}}|}}  
+
{{#subobject:{{{name|}}}-{{{date|}}}-{{{page|}}}{{{external source name|}}}
:{{#if: {{{page|}}}|{{#if:{{{url|}}}|'''Source Page: '''[{{{url}}} {{{page}}}]|'''Source Page: '''{{{url|}}} }}|}} [[Category:Search Card]]
+
|has external source name={{{page|}}}{{{external source name|}}}<!--prefer external source name-->
<noinclude>{{documentation}}</noinclude>
+
|has url={{{url|}}}
 +
|has accessed date={{date|{{{accessed date|}}} }}
 +
|has internal document name={{{source name|}}}{{{internal document name|}}}<!--prefer document name-->
 +
|has master = {{{master|}}}
 +
|has note={{{note|}}}
 +
|has document date={{date|{{{date|}}}{{{document date|}}} }} <!-- prefer document date-->
 +
|has log page = {{BASEPAGENAME}}
 +
}}|no results}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 16:38, 17 December 2020