Template:InfoboxEvent: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 18: | Line 18: | ||
| alt-names = Alternative Names | | alt-names = Alternative Names | ||
| type = Example Type | | type = Example Type | ||
| | | outcome = Example Outcome | ||
| below_text = '''425 total dead''' | | below_text = '''425 total dead''' | ||
}} | }} | ||
| Line 46: | Line 46: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{outcome|}}}| | ||
{{!}} colspan="1" style="text-align:left; vertical-align:top; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold; width:25%" {{!}} | {{!}} colspan="1" style="text-align:left; vertical-align:top; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold; width:25%" {{!}} Outcome | ||
{{!}} colspan="1" style="text-align:left; vertical-align:top; padding: 5px 10px 5px 10px; line-height:14px;" {{!}} {{{ | {{!}} colspan="1" style="text-align:left; vertical-align:top; padding: 5px 10px 5px 10px; line-height:14px;" {{!}} {{{outcome|}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Latest revision as of 01:48, 2 September 2025
Usage
To use this infobox template, copy and paste the code below into your article and fill in the fields:
{{InfoboxEvent
| BG = #153229
| image = Example.jpg
| imageBG = #153229
| nameBG = #153229
| headerBG = #1B4236
| cellBG = #1B4236
| color2 = #fff
| name = Example Event
| date = January 1, 2024
| location = Example Location
| alt-names = Alternative Names
| type = Example Type
| outcome = Example Outcome
| below_text = '''425 total dead'''
}}
| InfoboxEvent |
|---|