Difference between revisions of "Template:Meta link towards portal"
From EncyclopAtys
Line 4: | Line 4: | ||
background: -webkit-gradient(linear, center top, center bottom, from(#{{ColorAtys|type=bg|group={{{color}}}}}), to(#{{ColorAtys|type=light|group={{{palette}}}}})); | background: -webkit-gradient(linear, center top, center bottom, from(#{{ColorAtys|type=bg|group={{{color}}}}}), to(#{{ColorAtys|type=light|group={{{palette}}}}})); | ||
background: -webkit-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | background: -webkit-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | ||
− | background: -moz-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{ | + | background: -moz-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); |
background: -o-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | background: -o-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | ||
− | background: -ms-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{ | + | background: -ms-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); |
background: linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | background: linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); | ||
color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; | color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; |
Revision as of 09:15, 8 June 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: