Template:Map: Difference between revisions

From Ragnagoats Wiki
Jump to navigation Jump to search
iw>Resplendent
No edit summary
 
No edit summary
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{plainlink |url={{database}}/map-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>
<includeonly>{{#tag:clipbox|{{{4}}}||map={{{1}}}|x={{{2}}}|y={{{3}}}|id={{{5}}}|size={{{6}}}|input="readonly"}}
==Description==
</includeonly>
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.


====Usage====
<noinclude>__NOTOC__
<nowiki>{{map |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
== Description ==
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.


{| class="wikitable"
 
! Example !! Output
==Usage==
|-
 
| <nowiki>{{map |id=</nowiki>yuno_fild08<nowiki> </nowiki>Kiel Hyre Academy<nowiki>}}</nowiki> || {{map |id=yuno_fild08 Kiel Hyre Academy}}
<pre>{{map|MapName|X|Y|Name|UniqueName|Size}}</pre>
|-
* '''MapName''' is the map to be used.
| <nowiki>{{map |id=</nowiki>c_tower3<nowiki> </nowiki>Clock Tower 3F<nowiki>}}</nowiki> || {{map |id=c_tower3 Clock Tower 3F}}
* '''X''' is the X coordinate.
|-
* '''Y''' is the Y coordinate.
* '''Name''' NPC name.
* '''UniqueName''' If multiple navis are used, this has to be unique per page.
* '''Size''' Textbox size.
 
{|<div class="nav"
{{map|mora|120|212|bro|testy|15}} Size of 15
{{map|mora|120|212|bro|testy2|50}} Size of 50
</div>
|}
 
 
'''Always use a div around the textfields. Examples below.
 
'''Correct usage:
<pre>
<nowiki>
{|<div class="nav"
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to properly use this template.
|}
|}
</nowiki>
</pre>


====Fields====
'''Results in:
{| class="wikitable" style="text-align: left"
{|<div class="nav"
| id || The name of the map
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to properly use this template.
|}
|}


==See Also==
'''Wrong usage will cause improper display and line breaks.
*[[Template: Item]]
<pre>
*[[Template: Monster]]
<nowiki>
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to use this template incorrectly.
</nowiki>
</pre>
 
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to use this template incorrectly.


[[Category:Templates|Map]]
</noinclude>
</noinclude>

Latest revision as of 21:19, 5 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

{{map|MapName|X|Y|Name|UniqueName|Size}}
  • MapName is the map to be used.
  • X is the X coordinate.
  • Y is the Y coordinate.
  • Name NPC name.
  • UniqueName If multiple navis are used, this has to be unique per page.
  • Size Textbox size.
Size of 15 Size of 50


Always use a div around the textfields. Examples below.

Correct usage:


{|<div class="nav"
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to properly use this template.
|}

Results in:

This is a test text to demonstrate how to properly use this template.

Wrong usage will cause improper display and line breaks.


This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to use this template incorrectly.

This is a test text to demonstrate


how to use this template incorrectly.