Vorlage:Bildmotive: Unterschied zwischen den Versionen

Aus Splitterwiki
Zur Navigation springen Zur Suche springen
(Redundanz entfernt)
(Korrekturen)
Zeile 10: Zeile 10:
 
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.
 
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 +
 +
--><!-- START Definitionen
 +
 +
-->{{#vardefine: Seitenname | {{{ 1 | {{PAGENAME}} }}} }}<!--
 +
 +
--><!-- ENDE Definitionen
 +
 
--><!-- START Darstellung
 
--><!-- START Darstellung
  
 
--><!-- START Nur Namespace "Bildmotive:"
 
--><!-- START Nur Namespace "Bildmotive:"
  
-->{{#ifeq: {{FULLPAGENAME}} | Bildmotive:{{PAGENAME}}<!--
+
-->{{#ifeq: {{FULLPAGENAME}} | Bildmotive:{{#var:Seitenname}}<!--
   -->|<div class="textbox gelb" ><span class="small">< Zum Hauptartikel '''[[{{PAGENAME}}]]'''</span></div><!--
+
   -->|<div class="textbox gelb" ><span class="small">< Zum Hauptartikel '''[[{{#var:Seitenname}}]]'''</span></div><!--
 
   -->|<!--
 
   -->|<!--
 
   -->}}<!--
 
   -->}}<!--
Zeile 25: Zeile 32:
 
--><div class="textbox grau "  style="" ><!--
 
--><div class="textbox grau "  style="" ><!--
  
-->{{#arraymap: {{#ask: [[-Hat Unterobjekt::Bildmotive:{{PAGENAME}}]] | link=none | sep=@//@ }}<!--
+
-->{{#arraymap: {{#ask: [[-Hat Unterobjekt::Bildmotive:{{#var:Seitenname}}]] | link=none | sep=@//@ }}<!--
 
   -->| @//@<!--
 
   -->| @//@<!--
 
   -->| @@@@<!--
 
   -->| @@@@<!--
Zeile 55: Zeile 62:
 
--><!-- START Profilbild
 
--><!-- START Profilbild
  
-->{{#if:{{#show:{{PAGENAME}}|?Profilbild#}}<!--
+
-->{{#if:{{#show:{{#var:Seitenname}}|?Profilbild#}}<!--
 
   -->|<div class="textbox weiss " style="z-index:0; float:left; " ><!--
 
   -->|<div class="textbox weiss " style="z-index:0; float:left; " ><!--
     --><div style="z-index:0; position:relative; " >[[Datei:{{#show:{{PAGENAME}}|?Profilbild#}}|x128px]]&#32;<!--
+
     --><div style="z-index:0; position:relative; " >[[Datei:{{#show:{{#var:Seitenname}}|?Profilbild#}}|x128px]]&#32;<!--
 
       --><div style="z-index:1; position:absolute; bottom:0px; left:0px; background-color:lightgray; opacity: 0.5; padding:0.2em; overflow:hidden; " ><!--
 
       --><div style="z-index:1; position:absolute; bottom:0px; left:0px; background-color:lightgray; opacity: 0.5; padding:0.2em; overflow:hidden; " ><!--
         -->{{#arraymap:{{#show:Datei:{{#show:{{PAGENAME}}|?Profilbild#}}|?Lizenzicon#|default=Icon ohne lizenz.png}} <!--
+
         -->{{#arraymap:{{#show:Datei:{{#show:{{#var:Seitenname}}|?Profilbild#}}|?Lizenzicon#|default=Icon ohne lizenz.png}} <!--
 
           -->|,<!--
 
           -->|,<!--
 
           -->|@LIZ@<!--
 
           -->|@LIZ@<!--
           -->|[[Datei:@LIZ@|16px|verweis=Datei:{{#show:{{PAGENAME}}|?Profilbild#}}]]<!--
+
           -->|[[Datei:@LIZ@|16px|verweis=Datei:{{#show:{{#var:Seitenname}}|?Profilbild#}}]]<!--
 
           -->|&nbsp;<!--
 
           -->|&nbsp;<!--
 
           -->}}<!--
 
           -->}}<!--
           -->{{#ifeq: {{#show:Datei:{{#show:{{PAGENAME}}|?Profilbild#}}|?Lizenz#}} | Uhrwerk<!--
+
           -->{{#ifeq: {{#show:Datei:{{#show:{{#var:Seitenname}}|?Profilbild#}}|?Lizenz#}} | Uhrwerk<!--
 
             -->|&nbsp;[[Datei:Icon Vorlage Uhrwerk warnend 32.png|16px|verweis=Datei:{{{bildmotiv@@@@}}}]]<!--
 
             -->|&nbsp;[[Datei:Icon Vorlage Uhrwerk warnend 32.png|16px|verweis=Datei:{{{bildmotiv@@@@}}}]]<!--
 
             -->|}}<!--
 
             -->|}}<!--
 
         --></div><!--
 
         --></div><!--
 
       --></div><!--
 
       --></div><!--
       --><span class="small" >{{#show:{{PAGENAME}}|?Profilbild Kurzbeschreibung|default=(Beschreibung fehlt)}}</span><!--
+
       --><span class="small" >{{#show:{{#var:Seitenname}}|?Profilbild Kurzbeschreibung|default=(Beschreibung fehlt)}}</span><!--
 
       --></div><!--
 
       --></div><!--
 
   -->|<!--
 
   -->|<!--
Zeile 105: Zeile 112:
  
 
--><!-- START Stille Setzungen
 
--><!-- START Stille Setzungen
-->{{#ifeq: {{FULLPAGENAME}} | Bildmotive:{{PAGENAME}}<!--
+
-->{{#ifeq: {{FULLPAGENAME}} | Bildmotive:{{#var:Seitenname}}<!--
 
   -->|{{#set: Page has default form = Bildmotive }}<!--
 
   -->|{{#set: Page has default form = Bildmotive }}<!--
 
     -->[[Kategorie:Bildmotive]]<!--
 
     -->[[Kategorie:Bildmotive]]<!--

Version vom 4. September 2018, 14:25 Uhr

Dies ist die Vorlage „Bildmotive“. Sie sollte im folgenden Format genutzt werden:

{{Bildmotive}}

So sieht die Vorlage:Bildmotive beim Artikel Ork aus:

Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.