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)
 
(93 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<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|}}}|
<pre>
+
{{#if: {{{source name|}}}{{{internal document name|}}}|:'''Uploaded locally to:''' [[:{{{source name|}}}{{{internal document name|}}}]] |<!--do nothing -->}}
{{Search result |date={{{date}}} |name={{{name}}} |note={{{note}}} |page={{{page}}} }}
+
{{#if: {{{note|}}}|:'''Note: ''' {{{note|}}} | <!--don't show note--> }} |}}
</pre>
+
{{#subobject:{{{name|}}}-{{{date|}}}-{{{page|}}}{{{external source name|}}}
Test: {{Search result |name=jaosn |note=test note |date=12345 |page=13}}
+
|has external source name={{{page|}}}{{{external source name|}}}<!--prefer external source name-->
</noinclude>{{#if:{{{name|}}}|{{has person |name={{{name}}} }} }} {{#if:{{{date|}}}|'''dated:''' [[has date::{{{date}}}]]|}} {{#if:{{{note|}}}| '''note:''' {{{note}}}|}} {{#if:{{{page|}}}| '''page:''' {{{page}}} | }}
+
|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