Template:Infobox world: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!--------- Infobox --------->
<!---------  
 
Infobox  
<includeonly>{{Infobox|
---------><includeonly>{{Infobox|
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:WorldPlaceholder.png|400px]]}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:WorldPlaceholder.png|400px]]}}
|imagerowclass1 = infobox-image
|imagerowclass1 = infobox-image
|header1 = {{{name|{{PAGENAME}}}}}
|header1 = {{{name|{{PAGENAME}}}}}
|rowclass1 = infobox-title
|rowclass1 = infobox-title
|label2 = Server
|label2 = Server
|data2 = <span class="data-world">{{#if:{{{type|}}}|[[:Category:{{{type}}} worlds|{{{type}}}]] world}}</span>{{#if:{{{server|}}}|{{nbsp}}{{nbsp}}—{{nbsp}}{{nbsp}}<span class="data-located">on [[{{{server}}}]]</span>}}
|data2 = <span class="data-world">{{#if:{{{type|}}}|[[:Category:{{{type}}} worlds|{{{type}}}]] world}}</span>{{#if:{{{server|}}}|{{nbsp}}{{nbsp}}—{{nbsp}}{{nbsp}}<span class="data-located">on [[{{{server}}}]]</span>}}
|rowclass2 = data-location infobox-subtitle infobox-data infobox-col1
|rowclass2 = data-location infobox-subtitle infobox-data infobox-col1
|header60 = {{#if:{{{article1|}}}{{{article2|}}}{{{article3|}}}{{{github|}}}{{{spigot|}}}{{{extwiki|}}}|{{Infobox buttons|type=plugin|article1={{{article1|}}}|article2={{{article2|}}}|article3={{{article3|}}}|github={{{github|}}}|spigot={{{spigot|}}}|extwiki={{{extwiki|}}}}}}}|<span></span>
|header60 = {{#if:{{{article1|}}}{{{article2|}}}{{{article3|}}}{{{github|}}}{{{spigot|}}}{{{extwiki|}}}|{{Infobox buttons|type=plugin|article1={{{article1|}}}|article2={{{article2|}}}|article3={{{article3|}}}|github={{{github|}}}|spigot={{{spigot|}}}|extwiki={{{extwiki|}}}}}}}|<span></span>
|rowclass60 = infobox-button-bar
|rowclass60 = infobox-button-bar
 
}}</includeonly><!-------------------
}}</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 {{{type|}}} world on {{{server|Survival}}}.}}</includeonly><!--
<includeonly>{{Short description|{{{name|{{PAGENAME}}}}} is a {{{type|}}} world on {{{server|Survival}}}.}}</includeonly>
--------------Categorization -------------- Locations------>
 
<includeonly>[[Category:Worlds]]</includeonly><!--
<!----------------
Server--------------
Categorization -------------- Locations------>
--><includeonly>
 
{{#if:{{{server|}}}|[[Category:Worlds on {{{server}}}]]}}</includeonly><!--
<includeonly>[[Category:Worlds]]</includeonly>
Type--------------
 
--><includeonly>
<!--Server---------------->
{{#if:{{{type|}}}|[[Category:{{{type}}} worlds]]}}</includeonly<!--
 
---SEO  
<includeonly>{{#if:{{{server|}}}|[[Category:Worlds on {{{server}}}]]}}</includeonly>
-----><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
 
<!--Type---------------->
 
<includeonly>{{#if:{{{type|}}}|[[Category:{{{type}}} worlds]]}}</includeonly>
 
<!-----SEO ----->
 
<includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name|{{PAGENAME}}}}} (World) - WoopMC
|title = {{{name|{{PAGENAME}}}}} (World) - WoopMC
|site_name = WoopMC
|site_name = WoopMC
|type = article
|type = article
|locale = {{PAGELANGUAGE}}
|locale = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|WorldPlaceholder.png}}
|image = {{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{/doc}}
{{/doc}}<!--
 
Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude>
 
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>

Latest revision as of 02:16, 30 May 2024