Template:Infobox state rep: Difference between revisions
Jump to navigation
Jump to search
documentation |
|||
Line 1: | Line 1: | ||
{{ | {{Infobox|child={{{child|}}} | ||
| bodyclass = biography vcard | |||
| above = {{br separated entries | |||
|1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}} | |||
|2={{#if:{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}|<span class="fn">{{{name|{{PAGENAME}} }}}</span>}} | |||
|3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} | |||
}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} | |||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | |||
| labelstyle = padding-right:0.6em;<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on same line)--> | |||
| title = {{{title|{{PAGENAME}}}}} | | title = {{{title|{{PAGENAME}}}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
Line 19: | Line 29: | ||
| label9 = Party | | label9 = Party | ||
| data9 = {{{party|}}} | | data9 = {{{party|}}} | ||
| below = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}} | |||
| belowstyle = border-top:1px solid #aaaaaa; text-align:left | |||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 19:14, 29 March 2025
This template, currently in development, can be used to easily create infoboxes for members of the Massachusetts House of Representatives.