Template:Location Infobox/doc: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Raven.Familiar (talk | contribs)
Created page with "{{Documentation/Header}} To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax. ==Syntax== <pre> {{Location Infobox |title = |image = |type = |plane = |planeAspect = |continent = |town = }} </pre> ==Parameters== * type ** The type of location. ** Acceptable types for a..."
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation/Header}}
{{Documentation/Header}}
To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infoboxes|Fandom's infobox syntax]].
==Syntax==
==Syntax==
<pre>
<pre>
{{Location Infobox
{{Location Infobox
|title      =  
|title      = <!-- use only if different than actual page name -->
|image      =  
|image      =  
|type        =  
|type        =  
|plane      =  
|aspect      = <!-- use only for plane pages -->
|planeAspect =  
|novarch    = <!-- use only for plane pages -->
|plane      = <!-- actual name of plane -->
|planeAspect = <!-- use only if actual plane name doesn't specify aspect -->
|continent  =  
|continent  =  
|town        =  
|town        =  
Line 15: Line 15:
</pre>
</pre>


==Parameters==
==Example==
* type
===Iia===
** The type of location.
{{Location Infobox
** Acceptable types for auto-categorization: Plane, Continent, Town, Place 
|title      = Iia
|image      = Town Iia.png
|type       = Town
|aspect      =
|novarch    =
|plane      = Plane of Reality
|planeAspect =
|continent  = Lusciell
|town        =
}}
<pre>
{{Location Infobox
|title      = Iia
|image      = Town Iia.png
|type        = Town
|aspect      =
|novarch    =
|plane      = Plane of Reality
|planeAspect =
|continent  = Lusciell
|town        =
}}
</pre>


==Template Data==
==Template Data==
<templatedata>
<templatedata>
{
{
"format": "{{_\n|______________ = _\n}}\n",
"params": {
"params": {
"title": {
"label": "Title",
"description": "Name of location",
"type": "string",
"default": "{{PAGENAME}}"
},
"image": {
"label": "Image",
"description": "Location's image(s)",
"type": "content",
"required": true
},
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "The location's type"
"description": "Location's type",
"type": "string",
"required": true,
            "example": "Plane, Continent, Town, Place"
},
"aspect": {
"label": "Aspect",
"description": "Plane's Aspect, used only for Plane pages",
"type": "string",
            "example": "Beauty, Love, Peace"
},
"novarch": {
"label": "Novarch",
"description": "Plane's Novarch, used only for Plane pages",
"type": "string",
            "example": "Apeiron, Blade, Victus"
},
},
"plane": {
"plane": {
"description": "Plane which the location is located. Use Planes name if known, use \"Place of X\" if only Aspect is known"
"label": "Plane",
"description": "Location's associated Plane",
"type": "string",
            "example": "Circular Station, Court of Dragons, Plane of Reality"
},
},
"planeAspect": {
"planeAspect": {
"description": "If Plane name is known, use \"Place of X\" in this parameter"
"label": "Plane with Aspect",
"description": "Plane with Aspect, used only if actual Plane name doesn't specify Aspect",
"type": "string",
            "example": "Plane of Infinity, Plane of Order, Plane of Reality"
},
"continent": {
"label": "Continent",
"description": "Location's continent",
"type": "string",
            "example": "Lusciell"
},
},
"continent": {},
"town": {
"town": {},
"label": "Town",
"title": {}
"description": "Location's town",
"type": "string",
            "example": "Iia"
}
},
},
"paramOrder": [
"paramOrder": [
"title",
"title",
        "image",
"type",
"type",
"aspect",
"novarch",
"plane",
"plane",
"planeAspect",
"planeAspect",
"continent",
"continent",
"town"
"town"
]
],
"description": "Infobox used to display information about a location."
}
}
</templatedata>
</templatedata>

Latest revision as of 17:36, 4 September 2025

This is the documentation page for Location Infobox.
It contains usage information, categories, and other content not part of the original template page.

Syntax

{{Location Infobox
|title       = <!-- use only if different than actual page name -->
|image       = 
|type        = 
|aspect      = <!-- use only for plane pages -->
|novarch     = <!-- use only for plane pages -->
|plane       = <!-- actual name of plane -->
|planeAspect = <!-- use only if actual plane name doesn't specify aspect -->
|continent   = 
|town        = 
}}

Example

Iia

{{Location Infobox
|title       = Iia
|image       = Town Iia.png
|type        = Town
|aspect      = 
|novarch     = 
|plane       = Plane of Reality
|planeAspect = 
|continent   = Lusciell
|town        = 
}}

Template Data

Infobox used to display information about a location.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Titletitle

Name of location

Default
{{PAGENAME}}
Stringoptional
Imageimage

Location's image(s)

Contentrequired
Typetype

Location's type

Example
Plane, Continent, Town, Place
Stringrequired
Aspectaspect

Plane's Aspect, used only for Plane pages

Example
Beauty, Love, Peace
Stringoptional
Novarchnovarch

Plane's Novarch, used only for Plane pages

Example
Apeiron, Blade, Victus
Stringoptional
Planeplane

Location's associated Plane

Example
Circular Station, Court of Dragons, Plane of Reality
Stringoptional
Plane with AspectplaneAspect

Plane with Aspect, used only if actual Plane name doesn't specify Aspect

Example
Plane of Infinity, Plane of Order, Plane of Reality
Stringoptional
Continentcontinent

Location's continent

Example
Lusciell
Stringoptional
Towntown

Location's town

Example
Iia
Stringoptional