Šablona:PrefBankArticle: Porovnání verzí

Z sumava-corpus
Přejít na: navigace, hledání
 
(Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.)
Řádka 17: Řádka 17:
 
|-
 
|-
 
! Author
 
! Author
| {{#arraymap:{{{Author|}}}|,|x|[[Author::x]]}}
+
| {{#arraymap:{{{Author|}}}|,|value| {{#set:Author=value}} {{#queryformlink:form=Search|link text=value|SearchResult[author]=value|SearchResult[category]=PrefBank|wpRunQuery=true}} }}
 
|-
 
|-
 
! Date
 
! Date
| {{#arraymap:{{{Date|}}}|,|x|[[Date::x]]}}
+
| {{#set:Date={{{Date||}}}}} {{#queryformlink:form=Search|link text={{{Date|}}}|SearchResult[date-from]={{{Date|}}}|SearchResult[category]=MediaBank,KlosterBank,PrefBank|wpRunQuery=true}}
 
|-
 
|-
 
! Source
 
! Source
| [[Source::{{{Source|}}}]]  
+
| {{#set:Source={{{Source|}}}}} {{#queryformlink:form=Search|link text={{{Source|}}}|SearchResult[source]={{{Source|}}}|SearchResult[category]=PrefBank|wpRunQuery=true}}
 
|-
 
|-
 
! Genre
 
! Genre
| [[Genre::{{{Genre|}}}]]  
+
| {{#set:Genre={{{Genre|}}}}} {{#queryformlink:form=Search|link text={{{Genre|}}}|SearchResult[genre]={{{Genre|}}}|SearchResult[category]=PrefBank|wpRunQuery=true}}
 
|-
 
|-
 
! Respondent
 
! Respondent
| {{#arraymap:{{{Respondent|}}}|,|x|[[Respondent::x]]}}
+
| {{#arraymap:{{{Respondent|}}}|,|value| {{#set:Respondent=value}} {{#queryformlink:form=Search|link text=value|SearchResult[respondent]=value|SearchResult[category]=PrefBank|wpRunQuery=true}} }}
 
|}
 
|}
  
 
[[Category:PrefBank]]
 
[[Category:PrefBank]]
 
</includeonly>
 
</includeonly>

Aktuální verze z 4. 10. 2015, 07:44

This is the "PrefBankArticle" template. It should be called in the following format:

{{PrefBankArticle
|Title=
|Author=
|Date=
|Source=
|Genre=
|Respondent=
}}

Edit the page to see the template text.