Template:Galaxy Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
<format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | ||
</title> | </title> | ||
<image source="image'/> | |||
<data source="terrain"> | <data source="terrain"> | ||
<label>Terrain</label> | <label>Terrain</label> | ||
Revision as of 21:43, 12 November 2025
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses Module:Infobox, a script written in Lua.
This template uses CSS found at MediaWiki:Gadget-Infobox.css.
Template that creates an infobox for Galaxies.
Syntax
{{Galaxy Infobox
|name =
|terrain =
|climate =
|details =
|departure =
}}
- name – Name of the Galaxy.
- subtitle – Subtitle of the Galaxy.
- terrain – Terrain of the Galaxy.
- climate – Climate of the Galaxy.
- details – Details description for the Galaxy.
- departure – Departure description for the Galaxy.
Other parameters
- image – Override the default image with a single file. Default: name Icon.png.
- images – Override the default image with multiple files and tabs.
- Format: Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name.
Examples
{{Galaxy Infobox
|name = Hexia
|terrain = Verdant Plains
|climate = Warm and Humid
|details = Planets of the {{Color|help|Hexia}} Galaxy boast emerald plains and rolling, velvet hills, forming a fertile tapestry woven with glistening rivers and brimming with rustic charm.
|departure = Departing from {{Color|help|Hexia}} on a Starsea Voyage, you may come across bamboo Islets where leaves dance on solar winds, or ride rice-scented tides toward a paddy field Islet.
}}
<infobox>
<title source="name">
<format>Hexia</format>
</title>
<image source="image'/>
<label>Terrain</label>
<label>Climate</label>
<format>
{{Galaxy Infobox
|name = Example
|subtitle = Subtitle example
|images = Hexia Icon.png:Hexia; Taffeh Icon.png:Taffeh
|terrain = Terrain example
|climate = Climate example
|details = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|departure = Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
}}
<infobox>
<title source="name">
<format>Example</format>
</title>
<image source="image'/>
<label>Terrain</label>
<label>Climate</label>
<format>Template Data
Template that creates an infobox for Galaxies.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the Galaxy.
| String | suggested |
| Subtitle | subtitle | Subtitle of the Galaxy. | String | optional |
| Terrain | terrain | Terrain of the Galaxy.
| String | suggested |
| Climate | climate | Climate of the Galaxy.
| String | suggested |
| Details | details | Details description for the Galaxy.
| Content | suggested |
| Departure | departure | Departure description for the Galaxy.
| Content | suggested |
| Image | image | Override the default image with a single file.
| File | optional |
| Images | images | Override the default image with multiple files and tabs.
| Content | optional |