Template:Event Infobox: Difference between revisions
From Blockate Wiki
Content added Content deleted
No edit summary |
Megamonsta2 (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable infobox" |
|||
! colspan="2" class="infobox-header" style="background-color: #ff5959;" | {{{title|{{PAGENAME}}}}} |
|||
<title source="title"> |
|||
|- {{#if: {{{image|}}}||style="display: none"}} |
|||
<default>{{PAGENAME}}</default> |
|||
! colspan="2" | [[File:{{{image}}}|200px]] |
|||
</title> |
|||
|- {{#if: {{{caption|}}}||style="display: none"}}{{#if: {{{image|}}}||style="display: none"}} |
|||
<image source="image"> |
|||
| colspan="2" style="text-align: center" | <small>{{{caption}}}</small> |
|||
<caption source="caption"/> |
|||
|- {{#if: {{{date|}}}||style="display: none"}} |
|||
</image> |
|||
! Date |
|||
<data source="date"> |
|||
| {{{date}}} |
|||
<label>Date</label> |
|||
|- {{#if: {{{effect|}}}||style="display: none"}} |
|||
</data> |
|||
! Effect |
|||
<data source="effect"> |
|||
| <ul>{{{effect}}}</ul> |
|||
<label>Effect</label> |
|||
|- {{#if: {{{world|}}}||style="display: none"}} |
|||
</data> |
|||
⚫ | |||
<data source="world"> |
|||
| <ul>{{{world}}}</ul> |
|||
⚫ | |||
|- {{#if: {{{users|}}}||style="display: none"}} |
|||
</data> |
|||
⚫ | |||
<data source="users"> |
|||
| <ul>{{{users}}}</ul> |
|||
⚫ | |||
|} |
|||
</data> |
|||
</infobox> |
|||
<noinclude> |
<noinclude> |
||
Example usage:<pre> |
Example usage:<pre> |
||
Line 31: | Line 31: | ||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Templates]][[Category:Infobox Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 22:38, 7 November 2022
Event Infobox |
---|
Example usage:
{{Event Infobox |title=Example |image=Example |caption=Example |date=Example |effect=Example |world=Example |users=Example }}