Line 1: Line 1:
<!-- IMPORTANT
+
<noinclude>{{{{FULLPAGENAME}}/Documentation}}</noinclude>
* 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]
+
<div style="margin: 0em; padding:0.3em; border: thick ridge #dfe; border-width: thick 0 0 0; font-size: 1.1em; background-color: #fff;font-weight:bold; text-align: right;
* Laissez une espace entre chacun des différents éléments (icône, texte, séparateur, ...)
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#def), color-stop(100%,#000));
* Le fonctionnement technique du modèle est expliqué en sous-page de documentation
+
background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#def));
-->{{#ifeq:{{{parent|none}}}|none|<ul id="banner-portal" class="banner-portal">}}<li><span class="banner-portal-element"><span class="banner-portal-icon">[[File:{{{icon|Stub.png}}}|48x24px|{{{title}}}|link=Portal:{{{portal}}}]]</span> <span class="banner-portal-text">[[Portal:{{{portal}}}|{{{title}}}]]</span> {{#if:{{{sub-portal|}}}|• <span class="banner-sub-portal-text">[[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]</span>}}</span></li>{{#ifeq:{{{parent|none}}}|none|</ul>}}<noinclude>
+
background: -webkit-linear-gradient(#fff, #def);
{{{{FULLPAGENAME}}/Documentation}}
+
background: -moz-linear-gradient(#fff, #def);
 +
background: -o-linear-gradient(#fff, #def);
 +
background: -ms-linear-gradient(#def, #def);
 +
background: linear-gradient(#fff, #def);
 +
color: #6f9; text-shadow: #000 .2em .2em .3em, #000 .1em .1em .1em, #fff -.1em -.1em .1em;
 +
color: #000; text-shadow: #9ff .1em .1em .5em, #0ff -.1em -.1em .3em, #033 .1em .1em .1em;"><!--
 +
-->{{#ifeq:{{{parent|none}}}|none|<ul style="text-align: center; margin: 0em; padding:0.3em; border-width: 0 thin thick thin;">}}<li>[[File:{{{icon|Stub.png}}}|48x24px|{{{title}}}|link=Portal:{{{portal}}}]][[Portal:{{{portal}}}|{{{title}}}]] {{#if:{{{sub-portal|}}}|• [[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]}}</li>{{#ifeq:{{{parent|none}}}|none|</ul>}}<noinclude>
 
[[Category:Template:Portal]]
 
[[Category:Template:Portal]]
 
[[Category:Exclure lors de l'impression]]
 
[[Category:Exclure lors de l'impression]]
 
</noinclude>
 
</noinclude>

Revision as of 22:00, 13 March 2018

en:Template:Meta link towards portal/Documentation
fr:Modèle:Méta lien vers portail/Documentation
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2018-03-13)

Contents

Usage

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

Syntax

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

Settings

Example

The minimum

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

gives:

Title Title

With all the parameters filled in

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

gives:

Title TitleTitle sub-portal


Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=Template:Meta_link_towards_portal&oldid=26190"