Šablona:MediaBankArticle: Porovnání verzí

Z sumava-corpus
Přejít na: navigace, hledání
 
(Není zobrazeno 16 mezilehlých verzí od stejného uživatele.)
Řádka 4: Řádka 4:
 
<pre>
 
<pre>
 
{{MediaBankArticle
 
{{MediaBankArticle
 +
|Title=
 
|Author=
 
|Author=
 
|Date=
 
|Date=
 
|Source=
 
|Source=
 
|Genre=
 
|Genre=
|Location=
 
 
|Respondent=
 
|Respondent=
 
}}
 
}}
 
</pre>
 
</pre>
 
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>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<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>[[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]=MediaBank|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]=MediaBank|wpRunQuery=true}}
 
|-
 
|-
 
! Genre
 
! Genre
| [[Has genre::{{{Genre|}}}]]
+
| {{#set:Genre={{{Genre|}}}}} {{#queryformlink:form=Search|link text={{{Genre|}}}|SearchResult[genre]={{{Genre|}}}|SearchResult[category]=MediaBank|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]=MediaBank|wpRunQuery=true}} }}
 
|}
 
|}
  
 
[[Category:MediaBank]]
 
[[Category:MediaBank]]
 
</includeonly>
 
</includeonly>

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

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

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

Edit the page to see the template text.