Template:Infobox elections/Referendum: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | templatestyles = Infobox elections/Referendum/styles.css | bodystyle = width:24em | headerstyle = background:#efefef; | title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{name}}}</div>}}|{{{name|{{PAGENAME}}}}}}} | subheader1 = {{#if:{{{flag_image|}}} |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50p...") |
mNo edit summary |
||
(9 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
| subheader1 = {{#if:{{{flag_image|}}} | | subheader1 = {{#if:{{{flag_image|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}{{If mobile||<hr />}} | |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}} flag.png|size=50px|alt=|link=}}{{If mobile||<hr />}} | ||
|{{#if:{{{country|}}} | |{{#if:{{{country|}}} | ||
|{{ | |{{#invoke:InfoboxImage|InfoboxImage|image={{{country}}} flag{{#if:{{{flag_type|}}}| {{{flag_type}}}}}.png|size=50px|alt=|link=}}{{If mobile||<hr />}} | ||
}} | }} | ||
}} | }} | ||
Line 23: | Line 23: | ||
}} | }} | ||
| subheader3 = {{#if:{{{title|{{{question| | | subheader3 = {{#if:{{{title|}}}{{{question|}}}|{{Infobox/box|{{{title|}}}{{{question|}}}|color=#FEFEFE|border color=#A2A9B1|border size=2px|width=calc(100% - 16px)|max-width=24em}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|240px}}}|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|240px}}}|alt={{{image_alt|}}}}} | ||
Line 43: | Line 43: | ||
|header6 = {{#if:{{{yes|}}}{{{no|}}}{{{blank|}}}{{{other|}}}{{{total|}}}|Results}} | |header6 = {{#if:{{{yes|}}}{{{no|}}}{{{blank|}}}{{{other|}}}{{{total|}}}|Results}} | ||
| data7 = {{#if:{{{yes|}}}{{{no|}}}{{{blank|}}}{{{other|}}}{{{total|}}}|{{Infobox | | data7 = {{#if:{{{yes|}}}{{{no|}}}{{{blank|}}}{{{other|}}}{{{total|}}}|{{Infobox elections/Referendum/results| yes_text = {{{yes_text|}}}| yes = {{{yes|}}}| no_text = {{{no_text|}}}| no = {{{no|}}}| blanktype = {{{blanktype|}}} |blank = {{{blank|}}}| othertype = {{{othertype|}}} | other = {{{other|}}} | {{#ifeq:{{{invalid|Ø}}}|Ø|Ø|invalid}} = {{{invalid|}}} | total= {{{total|}}}| totalref= {{{totalref|}}} | turnoutpct = {{{turnoutpct|}}}| electorate = {{{electorate|}}}| voter_registration = {{{voter_registration|}}} }} | ||
}} | }} | ||
Line 167: | Line 167: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}}[[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
[[category:Referendums]] |
Latest revision as of 23:23, 12 December 2024
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |