Difference between revisions of "Template:Meta link towards portal/Documentation"
From EncyclopAtys
(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...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}} | <nowiki>{{</nowiki>{{BASEPAGENAME}} | ||
− | | | + | |portal=... |
− | + | |title=... | |
− | | | + | |icon=... |
− | | | + | |titrl sub-portal=... |
− | | | + | |sub-portal=... |
− | | | ||
}} | }} | ||
== Settings == | == Settings == | ||
− | * <code> | + | * <code>portal</code> : Link in the portal. |
+ | * <code>title</code> : Title of the portal. | ||
* <code>icon</code> : Image used as icon portal. The image is reduced to the size of the banner. By default it is the icon "stub.png". | * <code>icon</code> : Image used as icon portal. The image is reduced to the size of the banner. By default it is the icon "stub.png". | ||
− | |||
− | |||
* <code>title sub-portal</code> : Sub-title possible. | * <code>title sub-portal</code> : Sub-title possible. | ||
* <code>sub-portal</code> : Link associated with the sub-title. | * <code>sub-portal</code> : Link associated with the sub-title. | ||
Line 27: | Line 25: | ||
===The minimum=== | ===The minimum=== | ||
<pre> | <pre> | ||
− | {{Meta link | + | {{Meta link towards portal |
+ | |portal=Portal | ||
|title=Title | |title=Title | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
gives: | gives: | ||
− | {{Meta link | + | {{Meta link towards portal |
+ | |portal=Portal | ||
|title=Title | |title=Title | ||
− | |||
}} | }} | ||
===With all the parameters filled in=== | ===With all the parameters filled in=== | ||
<pre> | <pre> | ||
− | {{Meta link | + | {{Meta link towards portal |
− | | | + | |portal=Portal |
+ | |title=Title | ||
|icon=Dummy.png | |icon=Dummy.png | ||
− | | | + | |palette=zorai |
− | |||
|title sub-portal=Title sub-portal | |title sub-portal=Title sub-portal | ||
|sub-portal=Sub-portal | |sub-portal=Sub-portal | ||
Line 50: | Line 48: | ||
</pre> | </pre> | ||
gives: | gives: | ||
− | {{Meta link | + | {{Meta link towards portal |
− | |||
− | |||
− | |||
|portal=Portal | |portal=Portal | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|title=Title | |title=Title | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|icon=Dummy.png | |icon=Dummy.png | ||
− | | | + | |palette=zorai |
− | |||
|title sub-portal=Title sub-portal | |title sub-portal=Title sub-portal | ||
|sub-portal=Sub-portal | |sub-portal=Sub-portal |
Latest revision as of 12:37, 1 July 2018
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
-
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: