Šablona:PrefBankArticle: Porovnání verzí

Z sumava-corpus
Přejít na: navigace, hledání
 
(Není zobrazeno 6 mezilehlých verzí od stejného uživatele.)
Řádka 13: Řádka 13:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</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;"
! Title
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Title::{{{Title|}}}]]</big>
| [[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, 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.