Difference between revisions of "Template:Meta link towards portal/Documentation"
From EncyclopAtys
Line 47: | Line 47: | ||
|title sub-portal=Title sub-portal | |title sub-portal=Title sub-portal | ||
|sub-portal=Sub-portal | |sub-portal=Sub-portal | ||
+ | |palette=zorai | ||
}} | }} | ||
</pre> | </pre> | ||
Line 57: | Line 58: | ||
|title sub-portal=Title sub-portal | |title sub-portal=Title sub-portal | ||
|sub-portal=Sub-portal | |sub-portal=Sub-portal | ||
+ | |palette=zorai | ||
}} | }} | ||
Revision as of 14:28, 24 March 2018
Contents
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 thanparent
, 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: