Jump to content

Template:Infobox legislative term: Difference between revisions

From The Mighty Kingdoms Wiki
Template>Grapesurgeon
adding ability to embed other arbitrary modules at bottom, standard feature in other infoboxes; tested already in sandbox
 
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vevent
| bodyclass = vevent
| bodystyle = {{#if:{{{box_width|}}}|width: {{{box_width}}};}}
| bodystyle = {{#if:{{{box_width|}}}|width: {{{box_width}}};background-color: var(--background-color-neutral-subtle);}}


| abovestyle  = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
| abovestyle  = {{#if:{{{background_color|}}}|border-top: 2px solid var(--background-color-neutral-subtle); border-bottom: 2px solid var(--background-color-neutral-subtle)|background-color: var(--background-color-neutral-subtle)}}
| above    = {{{name|{{PAGENAMEBASE}}}}}
| above    = {{{name|{{PAGENAMEBASE}}}}}
| aboveclass = summary


| subheader = {{#if:{{{before|}}}{{{after|}}}|
| subheader = {{#if:{{{before|}}}{{{after|}}}|
Line 13: Line 12:
}}</tr></table>
}}</tr></table>
  }}
  }}
| subheaderstyle = border-top: 1px solid #aaa;
| subheaderstyle = border-top: 1px solid #aaa; background-color: var(--background-color-neutral-subtle);


| headerstyle = background-color: #ededed;
| headerstyle = background-color: var(--background-color-neutral-subtle);


| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}

Latest revision as of 17:30, 28 July 2025

Infobox legislative term
Overview

Script error: The function "main" does not exist.