Template:EventInfobox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> {| align="right" style="margin:0 0 0.5em 1em; border:1px solid #A2A9B1; background-color:#F8F9FA; border-collapse: separate; border-spacing: 5px; width:300px; font-size:90%" |- ! colspan="4" style="font-size:125%; text-align:center; background-color:#D5D1EC; color:black; padding: 10px;" | {{{name|{{PAGENAME}}}}} |- | colspan="4" align="center" | Event |- {{#if: {{{image|}}} | | style="display: none;" }} | colspan="4" align="center" | ..." |
No edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{| align="right" style="margin:0 0 0.5em 1em; border:1px solid #A2A9B1; background-color:#F8F9FA; border-collapse: separate; border-spacing: 5px; width:300px; font-size:90%" | {| align="right" style="margin:0 0 0.5em 1em; border:1px solid #A2A9B1; background-color:#F8F9FA; border-collapse: separate; border-spacing: 5px; width:300px; font-size:90%" | ||
|- | |- | ||
! colspan="4" style="font-size:125%; text-align:center; background-color:#D5D1EC; color:black; padding: 10px;" | ! colspan="4" style="font-size:125%; text-align:center; background-color:#D5D1EC; color:black; padding: 10px;" | {{PAGENAME}} | ||
|- | |- | ||
| colspan="4" align="center" | [[:Category:Events|Event]] | | colspan="4" align="center" | [[:Category:Events|Event]] | ||
|- {{#if: {{{image|}}} | | style="display: none;" }} | |- {{#if: {{{image|}}} | | style="display: none;" }} | ||
| colspan="4" align="center" | [[Image:{{{image}}}{{!}} | | colspan="4" align="center" | [[Image:{{{image}}}{{!}}240px]] | ||
|- {{#if: {{{event_type|}}} | | style="display: none;" }} | |- {{#if: {{{event_type|}}} | | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width:30%" | Type | ! colspan="1" style="text-align:left; width:30%" | Type | ||
| Line 19: | Line 19: | ||
! colspan="4" style="text-align:center; background-color:#e6e3f4" | '''Participants''' | ! colspan="4" style="text-align:center; background-color:#e6e3f4" | '''Participants''' | ||
|- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }} | |- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }} | ||
! colspan="2" style="text-align:center; width:50%" | | ! colspan="2" style="text-align:center; width:50%" | {{{side1}}} | ||
! colspan="2" style="text-align:center; width:50%" | | ! colspan="2" style="text-align:center; width:50%" | {{{side2}}} | ||
|- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }} | |- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }} | ||
| colspan="2" style="vertical-align:top;" | {{{ | | colspan="2" style="vertical-align:top;" | {{{participants1|}}} | ||
| colspan="2" style="vertical-align:top;" | {{{ | | colspan="2" style="vertical-align:top;" | {{{participants2|}}} | ||
|- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | |- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | ||
! colspan="4" style="text-align:center; background-color:#e6e3f4" | '''Casualties''' | ! colspan="4" style="text-align:center; background-color:#e6e3f4" | '''Casualties''' | ||
|- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | |- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | ||
! colspan="2" style="text-align:center; width:50%" | | ! colspan="2" style="text-align:center; width:50%" | {{{side1}}} | ||
! colspan="2" style="text-align:center; width:50%" | | ! colspan="2" style="text-align:center; width:50%" | {{{side2}}} | ||
|- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | |- {{#if: {{{casualties1|}}}{{{casualties2|}}} | | style="display: none;" }} | ||
| colspan="2" style="vertical-align:top;" | {{{casualties1|}}} | | colspan="2" style="vertical-align:top;" | {{{casualties1|}}} | ||
| colspan="2" style="vertical-align:top;" | {{{casualties2|}}} | | colspan="2" style="vertical-align:top;" | {{{casualties2|}}} | ||
|} | |} | ||
{{ #switch: {{lc:{{{event_type|}}}}} | |||
| conflict = [[Category:Conflicts]] | |||
| milestone = [[Category:Milestones]] | |||
| project = [[Category:Projects]] | |||
| death = [[Category:Deaths]] | |||
| ceremony = [[Category:Ceremonies]] | |||
| natural = [[Category:Natural Events]] | |||
| admin = [[Category:Admin Events]] | |||
| [[Category:Events]]}} | |||
[[Category:Events]] | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{EventInfobox | {{EventInfobox | ||
|image = | |image = | ||
|event_type = | |event_type = | ||
|location = | |location = | ||
|duration = | |duration = | ||
|side1 = | |side1= | ||
|side2 = | |side2= | ||
|casualties1 = | |participants1 = | ||
|casualties2 = | |participants2 = | ||
|casualties1 = | |||
|casualties2 = | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:20, 7 January 2026
Usage
{{EventInfobox
|image =
|event_type =
|location =
|duration =
|side1=
|side2=
|participants1 =
|participants2 =
|casualties1 =
|casualties2 =
}}