Predefinição:Navi: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
Criou a página com "<includeonly><navicopy map="{{{1}}}" x="{{{2}}}" y="{{{3}}}"></navicopy><noinclude>" |
Sem resumo de edição |
||
Linha 1: | Linha 1: | ||
<includeonly><navicopy map="{{{1}}}" x="{{{2}}}" y="{{{3}}}"></navicopy><noinclude> | <includeonly>{{ #if:{{{prefix|}}} | {{{prefix}}} }}<navicopy map="{{{1}}}" x="{{{2}}}" y="{{{3}}}"></navicopy>{{ #if:{{{postfix|}}} | {{{postfix}}} }}<noinclude>__NOTOC__ | ||
== Description == | |||
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax. | |||
Acredito que o problema seja pq no css não existe a class:"navi-copy" que implementa o seguinte contexto: | |||
Testando com o Dudé a nova versão do encode. | |||
<div class="navi-copy"><div class="navi-copy-text" onclick="CopyNaviLink(this, 'mora','120','212');">(mora 120, 212)</div><div class="navi-copied" style="display:none;">Copiada realizada..!</div></div> | |||
{{navi|mora|120|212}} | |||
{{navi|moc_para01|133|170}} | |||
==Usage== | |||
<pre>{{Navi|MapName|X|Y}}</pre> | |||
* '''MapName''' is the map to be used. | |||
* '''X''' is the X coordinate. | |||
* '''Y''' is the Y coordinate. | |||
=== Example === | |||
{|class=wikitable | |||
! 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. | |||
|} | |||
[[Categoria:Predefinições]]</noinclude> |