Vorlage:Portal/Documentation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
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 40: Zeile 40:
 
|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 49: Zeile 49:
 
|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 59: Zeile 59:
 
|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 68: Zeile 68:
 
|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

Version vom 10. Juni 2018, 17:06 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: