Jump to content

Template:Find a Grave and Template:Find a Grave/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Snow kept
 
If Wikidata property has multiple values, only use first one. Add fix for empty name parameter and trim any leading or trailing spaces from unnamed parameters. Remove {{Trim|}} since {{#if:}} does same. Update tracking.
 
Line 1: Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{{grid|}}} {{#property:P535}}
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{{grid|}}} {{#property:P535}}


| {{#if: {{{author|}}} {{{last|}}} {{{date|}}} {{{accessdate|{{{access-date|}}}}}}
| {{#if: {{{author|}}} {{{last|}}} {{{date|}}} {{{accessdate|}}}


| {{cite web |url=https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id|}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} |title={{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }} |publisher=[[Find a Grave]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |access-date={{{accessdate|{{{access-date|}}}}}} |display-authors={{{display-authors|}}} }}
| {{cite web |url=https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id|}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} |title={{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }} |publisher=[[Find a Grave]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |accessdate={{{accessdate|}}} |display-authors={{{display-authors|}}} }}


| [https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id<includeonly>|</includeonly>}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}]{{#if: {{{work|}}} | , {{{work}}} }} at [[Find a Grave]]
| [https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id<includeonly>|</includeonly>}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}]{{#if: {{{work|}}} | , {{{work}}} }} at [[Find a Grave]]