Template:Map: Difference between revisions

From Ragnagoats Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 1: Line 1:
<includeonly>{{plainlink |url={{database}}/map-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>
<includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<span class="navi-copy" style="display: inline-block;"><span>{{{1}}}</span><span>{{{2}}}</span><span>{{{3}}}</span></span>{{ #if:{{{postfix|}}} | {{{postfix}}} }}</includeonly><noinclude>__NOTOC__
==Description==
== Description ==
This template serves the purpose of shortening linkings to [{{database}}/map-info/ iRO Wiki Pre-Renewal DB View Map] for the ease of article overview when editing and consistency.
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.


====Usage====
<nowiki>{{map |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>


{| class="wikitable"
==Usage==
! Example !! Output
<pre>{{Navi|MapName|X|Y}}</pre>
|-
* '''MapName''' is the map to be used.
| <nowiki>{{map |id=</nowiki>yuno_fild08<nowiki> </nowiki>Kiel Hyre Academy<nowiki>}}</nowiki> || {{map |id=yuno_fild08 Kiel Hyre Academy}}
* '''X''' is the X coordinate.
|-
* '''Y''' is the Y coordinate.
| <nowiki>{{map |id=</nowiki>c_tower3<nowiki> </nowiki>Clock Tower 3F<nowiki>}}</nowiki> || {{map |id=c_tower3 Clock Tower 3F}}
 
|-
|}


====Fields====
=== Example ===
{| class="wikitable" style="text-align: left"
{|class=wikitable
| id || The name of the map
! Code Used
|-
|<code>Visit the mora npc <nowiki>{{Navi|mora|120|212}} and select the first dialogue option.</nowiki></code>
|-
! Result
|-
| Visit the mora npc {{Navi|mora|120|212}} and select the first dialogue option.
|}
|}
 
[[Category:Templates]]</noinclude>
==See Also==
*[[Template: Item]]
*[[Template: Monster]]
 
[[Category:Templates|Map]]
</noinclude>

Revision as of 20:04, 3 February 2024

Description

The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.


Usage

{{Navi|MapName|X|Y}}
  • MapName is the map to be used.
  • X is the X coordinate.
  • Y is the Y coordinate.


Example

Code Used
Visit the mora npc {{Navi|mora|120|212}} and select the first dialogue option.
Result
Visit the mora npc

and select the first dialogue option.