Jump to content

Template:Move: Difference between revisions

From Pokémon Revolution Online Wiki
Cae (talk | contribs)
No edit summary
Tags: Reverted wikieditor
Undo revision 37278 by Cae (talk)
Tags: Undo wikieditor
Line 5: Line 5:
{{Move|Move=Trick Room}}
{{Move|Move=Trick Room}}
</noinclude>
</noinclude>
<includeonly>{{#get_file_data:source=data|file name=RawMovesList.csv|format=CSV with header|filters=Name=
<includeonly>{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name=
{{{Move|{{PAGENAME}}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM,priority=Priority,tm=TM,tutor=Move Tutor,egg=Egg}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}
{{{Move|{{PAGENAME}}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM,priority=Priority,tm=TM,tutor=Move Tutor,egg=Egg}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}
<table class="informational-box" align="right" style="border: 4px solid {{#var: border}}; background-color: {{#var:background}}; width: 42%; max-width: 52%; padding: 4px; border-radius: 25px; text-align: center; border-spacing: 5px;">
<table class="informational-box" align="right" style="border: 4px solid {{#var: border}}; background-color: {{#var:background}}; width: 42%; max-width: 52%; padding: 4px; border-radius: 25px; text-align: center; border-spacing: 5px;">
Line 85: Line 85:
</includeonly>
</includeonly>
<includeonly>{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#vardefine:stab|1}} }} }}</includeonly>
<includeonly>{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#vardefine:stab|1}} }} }}</includeonly>
<includeonly>{{#get_file_data:source=data|file name=RawMovesList.csv|format=CSV with header|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2}}
<includeonly>{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2}}
{{#arraydefine:name|
{{#arraydefine:name|
{{#for_external_table:
{{#for_external_table:

Revision as of 01:09, 14 October 2025

Use this on any individualized move-technique pages; it will automatically glean data collated on RawMovesList to tabulate the data.

If you wish to edit the move-attribute data, you will need to do so on RawMovesList.
Test Move template:

Error while fetching data from URL https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList: $2.
There was a problem during the HTTP request: 404 Not Found
Error while fetching data from URL https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList:
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-menu-disabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref--excluded vector-feature-appearance-pinned-clientpref-1 skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-not-available skin-theme-clientpref-thumb-standard" lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<title>No such special page - Pokémon Revolution Online Wiki</title>
<script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-menu-disabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref--excluded vector-feature-appearance-pinned-clientpref-1 skin-theme-clientpref-day vector-sticky-header-enabled vector-toc-not-available skin-theme-clientpref-thumb-standard";var cookie=document.cookie.match(/(?:^|; )wiki_prowiki_mwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,)+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"d785fe0e1e24f555af2561c0","wgCanonicalNamespace":"Special","wgCanonicalSpecialPageName":"GetData","wgNamespaceNumber":-1,"wgPageName":"Special:GetData/RawMovesList","wgTitle":"GetData/RawMovesList","wgCurRevisionId":0,"wgRevisionId":0,"wgArticleId":0,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Special:GetData/RawMovesList","wgRelevantArticleId":0,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgErrorPageMessageKey":"nospecialpagetext"};
RLSTATE={"site.styles":"ready","user.styles":"ready","user":"ready","user.options":"loading","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","skins.vector.js"];</script>
<script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});
}];});});</script>
<link rel="stylesheet" href="/load.php?lang=en&modules=skins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022">
<script async="" src="/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script>
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022">
<meta name="generator" content="MediaWiki 1.46.0">
<meta name="robots" content="noindex,nofollow,max-image-preview:standard">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=1120">
<link rel="icon" href="/resources/assets/favico.png">
<link rel="search" type="application/opensearchdescription+xml" href="/rest.php/v1/search" title="Pokémon Revolution Online Wiki (en)">
<link rel="EditURI" type="application/rsd+xml" href="https://wiki.pokemonrevolution.net/api.php?action=rsd">
<link rel="alternate" type="application/atom+xml" title="Pokémon Revolution Online Wiki Atom feed" href="/index.php?title=Special:RecentChanges&feed=atom">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns--1 ns-special mw-special-GetData page-Special_GetData_RawMovesList rootpage-Special_GetData_RawMovesList skin-vector-2022 action-view">
<a class="mw-jump-link" href="#bodyContent">Jump to content</a>
<header class="vector-header mw-header no-font-mode-scale">
<nav class="vector-main-menu-landmark" aria-label="Site">
<input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" > Main menu </label>
Main menu
<button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button>
Discord
PRO Wiki
  • <a href="/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a>
  • <a href="/Pokemon_Revolution_Online_Wiki:Policies">Rules</a>
  • <a href="/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a>
  • <a href="/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a>
  • <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="The place to find out">Help</a>
Pokémon Revolution Online
  • <a href="/Pok%C3%A9mon_Revolution_Online">About</a>
  • <a href="/Client_Downloads">Downloads</a>
  • <a href="/Official_events">Events</a>
  • <a href="/Frequently_Asked_Questions">FAQs</a>
  • <a href="/Staff">The Staff Team</a>
  • <a href="/Pok%C3%A9time">Current Pokétime</a>
Official PRO Resources
</nav> <a href="/Main_Page" class="mw-logo"> <img class="mw-logo-wordmark" alt="Pokémon Revolution Online Wiki" src="/images/6/6f/PRO.png" style="width: 4em; height: 4em;"> </a>
<nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> </nav>
</header>
<nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site">
</nav>
<main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar no-font-mode-scale">

No such special page

</header>
<nav aria-label="Namespaces">
<input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" >English </label>
</nav>
<nav aria-label="Views">
</nav> <nav class="vector-page-tools-landmark" aria-label="Page tools">
<input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" >Tools </label>
Tools
<button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button>
Actions
General
  • <a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a>
</nav>
<nav class="vector-page-tools-landmark" aria-label="Page tools">
</nav> <nav class="vector-appearance-landmark" aria-label="Appearance">
Appearance
<button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button>
</nav>

You have requested an invalid special page.

A list of valid special pages can be found at <a href="/Special:SpecialPages" title="Special:SpecialPages">Special pages</a>.

Return to <a href="/Main_Page" title="Main Page">Main Page</a>.

</main>
<script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":46});});</script> </body> </html>
.

<table class="informational-box" align="right" style="border: 4px solid

  1. {{Error: no local variable "movetype" has been set._color_dark}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color}}; width: 42%; max-width: 52%; padding: 4px; border-radius: 25px; text-align: center; border-spacing: 5px;">

<td colspan="5" style="color:

  1. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; font-size: 18px; background-color:
  2. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px; border: 3px solid
  3. {{Error: no local variable "movetype" has been set._color_dark}};">Error: no local variable "technique" has been set.

<td style="color:

  1. {{Error: no local variable "movetype" has been set._color_dark}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px; font-weight: bold; border: 3px solid
  3. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; padding: 3px;">Categories
<td style="border-radius: 25px 1px 1px 25px; color:
  1. {{Error: no local variable "movetype" has been set._color_light}}; width: 33%; background-color:
  2. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; border: 1px solid
  3. {{Error: no local variable "movetype" has been set._color}}; padding: 7px;">Element<div style="background-color:
  4. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px; border: 1px solid
  5. {{Error: no local variable "movetype" has been set._color}}; width: 58%; margin: auto auto; color:#000000; font-weight: normal;">[[Error: no local variable "movetype" has been set._(type)|Error: no local variable "movetype" has been set.]]
<td style="color:
  1. {{Error: no local variable "movetype" has been set._color_light}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color_dark}}; width: 33%; font-weight: bold; border: 1px solid
  3. {{Error: no local variable "movetype" has been set._color}}; margin-bottom: 7px; border-radius: 1px 25px 25px 1px;">Type<div style="background-color:#{{Error: no local variable "category" has been set._color}}; border-radius: 25px; border: 2px solid #{{Error: no local variable "category" has been set._color_dark}}; width: 63%; margin: auto auto; font-weight: normal;">[[Error: no local variable "category" has been set. moves|Error: no local variable "category" has been set.]]

<td style="color:

  1. {{Error: no local variable "movetype" has been set._color_dark}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px; font-weight: bold; border: 3px solid
  3. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; padding: 3px;">Statistical Attributes
<td style="width: 25%; border-radius: 25px 1px 1px 25px; color:
  1. {{Error: no local variable "movetype" has been set._color_light}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; border: 1px solid
  3. {{Error: no local variable "movetype" has been set._color}}; padding: 7px;">Base Power<div style="background-color:#FFFFFF; border: 1px solid
  4. {{Error: no local variable "movetype" has been set._color_dark}}; color:#000000; border-radius: 25px; width: 38%; margin: auto auto; font-weight: normal;">Error: no local variable "power" has been set.
<td style="color:
  1. {{Error: no local variable "movetype" has been set._color_light}}; width: 25%; background-color:
  2. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; border: 1px solid
  3. {{Error: no local variable "movetype" has been set._color}}; margin-bottom: 7px;">Accuracy<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 39%; margin: auto auto; font-weight: normal; border: 1px solid
  4. {{Error: no local variable "movetype" has been set._color_dark}};">Error: no local variable "accuracy" has been set.
<td style="color:
  1. {{Error: no local variable "movetype" has been set._color_light}}; width: 25%; background-color:
  2. {{Error: no local variable "movetype" has been set._color_dark}}; border-radius: 1px 25px 25px 1px; font-weight: bold; border: 1px solid
  3. {{Error: no local variable "movetype" has been set._color}}; padding: 7px;">PP<div style="background-color:#FFFFFF; border-radius: 25px; border: 2px solid
  4. {{Error: no local variable "movetype" has been set._color_dark}}; width: 35%; margin: auto auto; color:#000000; font-weight: normal; border: 1px solid
  5. {{Error: no local variable "movetype" has been set._color_dark}};">Error: no local variable "pp" has been set.

<table style="color:

  1. {{Error: no local variable "movetype" has been set._color_dark}}; background-color:
  2. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px; font-weight: bold; border: 3px solid
  3. {{Error: no local variable "movetype" has been set._color_dark}}; font-weight: bold; padding: 3px; width: 100%;">

Obtainability

<th style="background-color:
  1. {{Error: no local variable "movetype" has been set._color_dark}}; color:
  2. {{Error: no local variable "movetype" has been set._color_light}}; border-radius: 25px 25px 1px 1px;">Natural methods
  • Level-up/instinctual
<th style="background-color:
  1. {{Error: no local variable "movetype" has been set._color_dark}}; border-radius: 25px 25px 1px 1px;"><span style="color: #{{Error: no local variable "movetype" has been set._color_light}};">TMError: no local variable "tm" has been set.
    {{#replace:
  • {{{TMLocations}}}
  • |\|
  • }}

[[Category:Error: no local variable "movetype" has been set.-type moves]] [[Category:Error: no local variable "category" has been set. moves]]

Expression error: Unexpected < operator.