Line 5: | Line 5: | ||
background-color: #{{ColorAtys|type=bg|group={{{palette}}}}}; | background-color: #{{ColorAtys|type=bg|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: # | + | color: #000; |
font-size: 1em; | font-size: 1em; | ||
font-weight:bold; | font-weight:bold; | ||
text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; | text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; | ||
text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} .1em .1em .1em, #{{ColorAtys|type=light|group={{{palette}}}}} -.1em -.1em .1em; | text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} .1em .1em .1em, #{{ColorAtys|type=light|group={{{palette}}}}} -.1em -.1em .1em; | ||
+ | text-shadow: #{{ColorAtys|type=bg|group={{{palette}}}}} -.05em -.05em .05em, #{{ColorAtys|type=fg|group={{{palette}}}}} .15em .15em .3em, #{{ColorAtys|type=bg|group={{{palette}}}}} -.04em -.04em .04em; | ||
text-align: center;"><!-- | text-align: center;"><!-- | ||
-->[[File:{{{icon|Stub.png}}}|{{{size|48x24}}}px|{{{title}}}|link=Portal:{{{portal}}}]] [[Portal:{{{portal}}}|{{{title}}}]] {{#if:{{{sub-portal|}}}|• [[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]}}</div><noinclude> | -->[[File:{{{icon|Stub.png}}}|{{{size|48x24}}}px|{{{title}}}|link=Portal:{{{portal}}}]] [[Portal:{{{portal}}}|{{{title}}}]] {{#if:{{{sub-portal|}}}|• [[Portal:{{{portal}}}/{{{sub-portal}}}|{{{title sub-portal}}}]]}}</div><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: