Difference between revisions of "Template:TitleBanner"
From EncyclopAtys
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#{{ColorAtys|group={{{palette}}}|type=dark}}; padding:.0em;text-overflow: ellipsis;">{{3DText|text={{{text}}} }}</div><!-- | <div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#{{ColorAtys|group={{{palette}}}|type=dark}}; padding:.0em;text-overflow: ellipsis;">{{3DText|text={{{text}}} }}</div><!-- | ||
<div style="margin:.0em; padding:.5em;">Content</div> --> </div></includeonly> | <div style="margin:.0em; padding:.5em;">Content</div> --> </div></includeonly> | ||
− | <noinclude> | + | <noinclude> |
== Parameters == | == Parameters == | ||
* icon an image to be used as left icon (defaults to dummy.png [[File:Dummy.png|40px]]) | * icon an image to be used as left icon (defaults to dummy.png [[File:Dummy.png|40px]]) | ||
Line 28: | Line 28: | ||
{{Clear}} | {{Clear}} | ||
<nowiki>{{TitleBanner | <nowiki>{{TitleBanner | ||
− | |||
|text=Template:TitleBanner }}</nowiki> | |text=Template:TitleBanner }}</nowiki> | ||
{{TitleBanner | {{TitleBanner | ||
− | |||
|text=Template:TitleBanner }}</noinclude> | |text=Template:TitleBanner }}</noinclude> |
Latest revision as of 12:47, 7 October 2020
Parameters
- icon an image to be used as left icon (defaults to dummy.png )
- iconsize: image size in pixels
- palette: wikipAtys colour theme
- text: The text to be displayed
Usage
{{TitleBanner |icon=<image> |iconsize= <size> |palette=<theme> |text= <title text> }}
Example
{{TitleBanner |icon=logo_40px.png |palette=tryker |text=Template:TitleBanner }}
Template:TitleBanner
{{TitleBanner |text=Template:TitleBanner }}
Template:TitleBanner