Template:Frame: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div style="display: flex; flex-direction: column; "><div style="width: 100%; background: #{{{color|888888}}}; border-radius: .2em .2em 0 0; color: #FFF; padding: .4em .8em .5em;">[[File:{{{filename|UNIPLogoLowRes.png}}}|40px|link=|alt=]] &nbsp; '''{{{title}}}'''</div>
<div style="position: relative; height: 100%"><div style="width: 100%; background: #{{{color|888888}}}; border-radius: .2em .2em 0 0; color: #FFF; padding: .4em .8em .5em;">[[File:{{{filename|UNIPLogoLowRes.png}}}|40px|link=|alt=]] &nbsp; '''{{{title}}}'''</div>
<div style="flex-grow: 1; width: 100%; padding: 1em; border-radius: 0 0 .2em .2em; background: #{{{color|888888}}}33; padding: .4em .8em .5em;">{{{content}}}</div></div><noinclude><templatedata>
<div style="position: absolute; top: 0; bottom: 0; width: 100%; padding: 1em; border-radius: 0 0 .2em .2em; background: #{{{color|888888}}}33; padding: .4em .8em .5em;">{{{content}}}</div><noinclude><templatedata>
{
{
     "description": "Frame to be used on the main page",
     "description": "Frame to be used on the main page",

Revision as of 01:44, 30 January 2024

  {{{title}}}
{{{content}}}

Frame to be used on the main page

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Colourcolor

The colour used for the header and body (with transparency)

Stringoptional
Icon Filenamefilename

Filename used for the icon

Stringoptional
Titletitle

Title text

Stringoptional
Contentcontent

Content text

Stringoptional