Vorlage:Bild1: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
Zeile 4: Zeile 4:
  
 
-->{{#vardefine: b_titel
 
-->{{#vardefine: b_titel
| {{{titel|}}}
+
| {{#if:{{{titel|}}}
 +
  | {{ucfirst:{{{titel|}}} }} <!--
 +
--> {{#if:{{{titel_j|}}} | (''{{{titel_j|}}}'') }}
 +
  | {{#if:{{{titel_d|}}}
 +
    |{{ucfirst:{{{titel_d|}}} }} <!--
 +
--> {{#if:{{{titel_j|}}}| (''{{{titel_j|}}}'') }}
 +
    |{{#if:{{{titel_j|}}}
 +
      |''{{ucfirst:{{{titel_j|}}} }}''
 +
      |{{PAGENAME}}
 +
      }}
 +
    }}
 +
  }}
 
}}<!--
 
}}<!--
 
-->{{#vardefine: artist_name
 
-->{{#vardefine: artist_name
Zeile 134: Zeile 145:
 
   | 0= Bildquelle{{#fas:file-circle-question}}:
 
   | 0= Bildquelle{{#fas:file-circle-question}}:
 
   | #default=  {{#far:copyright}}
 
   | #default=  {{#far:copyright}}
   }}{{#set:hat_copyrightinfo={{{c|c}}} }}
+
   }}
 
}}<!--
 
}}<!--
 
-->{{#vardefine: quelle
 
-->{{#vardefine: quelle
Zeile 144: Zeile 155:
 
}}<!--
 
}}<!--
 
-->{{#vardefine: quelle
 
-->{{#vardefine: quelle
| {{#if: {{#var:quelle}}|<span> [[hat_bildquelle::{{#var:quelle}}]].</span>}}
+
| {{#if: {{#var:quelle}}|<span> {{#var:quelle}}.</span>}}
 
}}<!--
 
}}<!--
 
-->{{#vardefine:collection
 
-->{{#vardefine:collection
 
| {{#if: {{{collection|}}} |<span> {{ucfirst:{{{collection|}}}}} .</span>}}  
 
| {{#if: {{{collection|}}} |<span> {{ucfirst:{{{collection|}}}}} .</span>}}  
 
}}<!--   
 
}}<!--   
-->{{#vardefine:zugriff
+
-->{{#vardefine:zugriff
| {{#if:{{{quelle_d|}}}
+
| {{#if:{{{quelle_d|}}}
  |<small> Letzter Zugriff: [[hat_zugriff::{{{quelle_d|}}}]]</small>  
+
  |<small> Letzter Zugriff: [[hat_zugriff::{{{quelle_d|}}}]]</small>  
  }}  
+
  }}
 
}}<!--
 
}}<!--
 
-->{{#vardefine:beschreibung
 
-->{{#vardefine:beschreibung
Zeile 171: Zeile 182:
 
--></span>
 
--></span>
 
}}<!--   
 
}}<!--   
 +
-->{{#vardefine:formularlink
 +
| <div style='text-align: center;font-size: xx-small; margin-top: 1.5rem; height: 1,5rem; border-top:1px solid #ccc'>{{#ifanon:<!--do nothing-->|
 +
[[Spezial:Mit_Formular_bearbeiten/Bild/{{FULLPAGENAME}}|Diese Seite mit Formular bearbeiten]]
 +
  }}</div>
 +
}}<!--
 
-->{{#vardefine:zeitalter
 
-->{{#vardefine:zeitalter
 
| {{#switch: {{#regex: {{{zeitalter|}}}|/[\S]+/}}
 
| {{#switch: {{#regex: {{{zeitalter|}}}|/[\S]+/}}
Zeile 198: Zeile 214:
  
 
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
| {{Bild_ns6
+
|{{titel|{{#var:b_titel}}|Bildseite:}}<!--   
|titel={{#var:b_titel}}
+
--><dl><dd><small><!--
|info= {{#var:g}}
+
-->{{#if:{{#var:g}}
|quelle= {{#var:quelle}}
+
    |{{#var:g}}. <nowiki/>
|c= {{#var:c}}
+
  }}<!--
|zugriff= {{#var:zugriff}}
+
-->{{#if:{{#var:quelle}}
|beschreibung= {{ucfirst:{{{1|{{{beschreibung|}}} }}} }}
+
    |{{#var:c}} [[hat_bildquelle::{{#var:quelle}}]]
|thema= {{{thema|}}}
+
  }}<!--
|medium= {{{medium|}}}
+
-->{{#var:zugriff}}<!--
|g-artist= {{#var:artist_zeit}}
+
--></small></dd></dl> <!--
|zeitalter= {{#var:zeitalter}}
+
-->{{#if:{{{1|{{{beschreibung|}}} }}}|<div class=beschreibung>{{ucfirst:{{{1|{{{beschreibung|}}} }}} }}</div> }} <!--
|info_kurz= {{#var:info_kurz}}
+
-->{{#var:formularlink}} 
}}   
+
}}<!--
 +
 
 +
Bildverwendung
 +
 
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 +
|{{#vardefine:id
 +
| {{#regex:{{#regex:  {{lcfirst:{{PAGENAME}}}}
 +
  |/^([^\.]+)\.[^\.]+/e
 +
  |i_$1
 +
  }}
 +
  |/\s/
 +
  |_
 +
  }}
 +
}}<!--
 +
--><div class=shortlist>{{#ask: 
 +
[[:+||Metalog:+]]
 +
[[uses_image::{{#var:id}}]]
 +
| sort=Chapternumber
 +
| format=ul 
 +
| template=Glossar eintrag a
 +
| userparam={{#var:id}}
 +
| link=none
 +
| intro= Bildverwendung:
 +
}}</div>
 +
}} <!--
 +
 
 +
 
 +
Thema neu 
 +
 
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 +
| {{#if: {{{thema|}}}{{{medium|}}}{{#var:artist_zeit}}
 +
  |<div class=shortlist>Schlagworte: {{#if: {{{thema|}}}
 +
    |* Thema: {{#arraymap: {{{thema|}}}|,|§
 +
      | {{queryformlink|linktext={{#regex:§|/[\s_]Sonstiges/|}}<!--
 +
    -->|thema=§|file=Bild}}{{#set: hat_thema_neu=§}}[[Kategorie:§]]|,\s
 +
      }}
 +
    }} {{#if: {{{medium|}}}
 +
    |* Medium: {{#arraymap: {{{medium|}}}|,|§
 +
      |{{queryformlink|linktext=§|medium=§|file=Bild}}{{#set: hat_medium_neu=§}}[[Kategorie:§]]|,\s
 +
      }}
 +
    }} {{#if: {{#var:artist_zeit}}
 +
    |* Künstler:  {{#arraymap: {{#var:artist_zeit}}|,|§
 +
      |{{Bild_artist_q|artist=§|time={{#var:zeitalter}} }}{{#set: gemacht_von=§}}|,\s
 +
      }}
 +
    }} </div>
 +
  | [[Kategorie:Glossareintrag ohne Thema]]
 +
  }}
 +
}} <!--
 +
Schlagworte und Kategorien
 +
 
 +
SUB-TEMPLATES
 +
 
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 +
| {{Bild_schlagworte2
 +
| form= {{{form|}}}
 +
| inhalt= {{{inhalt|}}}
 +
| genre= {{{genre|}}}
 +
| genre2= {{{genre2|}}}
 +
| artist= {{#var:artist_name}}
 +
| artist_vor= {{{artist_vor|}}}
 +
| artist_fam= {{{artist|}}}
 +
| artist_dates= {{{artist_dates|}}}
 +
| zeitalter= {{{zeitalter|}}}
 +
| periode= {{{periode|}}}
 +
| jahr= {{{jahr|}}}
 +
| serie_j= {{{serie_j|}}}
 +
  }}<!--
 +
-->{{#set: hat_bildtitel={{#var:b_titel}}
 +
|hat bildinfo= {{#var:g}}
 +
|hat bildbeschreibung= {{{1|{{{beschreibung|}}} }}}
 +
|is_image_article={{#titleparts:{{PAGENAME}}| |-1}}
 +
|hat_copyrightinfo={{{c|}}}
 +
  }}
 +
}}<!--
 +
 
 +
  SMW Cite
 +
 
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 +
| {{#scite:{{PAGENAME}}
 +
| reference={{PAGENAME}}
 +
| type=image
 +
| citation text=[[{{FULLPAGENAME}}|75x75px|right|class=noviewer]]{{#var:info_kurz}}
 +
}}
 +
}}<!--
 +
 
 +
CSS
 +
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 6
 +
| {{#ifanon: <!--do nothing-->
 +
  | {{#CSS: #filehistory, #mw-imagepage-section-filehistory {
 +
    display: block;
 +
    }
 +
    }}
 +
  }}<!--
 +
 
 +
  Wenn nicht in Namespace:Bild
 +
 
 +
-->
 
| {{#var:info_kurz}}
 
| {{#var:info_kurz}}
}}
+
}}<!--
<noinclude>
+
<noinclude><!--
 +
 
 +
##########
 +
Kopiervorlage:
 +
##########
 +
--><noinclude>  
 
<templatedata>
 
<templatedata>
 
{
 
{
"params": {
+
"params": {},
"1": {},
+
"description": "Vorlage Bild, Sicherungskopie"
"titel": {},
 
"artist": {},
 
"artist_vor": {},
 
"artist_dates": {},
 
"detail": {},
 
"material": {},
 
"maße": {},
 
"periode": {},
 
"jahr": {},
 
"treasure": {},
 
"genre": {},
 
"titel_d": {},
 
"genre2": {},
 
"serie": {},
 
"buch": {},
 
"serie_j": {},
 
"ort": {},
 
"besitz": {},
 
"c": {},
 
"q_link": {},
 
"q_text": {},
 
"quelle_b": {},
 
"collection": {},
 
"quelle_d": {},
 
"beschreibung": {},
 
"zeitalter": {},
 
"thema": {},
 
"medium": {}
 
},
 
"description": "Gestaltet Bildseiten"
 
 
}
 
}
</templatedata>
+
</templatedata></noinclude>
</noinclude>
 

Aktuelle Version vom 16. August 2022, 14:33 Uhr

 Bild1.    

Vorlage Bild, Sicherungskopie

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben