Vorlage:Portal/Documentation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 9: Zeile 9:
 
|portal=...
 
|portal=...
 
|title=...
 
|title=...
|symbol=...
+
|icon=...
 
|title sub-portal=...
 
|title sub-portal=...
 
|sub-portal=...
 
|sub-portal=...
Zeile 16: Zeile 16:
 
== Einstellungen ==
 
== Einstellungen ==
 
* <code>portal</code> : Link des portals.
 
* <code>portal</code> : Link des portals.
* <code>symbol</code> : Bild, welches als symbol-portal. Das bild ist reduziert auf die größe des banners. Standardmäßig ist das symbol «stub.png».
+
* <code>icon</code> : Bild, welches als symbol-portal. Das bild ist reduziert auf die größe des banners. Standardmäßig ist das symbol «stub.png».
 
* <code>title</code> : Titel des portals.
 
* <code>title</code> : Titel des portals.
 
* <code>title sub-portal</code> : Unter dem titel mögliche.
 
* <code>title sub-portal</code> : Unter dem titel mögliche.
Zeile 24: Zeile 24:
 
===Die minimale===
 
===Die minimale===
 
<pre>
 
<pre>
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|titel=Titel
 
|titel=Titel
Zeile 30: Zeile 30:
 
</pre>
 
</pre>
 
gibt:
 
gibt:
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|title=Titel
 
|title=Titel
Zeile 37: Zeile 37:
 
===Mit der alle parameter erfasst===
 
===Mit der alle parameter erfasst===
 
<pre>
 
<pre>
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|titel=Titel
 
|titel=Titel
|symbol=Dummy.png
+
|icon=Dummy.png
 
|title sub-portal=Titel, sub-portal
 
|title sub-portal=Titel, sub-portal
 
|sub-portal=sub-portal
 
|sub-portal=sub-portal
Zeile 46: Zeile 46:
 
</pre>
 
</pre>
 
gibt:
 
gibt:
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|title=Titel
 
|title=Titel
|symbol=Dummy.png
+
|icon=Dummy.png
 
|title sub-portal=Titel, sub-portal
 
|title sub-portal=Titel, sub-portal
 
|sub-portal=sub-portal
 
|sub-portal=sub-portal
Zeile 56: Zeile 56:
 
===Mit allen parametern ausgefüllt, die sich unter der übergeordneten===
 
===Mit allen parametern ausgefüllt, die sich unter der übergeordneten===
 
<pre>
 
<pre>
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|title=Titel
 
|title=Titel
|symbol=Dummy.png
+
|icon=Dummy.png
 
|title sub-portal=Titel, sub-portal
 
|title sub-portal=Titel, sub-portal
 
|sub-portal=sub-portal
 
|sub-portal=sub-portal
Zeile 65: Zeile 65:
 
</pre>
 
</pre>
 
gibt:
 
gibt:
{{Meta-link-portal
+
{{Meta link towards portal
 
|portal=Portal
 
|portal=Portal
 
|title=Titel
 
|title=Titel
|symbol=Dummy.png
+
|icon=Dummy.png
 
|title sub-portal=Titel, sub-portal
 
|title sub-portal=Titel, sub-portal
 
|sub-portal=sub-portal
 
|sub-portal=sub-portal

Aktuelle Version vom 2. Juli 2019, 21:45 Uhr

Verwendung

Vorlage Portal ermöglicht die anzeige von banner-portal.

Syntax

{{Portal |portal=... |title=... |icon=... |title sub-portal=... |sub-portal=... }}

Einstellungen

  • portal : Link des portals.
  • icon : Bild, welches als symbol-portal. Das bild ist reduziert auf die größe des banners. Standardmäßig ist das symbol «stub.png».
  • title : Titel des portals.
  • title sub-portal : Unter dem titel mögliche.
  • sub-portal : Link für den untertitel.

Beispiel

Die minimale

{{Meta link towards portal
|portal=Portal
|titel=Titel
}}

gibt:

Mit der alle parameter erfasst

{{Meta link towards portal
|portal=Portal
|titel=Titel
|icon=Dummy.png
|title sub-portal=Titel, sub-portal
|sub-portal=sub-portal
}}

gibt:

Mit allen parametern ausgefüllt, die sich unter der übergeordneten

{{Meta link towards portal
|portal=Portal
|title=Titel
|icon=Dummy.png
|title sub-portal=Titel, sub-portal
|sub-portal=sub-portal
}}

gibt: