Šablona:PrefBankArticle: Porovnání verzí

Z sumava-corpus
Přejít na: navigace, hledání
 
(Není zobrazeno 14 mezilehlých verzí od stejného uživatele.)
Řádka 4: Řádka 4:
 
<pre>
 
<pre>
 
{{PrefBankArticle
 
{{PrefBankArticle
 +
|Title=
 
|Author=
 
|Author=
 
|Date=
 
|Date=
 
|Source=
 
|Source=
 
|Genre=
 
|Genre=
|Location=
 
 
|Respondent=
 
|Respondent=
 
}}
 
}}
Řá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>
 
|-
 
|-
 
! Author
 
! Author
| {{#arraymap:{{{Author|}}}|,|x|[[Has 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|[[Has date::x]]}}
+
| {{#set:Date={{{Date||}}}}} {{#queryformlink:form=Search|link text={{{Date|}}}|SearchResult[date-from]={{{Date|}}}|SearchResult[category]=MediaBank,KlosterBank,PrefBank|wpRunQuery=true}}
 
|-
 
|-
 
! Source
 
! Source
| [[Has source::{{{Source|}}}]]  
+
| {{#set:Source={{{Source|}}}}} {{#queryformlink:form=Search|link text={{{Source|}}}|SearchResult[source]={{{Source|}}}|SearchResult[category]=PrefBank|wpRunQuery=true}}
 
|-
 
|-
 
! Genre
 
! Genre
| [[Has genre::{{{Genre|}}}]]
+
| {{#set:Genre={{{Genre|}}}}} {{#queryformlink:form=Search|link text={{{Genre|}}}|SearchResult[genre]={{{Genre|}}}|SearchResult[category]=PrefBank|wpRunQuery=true}}
|-
+
! Location
+
| {{#arraymap:{{{Location|}}}|,|x|[[Has location::x]]}}
+
 
|-
 
|-
 
! Respondent
 
! Respondent
| {{#arraymap:{{{Respondent|}}}|,|x|[[Has 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.