Template
Infobox Project
From Dogcraft Wiki
imported>William278 (Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <group> <header>...") |
m (Added automatic categorisation for pages with multiple world categories) |
||
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Example | {{Infobox Project | ||
{{Infobox | |image = Egg.png | ||
| | |caption = Test | ||
| | |type = Example template | ||
| | |leader = {{Player|Player}} | ||
|type= | |contributors = {{Player|Player}}, {{Player|Player}} | ||
|world | |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 | |
Project | |
Type | Example template |
World(s) | Survival 4, Survival 5 |
Leader(s) | Player |
Contributors | Player, Player |
{{Infobox Project |title = |image = |caption = |type = |leader = |contributors = |world = |subworld = |status = }}