Template:Infobox world: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 intermediate revisions 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:PluginPlaceholder.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}}} plugins|{{{type}}}]] plugin}}</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
|label3 = Main command
|data3 = {{CMD|{{{rootcommand|}}}}}
|rowclass3 = data-maincmd infobox-data infobox-col2
|label5 = Sub commands
|data5 = {{{subcommands|}}}
|rowclass5 = data-subcmd infobox-data infobox-col2
|label4 = Aliases
|data4 = {{#if: {{{alias3|}}} |<div style="overflow-y: scroll; height:2rem;">{{#if: {{{alias1|}}} |{{CMD|{{{alias1|}}}}}|}}{{#if: {{{alias2|}}} |<br>{{CMD|{{{alias2|}}}}}|}}{{#if: {{{alias3|}}} |<br>{{CMD|{{{alias3|}}}}}|}}{{#if: {{{alias4|}}} |<br>{{CMD|{{{alias4|}}}}}|}}{{#if: {{{alias5|}}} |<br>{{CMD|{{{alias5|}}}}}|}}</div>|{{#if: {{{alias1|}}} |{{CMD|{{{alias1|}}}}}|}}{{#if: {{{alias2|}}} |<br>{{CMD|{{{alias2|}}}}}|}}}}
|rowclass4 = data-alias infobox-data infobox-col3
|header20 = {{#if:{{{custom|}}}{{{rank|}}}{{{level|}}}|Access}}
|rowclass20 = infobox-header
|label21 = Requirements
|data21 = {{#if: {{{level|}}}|[[Level]] {{{level|}}} {{#if:{{{rank|}}}| or [[Ranks|{{{rank|}}}]]| }}| {{#if:{{{rank|}}}|[[Ranks|{{{rank}}}]]|Any rank}}}}
|rowclass21 = data-access infobox-data infobox-col2
|label22 = Custom
|data22 = {{{custom|}}}
|rowclass22 = data-custom infobox-data infobox-col2
|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:Plugins]]</includeonly>
Type--------------
 
--><includeonly>
<!--Server---------------->
{{#if:{{{type|}}}|[[Category:{{{type}}} worlds]]}}</includeonly<!--
 
---SEO  
<includeonly>{{#if:{{{server|}}}|[[Category:Worlds on {{{server}}}]]}}</includeonly>
-----><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
 
|title = {{{name|{{PAGENAME}}}}} (World) - WoopMC
<!--Type---------------->
 
<includeonly>{{#if:{{{type|}}}|[[Category:{{{type}}} worlds]]}}</includeonly>
 
<!-----SEO ----->
 
<includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name|{{PAGENAME}}}}} (Plugin) - WoopMC
|site_name = WoopMC
|site_name = WoopMC
|type = article
|type = article
|locale = {{PAGELANGUAGE}}
|locale = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|PluginPlaceholder.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