Line 1: | Line 1: | ||
<noinclude>{{{{FULLPAGENAME}}/Documentation}}</noinclude> | <noinclude>{{{{FULLPAGENAME}}/Documentation}}</noinclude> | ||
− | <div style="margin: 0em; padding:0.1em; border: thin ridge #{{ColorAtys|type=light|group={{{ | + | <div style="margin: 0em; padding:0.1em; border: thin ridge #{{ColorAtys|type=light|group={{{palette}}}}}; border-width: medium 0 0 0; font-size: 1em; background-color: #{{ColorAtys|type=bg|group={{{palette}}}}};font-weight:bold; text-align: left; |
− | background: -webkit-gradient(linear, left top, right top, color-stop(0%,#{{ColorAtys|type=light|group={{{ | + | background: -webkit-gradient(linear, left top, right top, color-stop(0%,#{{ColorAtys|type=light|group={{{palette}}}}}), color-stop(100%,#000)); |
− | background: -webkit-gradient(linear, center top, center bottom, from(#{{ColorAtys|type=bg|group={{{color}}}}}), to(#{{ColorAtys|type=light|group={{{ | + | 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={{{ | + | background: -webkit-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); |
− | background: -moz-linear-gradient(#{{ColorAtys|type=bg|group={{{ | + | background: -moz-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{copalettelor}}}}}); |
− | background: -o-linear-gradient(#{{ColorAtys|type=bg|group={{{ | + | background: -o-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); |
− | background: -ms-linear-gradient(#{{ColorAtys|type=bg|group={{{ | + | background: -ms-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{cpaletteolor}}}}}); |
− | background: linear-gradient(#{{ColorAtys|type=bg|group={{{ | + | background: linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}); |
− | color: # | + | color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em;><!-- |
-->{{#ifeq:{{{parent|none}}}|none|<ul style="text-align: center; margin: 0em; padding:0.3em; border-width: 0 thin thick thin; list-style-type: disc; ">}}<li>[[File:{{{icon|Stub.png}}}|48x24px|{{{title}}}|link=Portal:{{{portal}}}]][[Portal:{{{portal}}}|{{{title}}}]] {{#if:{{{sub-portal|}}}|• [[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]}}</li>{{#ifeq:{{{parent|none}}}|none|</ul>}}</div><noinclude> | -->{{#ifeq:{{{parent|none}}}|none|<ul style="text-align: center; margin: 0em; padding:0.3em; border-width: 0 thin thick thin; list-style-type: disc; ">}}<li>[[File:{{{icon|Stub.png}}}|48x24px|{{{title}}}|link=Portal:{{{portal}}}]][[Portal:{{{portal}}}|{{{title}}}]] {{#if:{{{sub-portal|}}}|• [[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]}}</li>{{#ifeq:{{{parent|none}}}|none|</ul>}}</div><noinclude> | ||
[[Category:Template:Portal]] | [[Category:Template:Portal]] | ||
[[Category:Exclude in print]] | [[Category:Exclude in print]] | ||
</noinclude> | </noinclude> |
The template Meta link towards portal allows you to display banners of portal.
{{Meta link towards portal |portal=... |title=... |icon=... |titrl sub-portal=... |sub-portal=... }}
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.{{Meta link towards portal |portal=Portal |title=Title }}
gives:
{{Meta link towards portal |portal=Portal |title=Title |icon=Dummy.png |palette=zorai |title sub-portal=Title sub-portal |sub-portal=Sub-portal }}
gives: