Template:Infobox entity: Difference between revisions

Template page
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<!--------- Infobox -------
 
--><includeonly>
-------
Infobox  
-------
-->
<includeonly>
{{Infobox|
{{Infobox|
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:MissingMob.png|400px]]}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|400px]]|[[File:{{PAGENAME}}.png|400px]]}}}}
|imagerowclass1 = infobox-image
|imagerowclass1 = infobox-image


Line 19: Line 14:
|rowclass3 = data-type infobox-data infobox-col1
|rowclass3 = data-type infobox-data infobox-col1


|header4 = {{#if:{{{health|}}}{{{armor|}}}{{{speed|}}}|Stats}}
|label4 = Classification
|rowclass4 = infobox-header
|data4 = {{{class|}}}
|rowclass4 = data-type infobox-data infobox-col1
 
|header5 = {{#if:{{{health|}}}{{{armor|}}}{{{speed|}}}|Stats}}
|rowclass5 = infobox-header


<!-- Health -->
<!-- Health -->
|label5 = Health points
|label6 = Health points
|data5 = {{{hp|1}}}
|data6 = {{{hp|1}}}
|rowclass5 = data-type infobox-data infobox-col1
|rowclass6 = data-type infobox-data infobox-col1


<!-- Armor -->
<!-- Armor -->
|label6 = Armor
|label7 = Armor
|data6 = {{{armor|0}}}
|data7 = {{{armor|0}}}
|rowclass6 = data-type infobox-data infobox-col1
 
<!-- Speed -->
|label7 = Speed
|data7 = {{{speed|}}}
|rowclass7 = data-type infobox-data infobox-col1
|rowclass7 = data-type infobox-data infobox-col1


<!-- Speed -->
|header8 = {{#if:{{{biome|}}}{{{structure|}}}|Spawn}}
|label8 = Spawn
|rowclass8 = infobox-header
|data8 = {{{spawn|}}}
|rowclass8 = data-type infobox-data infobox-col1


<!-- Usable items -->
<!-- Biome -->
|label9 = Usable items
|label9 = Biome
|data9 = {{{items|}}}
|data9 = {{L2MCW|{{{biome|None}}}}}
|rowclass9 = data-type infobox-data infobox-col1
|rowclass9 = data-type infobox-data infobox-col1
}}


</includeonly>
<!-- Structure -->
|label11 = Structure
|data11 = {{{structure|None}}}
|rowclass11 = data-type infobox-data infobox-col1


<!--
<!-- Usable items -->
 
|label10 = Usable items
-----------------
|data10 = {{{items|}}}
|rowclass10 = data-type infobox-data infobox-col1
}}
</includeonly><!-------------------
Short description
Short description
{CLASS>TYPE} {LOCATIONTYPE} in the {SYSTEM} system
{CLASS>TYPE} {LOCATIONTYPE} in the {SYSTEM} system
-----------------
-----------------
--><includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{behavior|}}} mob on {{SITENAME}}.}}</includeonly><!--
--><includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{behavior|}}} mob on {{SITENAME}}.}}</includeonly><!-- Categories
 
--><includeonly>[[Category:Mobs]]</includeonly>
--------------
<includeonly>{{#if:{{{behavior|}}}|[[Category:{{{behavior}}} mobs]]}}</includeonly><!---
Categorization
--------------
 
Locations
----
--><includeonly>[[Category:Servers]]</includeonly><!--
 
Server
--------------
--><includeonly>{{#switch: {{{restricted}}} | true | yes = [[Category:Restricted servers]]|}}</includeonly><!--
 
---
SEO  
SEO  
---
---
--><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
--><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name}}} Server - {{SITENAME}}
|title = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} Mob - {{SITENAME}}
|site_name = {{SITENAME}}
|site_name = {{SITENAME}}
|type = article
|type = article
|locale = {{PAGELANGUAGE}}
|locale = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|CubeyBanner.png}}
|image = {{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{/doc}}</noinclude>
{{/doc}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>

Latest revision as of 19:26, 8 June 2024