Vorlage:Meta link towards portal/Documentation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „{{Trad|EN=Template:Meta link towards portal/Documentation|FR=Modèle:Méta lien vers portail/Documentation}} [[{{FULLPAGENAME}}|⇐]] == Usage == The '''templ…“)
 
Zeile 12: Zeile 12:
 
|title=...
 
|title=...
 
|portal=...
 
|portal=...
|tite sub-portal=...
+
|titrl sub-portal=...
 
|sub-portal=...
 
|sub-portal=...
 
}}
 
}}
Zeile 47: Zeile 47:
 
|title sub-portal=Title sub-portal
 
|title sub-portal=Title sub-portal
 
|sub-portal=Sub-portal
 
|sub-portal=Sub-portal
 +
|palette=zorai
 
}}
 
}}
 
</pre>
 
</pre>
Zeile 57: Zeile 58:
 
|title sub-portal=Title sub-portal
 
|title sub-portal=Title sub-portal
 
|sub-portal=Sub-portal
 
|sub-portal=Sub-portal
 +
|palette=zorai
 
}}
 
}}
  

Version vom 26. März 2018, 10:17 Uhr

en:Template:Meta link towards portal/Documentation
fr:Modèle:Méta lien vers portail/Documentation
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎

Usage

The template Meta link towards portal allows you to display banners of portal.

Syntax

{{Meta link towards portal |parent=none |icon=... |title=... |portal=... |titrl sub-portal=... |sub-portal=... }}

Settings

  • parent : if present, and with a value other than parent, allows the concatenation of sub-portal. To verify, algorithm locally incomplete or broken
  • icon : Image used as icon portal. The image is reduced to the size of the banner. By default it is the icon "stub.png".
  • title : Title of the portal.
  • portal : Link in the portal.
  • title sub-portal : Sub-title possible.
  • sub-portal : Link associated with the sub-title.

Example

The minimum

{{Meta link towards portal
|title=Title
|portal=Portal
}}

gives:

With all the parameters filled in

{{Meta link towards portal
|parent=none
|icon=Dummy.png
|title=Title
|portal=Portal
|title sub-portal=Title sub-portal
|sub-portal=Sub-portal
|palette=zorai
}}

gives:

With all the parameters filled in under parent

{{Meta link towards portal
|parent=parent
|icon=Dummy.png
|title=Title
|portal=Portal
|title sub-portal=Title sub-portal
|sub-portal=Sub-portal
}}

gives: