Template

Infobox Project

From Dogcraft Wiki

No edit summary
(Removing auto link from world row. Projects can often be cross world, which the auto linking template can't handle)
 
(9 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|}}}}}}}}]]|}}</includeonly>
|data6  = {{{status|}}}
}}
 
[[Category:Projects]]
</includeonly>

Latest revision as of 01:35, 29 December 2023

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       =
}}