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

From EncyclopAtys

Jump to: navigation, search
(Created page with "{{Trad|EN=Template:Meta link towards portal/Documentation|FR=Modèle:Méta lien vers portail/Documentation}} [[{{FULLPAGENAME}}|⇐]] == Usage == The '''template ''{{BASEPAGE...")
 
Line 27: Line 27:
 
===The minimum===
 
===The minimum===
 
<pre>
 
<pre>
{{Meta link to portal
+
{{Meta link towards portal
 
|title=Title
 
|title=Title
 
|portal=Portal
 
|portal=Portal
Line 33: Line 33:
 
</pre>
 
</pre>
 
gives:
 
gives:
{{Meta link to portal
+
{{Meta link towards portal
 
|title=Title
 
|title=Title
 
|portal=Portal
 
|portal=Portal
Line 40: Line 40:
 
===With all the parameters filled in===
 
===With all the parameters filled in===
 
<pre>
 
<pre>
{{Meta link to portal
+
{{Meta link towards portal
 
|parent=none
 
|parent=none
 
|icon=Dummy.png
 
|icon=Dummy.png
Line 50: Line 50:
 
</pre>
 
</pre>
 
gives:
 
gives:
{{Meta link to portal
+
{{Meta link towards portal
 
|parent=none
 
|parent=none
 
|icon=Dummy.png
 
|icon=Dummy.png
Line 61: Line 61:
 
===With all the parameters filled in under parent===
 
===With all the parameters filled in under parent===
 
<pre>
 
<pre>
{{Meta link to portal
+
{{Meta link towards portal
 
|parent=parent
 
|parent=parent
 
|icon=Dummy.png
 
|icon=Dummy.png
Line 71: Line 71:
 
</pre>
 
</pre>
 
gives:
 
gives:
{{Meta link to portal
+
{{Meta link towards portal
 
|parent=parent
 
|parent=parent
 
|icon=Dummy.png
 
|icon=Dummy.png

Revision as of 14:50, 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 |parent=aucun |icône=... |titre=... |portail=... |titre sous-portail=... |sous-portail=... }}

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
}}

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: