Difference between revisions of "Template:AreaInfobox"
Jump to navigation
Jump to search
Camwoodstock (talk | contribs) (one thing we'd love to implement is a directional "nearby" like bulbapedia has for routes. alas, we're not quite that robust yet. this is a good start, though, we feel!) |
Camwoodstock (talk | contribs) (oh. that's why we keep adding an extra { somehow.) |
||
| Line 49: | Line 49: | ||
|'''Sample Code:''' | |'''Sample Code:''' | ||
|- | |- | ||
| − | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit"> | + | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{AreaInfobox |
|name= | |name= | ||
|image= | |image= | ||
Latest revision as of 09:09, 2 November 2022
| {{{name}}} | |
|---|---|
| [[{{{image}}}|center|288px]] | |
| Title | {{{title}}} |
| Nearby | {{{nearby}}} |
| Area ID(s) | {{{ID}}} |
Use
This infobox is for use on pages related to places in Eastern Mind and Chu-Teng, containing various pieces of preliminary information about them. It makes use of various parameters to change its content on the fly:
- name: The name of the location in Romanization/Tong-Nou Script (e.g. Shi-chieng, Luo-shang.)
- image: An image of the location. It comes pre-formatted as being centered and at the right width. This should not be a screenshot of the game itself, but a screenshot of the area in the game field proper (e.g. missing the black border around it and the black bar below for the dialogue/furoshiki area.)
- title: The name of the location in English (e.g. Land of Time, Tree of Life)
- nearby: The place(s) that directly link to this area. Should denote if it is a shortcut.
- ID: The internal IDs of the immediate area and places related to it, that are not otherwise unique locations (e.g. L_FIELD and L_OGRE).
Sample
| Mingke-shu | |
|---|---|
| Title | Tree of Life |
| Nearby | Ming-ken Shi-chieng (shortcut) Mon-chien (shortcut) |
| Area ID(s) | L_WOOD L_KING L_INNER L_WTOR |
The code beneath produces the infobox you see to the right.
| Sample Code: |
{{AreaInfobox
|name=Mingke-shu
|image=File:MingkeShu.png
|title=Tree of Life
|nearby=[[Ming-ken]]<br>[[Shi-chieng]] (shortcut)<br>[[Mon-chien]] (shortcut)
|ID=L_WOOD<br>L_KING<br>L_INNER<br>L_WTOR
}}
|
The blank code can be seen beneath.
| Sample Code: |
{{AreaInfobox
|name=
|image=
|title=
|nearby=
|ID=
}}
|