Difference between revisions of "Template:Meta link towards portal"

From EncyclopAtys

Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{{{FULLPAGENAME}}/Documentation}}</noinclude>
 
<noinclude>{{{{FULLPAGENAME}}/Documentation}}</noinclude>
<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;
+
<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: left;
 
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#def), color-stop(100%,#000));
 
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#def), color-stop(100%,#000));
 
background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#def));
 
background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#def));

Revision as of 13:36, 14 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-14)

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

  • portal : Link in the portal.
  • title : Title of the portal.
  • 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 sub-portal : Sub-title possible.
  • sub-portal : Link associated with the sub-title.

Example

The minimum

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

gives:

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:


  • link=Portal:{{{portal}}}[[Portal:{{{portal}}}|{{{title}}}]]