Template:Infobox entity: Difference between revisions

Template page
(Created page with "<!--------- Infobox ---------> <includeonly>{{Infobox| |bodyclass = mw-collapsible floatright |image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|400px}} |imagerowclass1 = infobox-image |header1 = {{{name|{{PAGENAME}}}}} |rowclass1 = infobox-title |label2 = Location |data2 = <span class="data-world">{{{active|}}} server</span>{{#if:{{{active|}}}|{{nbsp}}{{nbsp}}—{{nbsp}}{{nbsp}}<span class="data-located">on {{SITENAME}}:About|...")
 
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--------- Infobox --------->
<!--------- Infobox -------
 
--><includeonly>
<includeonly>{{Infobox|
{{Infobox|
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:CubeyBanner.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


<!-- title -->
|header1 = {{{name|{{PAGENAME}}}}}
|header1 = {{{name|{{PAGENAME}}}}}
|rowclass1 = infobox-title
|rowclass1 = infobox-title


|label2 = Location
|label3 = Behavior
|data2 = <span class="data-world">{{{active|}}} server</span>{{#if:{{{active|}}}|{{nbsp}}{{nbsp}}—{{nbsp}}{{nbsp}}<span class="data-located">on [[{{SITENAME}}:About| {{SITENAME}}]]}}</span>
|data3 = {{{behavior|Passive}}}
|rowclass2 = data-location infobox-subtitle infobox-data infobox-col1
|rowclass3 = data-type infobox-data infobox-col1
 
|label3 = Version
|data3 = {{{version|{{Home/settings|versionReal}}}}}
|rowclass3 = data-coords infobox-data infobox-col2
 
|label4 = Command
|data4 = {{#if: {{{command|}}}{{{name}}} | <div style="overflow-x: scroll;">{{CMD|server {{{command|{{{name|{{PAGENAME}}}}}}}}}}</div> | }}
|rowclass4 = data-warp infobox-data infobox-col2
 
|label5     = Established
|data5 = {{#if: {{{established|}}}|{{#time: F j, Y|{{{established|}}}}}<br><span style="font-weight: 300;">({{Time ago|{{{established|}}}}})</span>|}}
|rowclass5 = data-founded infobox-data infobox-col2
 
|header6 = {{#if:{{{worlds|}}}{{{mode|}}}|Details}}
|rowclass6 = infobox-header
 
|label7 = Worlds
|data7 = {{{worlds|}}}
|rowclass7 = data-type infobox-data infobox-col2


|label8 = Gamemode
|label4 = Classification
|data8 = {{{mode|}}}
|data4 = {{{class|}}}
|rowclass8 = data-type infobox-data infobox-col2
|rowclass4 = data-type infobox-data infobox-col1


|label9 = Voicechat
|header5 = {{#if:{{{health|}}}{{{armor|}}}{{{speed|}}}|Stats}}
|data9 = {{{voicechat|}}}
|rowclass5 = infobox-header
|rowclass9 = data-type infobox-data infobox-col2


|header20 = {{#if:{{{restricted|}}}{{{limit|}}}|Access}}
<!-- Health -->
|rowclass20 = infobox-header
|label6 = Health points
|data6 = {{{hp|1}}}
|rowclass6 = data-type infobox-data infobox-col1


|label21 = Restrictions
<!-- Armor -->
|data21 = {{{restricted|}}}
|label7 = Armor
|rowclass21 = data-shops infobox-data infobox-col2
|data7 = {{{armor|0}}}
|rowclass7 = data-type infobox-data infobox-col1


|label22 = Player limit
|header8 = {{#if:{{{biome|}}}{{{structure|}}}|Spawn}}
|data22 = {{{limit|}}}
|rowclass8 = infobox-header
|rowclass22 = data-services infobox-data infobox-col2


|header60 = {{#if:{{{worldmapurl|}}}|{{Infobox buttons|type=server|worldmapurl={{{worldmapurl|}}}}}}}|<span></span>
<!-- Biome -->
|rowclass60 = infobox-button-bar
|label9 = Biome
|data9 = {{L2MCW|{{{biome|None}}}}}
|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><!-- Categories
<includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{mode|}}} server on {{SITENAME}}.}}</includeonly>
--><includeonly>[[Category:Mobs]]</includeonly>
 
<includeonly>{{#if:{{{behavior|}}}|[[Category:{{{behavior}}} mobs]]}}</includeonly><!---
 
SEO  
<!----------------Categorization -------------- Locations ------>
---
 
--><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
<includeonly>[[Category:Servers]]</includeonly>
|title = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} Mob - {{SITENAME}}
 
<!--Server ---------------->
 
<includeonly>{{#switch: {{{restricted}}} | true | yes = [[Category:Restricted servers]]|}}</includeonly>
 
 
<!----- SEO ----->
 
<includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name}}} Server - {{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