Template

Infobox Project

From Dogcraft Wiki

No edit summary
m (Added automatic categorisation for pages with multiple world categories)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Infobox Project
|image        = Egg.png
|caption      = Test
|type        = Example template
|leader      = {{Player|Player}}
|contributors = {{Player|Player}}, {{Player|Player}}
|world        = Survival 4, Survival 5
}}
<pre>
<pre>
{{Infobox project
{{Infobox Project
|title        =  
|title        =  
|image        =  
|image        =  
Line 9: Line 17:
|contributors =  
|contributors =  
|world        =
|world        =
|subworld  =
|status      =
|status      =
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly>{{Infobox2
<includeonly>{{Infobox
|above       = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|name        =
|subheader    = {{WorldPills|multi={{{crossworld|1}}}|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|bodystyle    =
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|title       = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
|titlestyle  =  
{{{image2|}}}{{!}}{{{caption2|}}}
|image        = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}}
|imagestyle  =
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
|caption      = {{{caption|<br />}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|captionstyle = color:#000;
|header1      = Project
|headerstyle  = background:{{main-color}}; color:#fff;
|labelstyle  = padding: 3px;
|datastyle    = padding: 3px;
|header1 = {{Large|Project}}
|label2  = Type
|label2  = Type
|data2  = {{#if: {{{type}}}|{{{type}}}|}}
|data2  = {{{type|}}}
|label3  = World
|label3  = World(s)
|data3  = {{{world|}}}
|data3  = {{{world|}}}
|label4  = <nowiki>Project Leader(s)</nowiki>
|label4  = Leader(s)
|data4  = {{{leader|}}}
|data4  = {{{leader|}}}
|label5  = Contributors
|label5  = Contributors
|data5  = {{{contributors|}}}
|data5  = {{{contributors|}}}
|label6  = [[Status]]
}}[[Category:Projects]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}{{WorldSwitch|mode=MultiCategory|{{{crossworld|1}}}{{{world|}}}{{{sur4subworld|}}}{{{subworld|}}}}}</includeonly>
|data6  = {{{status|}}}
}}
 
[[Category:Projects]]
</includeonly>

Latest revision as of 16:07, 29 July 2024

Infobox Project
Survival 4 Survival 5
Egg.png
Test
Project
TypeExample template
World(s)Survival 4, Survival 5
Leader(s)20.png Player
Contributors20.png Player, 20.png Player
{{Infobox Project
|title        = 
|image        = 
|caption      = 
|type         = 
|leader       = 
|contributors = 
|world        =
|subworld  =
|status       =
}}