Template:Event Infobox: Difference between revisions

From Blockate Wiki
no edit summary
(Created page with "<infobox> <title source="username"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <data source="rank...")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1:
<{| class="wikitable infobox>"
! colspan="2" class="infobox-header" style="background-color: #ff5959;" | {{{title|{{PAGENAME}}}}}
<title source="username">
|- {{#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="rank">
| {{{date}}}
<label>Rank</label>
|- {{#if: {{{effect|}}}||style="display: none"}}
</data>
! Effect
<data source="started">
| <ul>{{{effect}}}</ul>
<label>Date Started Blockate</label>
|- {{#if: {{{world|}}}||style="display: none"}}
</data>
! Worlds Involved
<data source="alias">
| <ul>{{{world}}}</ul>
<label>Alias(es)</label>
|- {{#if: {{{users|}}}||style="display: none"}}
</data>
! Users Involved
</infobox>
| <ul>{{{users}}}</ul>
|}
 
<noinclude>
Example usage:<pre>
{{PlayerEvent Infobox
|usernametitle=Example
|image=Example
|caption=Example
|rankdate=Example
|startedeffect=Example
|aliasworld=Example
|users=Example
}}
</pre>
[[Category:Templates]][[Category:Infobox Templates]]
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.