Template:Letter dated: Difference between revisions

From kanterella
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
</noinclude><includeonly>{{#if:{{{from|}}}
</noinclude><includeonly>{{#if:{{{from|}}}
  | {{#if:{{#show:{{PAGENAME}}|?site|limit=1|link=none}}
  | {{#if:{{#show:{{PAGENAME}}|?site|limit=1|link=none}}
   | [[{{#ask:[[from::{{{from|}}}]][[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]]|limit=1|link=none|searchlabel=}}|{{{text|}}}]]
   | [[letter::{{#ask:[[from::{{{from|}}}]][[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]]|limit=1|link=none|searchlabel=}}|{{{text|}}}]]
   | {{#ask:[[from::{{{from|}}}]][[Issue date::{{{date|}}}]]|limit=0|searchlabel={{{text|}}} }}
   | {{#ask:[[from::{{{from|}}}]][[Issue date::{{{date|}}}]]|limit=0|searchlabel={{{text|}}} }}
   }}
   }}
  | {{#if:{{#show:{{PAGENAME}}|?site|limit=1|link=none}}
  | {{#if:{{#show:{{PAGENAME}}|?site|limit=1|link=none}}
   | [[{{#ask:[[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]]|limit=1|link=none|searchlabel=}}|{{{text|}}}]]
   | [[letter::{{#ask:[[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]]|limit=1|link=none|searchlabel=}}|{{{text|}}}]]
   | {{{text|}}}
   | {{{text|}}}
   }}
   }}
}}</includeonly>
}}</includeonly>

Revision as of 10:52, 7 March 2021

This template is put into places which state "letter dated X" and tries to pick the best document.

  • "date" = date of the letter
  • "from" = who sent the letter
  • "text" = what is printed