Šablona:PrefBankArticle: Porovnání verzí

Z sumava-corpus
Přejít na: navigace, hledání
 
(Nejsou zobrazeny 4 mezilehlé verze od stejného uživatele.)
Řádka 14: Řádka 14:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Title::{{{Title|}}}]]</big>
|-
+
! Title
+
| [[Title::{{{Title|}}}]]  
+
 
|-
 
|-
 
! 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, 06: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.