Difference between revisions of "Template:Meta link towards portal/Documentation"
From EncyclopAtys
(2 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 28: | Line 26: | ||
<pre> | <pre> | ||
{{Meta link towards portal | {{Meta link towards portal | ||
+ | |portal=Portal | ||
|title=Title | |title=Title | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
gives: | gives: | ||
{{Meta link towards portal | {{Meta link towards portal | ||
+ | |portal=Portal | ||
|title=Title | |title=Title | ||
− | |||
}} | }} | ||
Line 41: | Line 39: | ||
<pre> | <pre> | ||
{{Meta link towards portal | {{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 51: | Line 49: | ||
gives: | gives: | ||
{{Meta link towards portal | {{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: