Dogcraft Wiki
Sandbox/Infobox 2.0
From Dogcraft Wiki
(fields) |
No edit summary |
||
| Line 4: | Line 4: | ||
|title = Current infobox | |title = Current infobox | ||
|image = Egg.png | |image = Egg.png | ||
|caption = An image | |caption = An image caption | ||
|world = Survival 5 | |world = Survival 5 | ||
|sur4subworld = Shepherd | |sur4subworld = Shepherd | ||
| Line 20: | Line 20: | ||
|title = New infobox (wip) | |title = New infobox (wip) | ||
|image = Egg.png | |image = Egg.png | ||
|caption = An image, there should | |caption = An image, there should be the option for a sliding gallery | ||
|world = Survival 5 | |world = Survival 5 | ||
|sur4subworld = Shepherd | |sur4subworld = Shepherd | ||
| Line 27: | Line 27: | ||
|founded = 2023, September 8. | |founded = 2023, September 8. | ||
|xcoord = -2303 | |xcoord = -2303 | ||
|ycoord = | |ycoord = | ||
|zcoord = 1456 | |zcoord = 1456 | ||
|dimension = Overworld | |dimension = Overworld | ||
|status = {{Active}} | |status = {{Active}} | ||
|railway = SRN, RHN, CSC, TORN, whatever else is in the overworld | |railway = '''WIP''': SRN, RHN, CSC, TORN, whatever else is in the overworld | ||
|nether = NTN | |nether = NTN | ||
}}</div></div> | }}</div></div> | ||
| Line 49: | Line 49: | ||
|label2 = World | |label2 = World | ||
|data2 = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}} | |data2 = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}} | ||
|label3 = | |label3 = Founded | ||
|data3 = {{{ | |data3 = {{{founded|}}} | ||
|label4 = | |label4 = <nowiki>Mayor(s)</nowiki> | ||
|data4 = {{{ | |data4 = {{{mayors|}}} | ||
|label5 = | |label5 = Contributors | ||
|data5 = {{{ | |data5 = {{{contributors|}}} | ||
|label6 = Location | |label6 = Location | ||
|data6 = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}} | |data6 = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}} | ||
|label7 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | |label7 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | ||
|data7 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}} | |data7 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}} | ||
Revision as of 22:30, 23 May 2022
| Current infobox | |
|---|---|
| Survival 5 Shepherd | |
An image caption | |
| Settlement | |
| World | Survival 5 (Shepherd) |
| Founded | 2023, September 8. |
| Mayor(s) | Alex |
| Contributors | Steve, name |
| Location | X= -2303 Y= 80 Z= 1456 |
| Transport | SRN, RHN, CSC, TORN, whatever else is in the overworld NTN |
Infobox template to be used on ingame settlements (towns, cities, ect.) on the server.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Header | title | Infobox header, for use when it should be different from the pagename.
| String | optional |
| Image | image picture file img | The name of an image (without "File:") to display at the top of the infobox.
| File | required |
| Caption | caption | Description of the Image parameter | String | suggested |
| World | world | The world in which the settlement was built. Options: Survival, Survival 1, Survival 2, Survival 3, Survival 4, Amplified, Skyblock, Creative, MCMMO, other.
| String | required |
| Survival 4 server | sur4subworld subworld | Which of the Survival 4 servers is the settlement located on, Options: Husky, Beagle
| String | required |
| Mayor(s) | mayors mayor | The leader(s) of the settlement. Use {{Player|<playername>}}
| String | suggested |
| Contributor(s) | contributors builders | Major contributors to the settlement. Use {{Player|<playername>}}
| String | suggested |
| Founded | founded | The date of the founding of the settlement | Date | suggested |
| X-coordinate | xcoord | The x coordinate of the settlement's location.
| Number | required |
| Y-coordinate | ycoord | The y coordinate of the settlement's location (height)
| Number | suggested |
| Z-coordinate | zcoord | The z coordinate of the settlement's location.
| Number | required |
| Dimension | dimension | The dimension in which the settlement is located.
| String | optional |
| Status | status | Expects one of the [[Status|status templates]]. Use {{Defunct}} for settlements on past worlds.
| Template | required |
| Nether access | nether ntn | Name of the NTN line, door, or station from which the settlement can be accessed, if there is one.
| Page name | suggested |
| Railway | railway srn | Name of the railway or station by which the settlement can be accessed, if there is one.
| Page name | suggested |

Alex
Steve
name