Template:Databank/doc: Difference between revisions

From Subnautica Wiki
(Realized the Below Zero wiki has documentation)
(Formatting)
Tag: 2017 source edit
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This template allows the creation of a Databank entry table. It requires three parameters, but takes up to four: name, description, source, and optionally image. Names and sources can be supplemented with links if need be. Descriptions must be void or other text-interrupting features. Image is defined via file name including MIME type.
This template allows the creation of a Databank entry table. It requires three parameters, but takes up to four: name, description, source, and optionally image. Names and sources can be supplemented with links if need be. Descriptions must be void or other text-interrupting features. Image is defined via file name including MIME type.


==Example==
== Example ==
===HTML===
=== HTML ===
<pre><nowiki>
<pre><nowiki>
{{Databank
{{Databank
|name=[[Mobile Vehicle Bay]]
| name=[[Mobile Vehicle Bay]]
|image=MVBEncy.png
| image=MVBEncy.png
|description=
| description=
The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.
The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.
|source=Unlocked by default
| source=Unlocked by default
}}
}}
</nowiki></pre>
</nowiki></pre>


===Output===
=== Output ===
{{Databank
{{Databank
|name=[[Mobile Vehicle Bay]]
| name=[[Mobile Vehicle Bay]]
|image=MVBEncy.png
| image=MVBEncy.PNG|centre|650px
|description=
| description=
The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.
The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.
|source=Unlocked by default
| source=Unlocked by default
}}
}}

Latest revision as of 18:26, 9 July 2024

This template allows the creation of a Databank entry table. It requires three parameters, but takes up to four: name, description, source, and optionally image. Names and sources can be supplemented with links if need be. Descriptions must be void or other text-interrupting features. Image is defined via file name including MIME type.

Example

HTML

{{Databank
| name=[[Mobile Vehicle Bay]]
| image=MVBEncy.png
| description=
The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.
| source=Unlocked by default
}}

Output

Mobile Vehicle Bay
MVBEncy.PNG
<poem>The mobile vehicle bay is a deployable station equipped with fabrication drones, designed to construct small research and exploration vehicles from raw materials. It is a common tool in almost all industrial, scientific and colonization operations.</poem>
Source: Unlocked by default