Template:EventInfobox: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 16: Line 16:
! colspan="1" style="text-align:left; width:30%" | Duration
! colspan="1" style="text-align:left; width:30%" | Duration
| colspan="3" | {{{duration}}}
| colspan="3" | {{{duration}}}
|- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }}
|- {{#if: {{{side1|}}}{{{side2|}}}{{{participants1|}}}{{{participants2|}}} | | style="display: none;" }}
! 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|}}}{{{participants1|}}}{{{participants2|}}} | | style="display: none;" }}
! colspan="2" style="text-align:center; width:50%" | {{{side1}}}
! colspan="2" style="text-align:center; width:50%" | {{{side1|}}}
! colspan="2" style="text-align:center; width:50%" | {{{side2}}}
! colspan="2" style="text-align:center; width:50%" | {{{side2|}}}
|- {{#if: {{{side1|}}}{{{side2|}}} | | style="display: none;" }}
|- {{#if: {{{side1|}}}{{{side2|}}}{{{participants1|}}}{{{participants2|}}} | | style="display: none;" }}
| colspan="2" style="vertical-align:top;" | {{{participants1|}}}
| colspan="2" style="vertical-align:top;" | {{{participants1|}}}
| colspan="2" style="vertical-align:top;" | {{{participants2|}}}
| colspan="2" style="vertical-align:top;" | {{{participants2|}}}
Line 27: Line 27:
! 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%" | Side 1
! colspan="2" style="text-align:center; width:50%" | {{{side1|}}}
! colspan="2" style="text-align:center; width:50%" | Side 2
! 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]]
| competition = [[Category:Competitions]]
| [[Category:Events]]}}
[[Category:Events]]
</includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{EventInfobox
{{EventInfobox
|name =
|image =  
|image =  
|event_type =  
|event_type =  
Line 46: Line 56:
|participants1 =  
|participants1 =  
|participants2 =  
|participants2 =  
|casualties1 =  
|casualties1 =
|casualties2 =  
|casualties2 =
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 07:06, 23 June 2026

Usage

{{EventInfobox
|image = 
|event_type = 
|location = 
|duration = 
|side1=
|side2=
|participants1 = 
|participants2 = 
|casualties1 =
|casualties2 =
}}