Template:Map: Difference between revisions

From Ragnagoats Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
Always use a div around the textfields. Examples below:
Always use a div around the textfields. Examples below:


'''Wrong
'''Correct usage:
<pre>
<pre>
<nowiki>
<nowiki>
Line 18: Line 18:
</nowiki>
</nowiki>
</pre>
</pre>
'''Results in:
{|<div class="nav"
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to properly use this template.
|}
'''Wrong usage
<pre>
<nowiki>
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to use this template incorrectly.
</nowiki>
</pre>
'''Results in:
This is a test text to demonstrate {{map|izlude|120|212|bro|testy|15}} how to properly use this template.


<pre>{{map|MapName|X|Y|Name|UniqueName|Size}}</pre>
<pre>{{map|MapName|X|Y|Name|UniqueName|Size}}</pre>

Revision as of 21:16, 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

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


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

Results in: This is a test text to demonstrate


how to properly use this template.


{{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

Example

Code Used
Visit {{map|izlude|120|212|Testy|UniqueName1|10}} and select the first dialogue option.
Result
Visit


and select the first dialogue option.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional