Template:World Infobox: Difference between revisions

From Blockate Wiki
no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1:
{{#css:Mediawiki:Mainpage.css}}
{| class="wikitable infobox"
! colspan="2" style="background-color: #ff5959;" | {{{title|{{PAGENAME}}}}}
|-
|- {{#if: {{{image|}}}||style="display: none"}}
! colspan="2" | [[File:{{{image}}}|200px]]
|- {{#if: {{{caption|}}}||style="display: none"}}{{#if: {{{image|}}}||style="display: none"}}
|-
| colspan="2" style="text-align: center" | <small>{{{caption}}}</small>
|- {{#if: {{{creator|}}}||style="display: none"}}
|-
! Creator
| {{{creator}}}
|- {{#if: {{{id|}}}||style="display: none"}}
! ID
| {{{id}}}
|- {{#if: {{{earning|}}}||style="display: none"}}
! Earnings
| {{{earning}}}
|- {{#if: {{{u_visit|}}}||style="display: none"}}
! <label>Unique Visits</label>
| {{{u_visit}}}
|- {{#if: {{{block|}}}||style="display: none"}}
! Blocks
| {{{block}}}
|- {{#if: {{{max_player|}}}||style="display: none"}}
! Max Players
| {{{max_player}}}
|}
 
<noinclude>
<infobox>
<title source="title">
<default>{{PAGENAME}}</default>
</title>
<image source="image">
<caption source="caption"/>
</image>
<data source="creator">
<label>Creator</label>
</data>
<data source="id">
<label>World ID</label>
</data>
<data source="earning">
<label>Earnings</label>
</data>
<data source="u_visit">
<label>Unique Visits</label>
</data>
<data source="block">
<label>Blocks</label>
</data>
<data source="max_player">
<label>Max Players</label>
</data>
</infobox>
 
Example usage:<pre>
{{World Infobox
Line 51 ⟶ 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.