Vorlage:Portal: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<!-- IMPORTANT * Ne pas insérer de retour à la ligne en dehors des bornes «noinclude», à cause de bogue 9207 [https://bugzilla.wikimedia.org/show_bug.cgi?…“)
 
K
 
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<!-- IMPORTANT
+
<noinclude>{{Trad
* Ne pas insérer de retour à la ligne en dehors des bornes «noinclude», à cause de bogue 9207 [https://bugzilla.wikimedia.org/show_bug.cgi?id=9207]
+
|DE=Vorlage:Portal
* Le fonctionnement technique du modèle est expliqué en sous-page de documentation
+
|EN=Template:Portal
--><includeonly><ul {{#ifeq:{{{style|}}}|liste|id{{=}}"liste-portail" class{{=}}"liste"|id{{=}}"bandeau-portail" class{{=}}"bandeau-portail"}}><!--
+
|ES=Template:Portal
-->{{#if:{{{1|}}} | {{Portail {{{1}}}|parent=bandeau}} | <li><strong class="error">Erreur dans l'utilisation de [[Modèle:Portail]] :  paramètre obligatoire absent.</strong></li> }}<!--
+
|FR=Modèle:Portail
-->{{#if:{{{2|}}} | {{Portail {{{2}}}|parent=bandeau}} }}<!--
+
|RU=Template:Portal
-->{{#if:{{{3|}}} | {{Portail {{{3}}}|parent=bandeau}} }}<!--
+
}}</noinclude><!--
-->{{#if:{{{4|}}} | {{Portail {{{4}}}|parent=bandeau}} }}<!--
+
--><includeonly><ul {{#ifeq:{{{style|}}}|list|id{{=}}"list-portal" class{{=}}"list"|id{{=}}"banner-portal" class{{=}}"banner-portal" style="margin: 0em; padding:0em;
-->{{#if:{{{5|}}} | {{Portail {{{5}}}|parent=bandeau}} }}<!--
+
border: thin outset #{{ColorAtys|type=dark|group=}};"}}><!--
-->{{#if:{{{6|}}} | {{Portail {{{6}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{1|}}} | {{Portal {{{1}}}|parent=banner}} | <li><strong class="error">Error using [[Template:Portal]] :  lacking parameter.</strong></li> }}<!--
-->{{#if:{{{7|}}} | {{Portail {{{7}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{2|}}} | {{Portal {{{2}}}|parent=banner}} }}<!--
-->{{#if:{{{8|}}} | {{Portail {{{8}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{3|}}} | {{Portal {{{3}}}|parent=banner}} }}<!--
-->{{#if:{{{9|}}} | {{Portail {{{9}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{4|}}} | {{Portal {{{4}}}|parent=banner}} }}<!--
-->{{#if:{{{10|}}} | {{Portail {{{10}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{5|}}} | {{Portal {{{5}}}|parent=banner}} }}<!--
-->{{#if:{{{11|}}} | {{Portail {{{11}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{6|}}} | {{Portal {{{6}}}|parent=banner}} }}<!--
-->{{#if:{{{12|}}} | {{Portail {{{12}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{7|}}} | {{Portal {{{7}}}|parent=banner}} }}<!--
-->{{#if:{{{13|}}} | {{Portail {{{13}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{8|}}} | {{Portal {{{8}}}|parent=banner}} }}<!--
-->{{#if:{{{14|}}} | {{Portail {{{14}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{9|}}} | {{Portal {{{9}}}|parent=banner}} }}<!--
-->{{#if:{{{15|}}} | {{Portail {{{15}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{10|}}} | {{Portal {{{10}}}|parent=banner}} }}<!--
-->{{#if:{{{16|}}} | {{Portail {{{16}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{11|}}} | {{Portal {{{11}}}|parent=banner}} }}<!--
-->{{#if:{{{17|}}} | {{Portail {{{17}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{12|}}} | {{Portal {{{12}}}|parent=banner}} }}<!--
-->{{#if:{{{18|}}} | {{Portail {{{18}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{13|}}} | {{Portal {{{13}}}|parent=banner}} }}<!--
-->{{#if:{{{19|}}} | {{Portail {{{19}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{14|}}} | {{Portal {{{14}}}|parent=banner}} }}<!--
-->{{#if:{{{20|}}} | {{Portail {{{20}}}|parent=bandeau}} }}<!--
+
-->{{#if:{{{15|}}} | {{Portal {{{15}}}|parent=banner}} }}<!--
-->{{#if:{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}} | <li><strong class="error">Erreur dans [[Modèle:Portail]] : trop de liens vers portail (maximum : 20)</strong></li>[[Catégorie:Page avec bandeau contenant trop de liens vers portail]] }}<!--
+
-->{{#if:{{{16|}}} | {{Portal {{{16}}}|parent=banner}} }}<!--
 +
-->{{#if:{{{17|}}} | {{Portal {{{17}}}|parent=banner}} }}<!--
 +
-->{{#if:{{{18|}}} | {{Portal {{{18}}}|parent=banner}} }}<!--
 +
-->{{#if:{{{19|}}} | {{Portal {{{19}}}|parent=banner}} }}<!--
 +
-->{{#if:{{{20|}}} | {{Portal {{{20}}}|parent=banner}} }}<!--
 +
-->{{#if:{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}} | <li><strong class="error">Error in [[Template:Portal]] : Too many links to portals (maximum : 20)</strong></li>[[Kategorie:Pages with banner containing too  many links to portals]] }}<!--
 
--></ul></includeonly><noinclude>
 
--></ul></includeonly><noinclude>
 
{{{{FULLPAGENAME}}/Documentation}}
 
{{{{FULLPAGENAME}}/Documentation}}
[[Catégorie:Modèle:Portail]]
+
[[Kategorie:Vorlage:Portal]]
[[Catégorie:Exclure lors de l'impression]]
 
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 2. Juli 2019, 22:10 Uhr

de:Vorlage:Portal
en:Template:Portal
es:Template:Portal
fr:Modèle:Portail
ru:Template:Portal
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎

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: