Template:Letter dated: Difference between revisions

From kanterella
Jump to navigation Jump to search
(Created page with "<noinclude>This template is put into places which state "letter dated X" and tries to pick the best document. * "date" = date found * "from" = who sent the letter * "text" = w...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is put into places which state "letter dated X" and tries to pick the best document.
<noinclude>This template is put into places which state "letter dated X" and tries to pick the best document.
* "date" = date found
* "date" = date of the letter
* "from" = who sent the letter
* "from" = who sent the letter
* "text" = what is printed
* "text" = what is printed
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=1|link=none|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|}}}]]
   | {{#if:{{#ask:[[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]][[!~Information Notice*]][[!~Press Release*]]}}
   | +++nothing+++
    | [[letter::{{#ask:[[site::{{#show:{{PAGENAME}}|?site|limit=1|link=none}}]][[Issue date::{{{date|}}}]][[!~Information Notice*]][[!~Press Release*]]|limit=1|link=none|searchlabel=}}|{{{text|}}}]]
    | {{{text|}}}
    }}
   | {{{text|}}}
   }}
   }}
}}</includeonly>
}}</includeonly>

Latest revision as of 11:42, 14 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