Template

Infobox Project

From Dogcraft Wiki

imported>William278
No edit summary
m (Added automatic categorisation for pages with multiple world categories)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox>
  <title source="title1">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <group>
    <header>Project</header>
    <data source="type">
      <label>Type</label>
    </data>
    <data source="world(s)">
      <label>World(s)</label>
    </data>
    <data source="project_manager">
      <label>Project Manager</label>
    </data>
    <data source="status">
      <label>[[Status]]</label>
    </data>
  </group>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
{{Infobox Project
{{Infobox project
|image        = Egg.png
|title1=Example
|caption      = Test
|image1=Example
|type        = Example template
|caption1=Example
|leader      = {{Player|Player}}
|type=Example
|contributors = {{Player|Player}}, {{Player|Player}}
|world(s)=Example
|world        = Survival 4, Survival 5
}}
<pre>
{{Infobox Project
|title        =  
|image        =  
|caption      =  
|type         =
|leader      =
|contributors =  
|world       =
|subworld  =
|status      =
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly>{{Infobox2
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader    = {{WorldPills|multi={{{crossworld|1}}}|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
{{{image2|}}}{{!}}{{{caption2|}}}
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}}
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|header1      = Project
|label2  = Type
|data2  = {{{type|}}}
|label3  = World(s)
|data3  = {{{world|}}}
|label4  = Leader(s)
|data4  = {{{leader|}}}
|label5  = Contributors
|data5  = {{{contributors|}}}
}}[[Category:Projects]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}{{WorldSwitch|mode=MultiCategory|{{{crossworld|1}}}{{{world|}}}{{{sur4subworld|}}}{{{subworld|}}}}}</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       =
}}
Background Takeshi by Edo