Template:World Infobox: Difference between revisions

From Blockate Wiki
no edit summary
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1:
{{#css:Mediawiki:Mainpage.css}}
<infobox>
{| class="wikitable infobox"
<title source="title">
! colspan="2" style="background-color: #ff5959;" | {{{title|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
|- {{#if: {{{image|}}}||style="display: none"}}
</title>
! colspan="2" | [[File:{{{image}}}|200px]]
<image source="image">
|- {{#if: {{{caption|}}}||style="display: none"}}{{#if: {{{image|}}}||style="display: none"}}
<caption source="caption"/>
| colspan="2" style="text-align: center" | <small>{{{caption}}}</small>
</image>
|- {{#if: {{{creator|}}}||style="display: none"}}
<data source="creator">
! <label>Creator</label>
| {{{creator}}}
</data>
|- {{#if: {{{id|}}}||style="display: none"}}
<data source="id">
! ID
<label>World ID</label>
| {{{id}}}
</data>
|- {{#if: {{{earning|}}}||style="display: none"}}
<data source="earning">
! <label>Earnings</label>
| {{{earning}}}
</data>
|- {{#if: {{{u_visit|}}}||style="display: none"}}
<data source="u_visit">
! <label>Unique Visits</label>
| {{{u_visit}}}
</data>
|- {{#if: {{{block|}}}||style="display: none"}}
<data source="block">
! <label>Blocks</label>
| {{{block}}}
</data>
|- {{#if: {{{max_player|}}}||style="display: none"}}
<data source="max_player">
! <label>Max Players</label>
| {{{max_player}}}
</data>
|}
</infobox>
 
<noinclude>
Example usage:<pre>
Line 39 ⟶ 40:
}}
</pre>
[[Category:Templates]][[Category:Infobox Templates]]
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.