Template:Pageframe: Difference between revisions
Jump to navigation
Jump to search
{{{title}}}
THIS TEMPLATE SHOULD NOT BE EDITED UNLESS ABSOLUTELY NESSESARY
Test1
Tag: Undo |
m (Small color tweak) |
||
Line 2: | Line 2: | ||
<div style="background: {{{color|#444}}}; border-radius: 1em 1em 0 0; color: #FFF; padding: .3em .3em .3em .3em; box-shadow: 0 0 .5em #888;"><center>{{#if:{{{icon|}}}|<span style="float:left; color: #FFF; margin-left: .42em;">{{{icon}}}</span>|}}'''{{{title}}}'''{{#if:{{{icon|}}}|<span style="float:right; color: #FFF; margin-right: 0.42em;">{{{icon}}}</span>|}}</center></div> | <div style="background: {{{color|#444}}}; border-radius: 1em 1em 0 0; color: #FFF; padding: .3em .3em .3em .3em; box-shadow: 0 0 .5em #888;"><center>{{#if:{{{icon|}}}|<span style="float:left; color: #FFF; margin-left: .42em;">{{{icon}}}</span>|}}'''{{{title}}}'''{{#if:{{{icon|}}}|<span style="float:right; color: #FFF; margin-right: 0.42em;">{{{icon}}}</span>|}}</center></div> | ||
<div style="background: #FFFFFF;"> | <div style="background: #FFFFFF;"> | ||
<div style="border: solid {{{color|#444444}}} | <div style="border: solid {{{color|#444444}}}8e; border-width: 0 0 .15em 0;"></div> | ||
<div style="margin: .42em .5em .5em .5em; padding: .5em; background: {{{color|#444444}}}1e; border-radius: 0 0 1em 1em; box-shadow: 0 0 .3em #888;"> | <div style="margin: .42em .5em .5em .5em; padding: .5em; background: {{{color|#444444}}}1e; border-radius: 0 0 1em 1em; box-shadow: 0 0 .3em #888;"> | ||
{{{content}}} | {{{content}}} |
Revision as of 20:36, 11 March 2023
{{{content}}}
How to use this template
This template has several parameters and all of them will be displayed in the example below.
Important note: The icon
parameter is only meant to be used with the FontAwesome extension For usage see the extension itself. A list of use-able icons can be found here on the FontAwesome website (We can only use Free Icons from version 5.15.4 or older, keep this in mind when looking for icons to use.)
{{Pageframe | color = #005C53 | icon = {{#fas:gavel}} | title = Test1 | content = Test2 | width = 80% }} These parameters will result in the following:
Test2