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

From EncyclopAtys

Jump to: navigation, search
Line 8: Line 8:
  
 
<nowiki>{{</nowiki>{{BASEPAGENAME}}
 
<nowiki>{{</nowiki>{{BASEPAGENAME}}
|parent=aucun
+
|parent=none
|icône=...
+
|icon=...
|titre=...
+
|title=...
|portail=...
+
|portal=...
|titre sous-portail=...
+
|titrl sub-portal=...
|sous-portail=...
+
|sub-portal=...
 
}}
 
}}
  

Revision as of 10:15, 26 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-26)

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: