Main Page

Difference between revisions of "User:Electrolytes"

From Arks-Visiphone
Jump to navigation Jump to search
m
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Scratch pad'''
 
  
Notepad++, weapons page regex semi-auto generate test
 
  
 +
[[User:Electrolytes/Scratch]]
  
Find:
+
[[User:Electrolytes/testweapon]]
<pre>
+
 
<tr>.*?class=\"([\w]*)\">(\d*)★.*?rel=\"(\w*)\" title=\"([\w\h]*).*?all\(this\)..([^<]*).*?<td>([\d]*)....([-\w]*).*?<td>.*?<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(\d*)<[br\/]*>(\d*)<[br\/]*>(\d*)<td>(.*?)<td.*?>(.*?)<td.*?>(.*?)<td.*?>(.*?)<\/tr>
+
[[User:Electrolytes/Regex Semi-autocovert]]
</pre>
+
 
Replace:
+
[[User:Electrolytes/Regex Semi-autocovert/WeaponsPage]]
<pre>
+
 
<\!--Rarity-->\|\{\{\:$2Star\}\}\r\n<\!--Icon-->\|\[\[Image\:$4\.png\]\]\r\n<\!--Name-->\|\[\[$4\]\]<br>$5\r\n<\!--Requirement-->\|$6 $7\r\n<\!--Stat-->\|\[\[Image\:small_s-atk\.png\]\] <br>[\[Image\:small_r-atk\.png\]\] <br>[\[Image\:small_t-atk\.png\]\]\r\n<\!--Base\(S-Atk\, R-Atk\, T-Atk\)-->\|$8<br>$9<br>$10\r\n<\!--\+10-->\|$38<br>$39<br>$40\r\n<\!--Properties-->\|$42\r\n<\!--Classes-->\|$43\r\n\|-\r\n<noinclude>\r\n\[\[Category\:DataSwords\]\]\r\n\[\[Category\:Data\]\]\r\n<\/noinclude>\r\n\r\n
+
[[User:Electrolytes/SwordsPagesTest]]
</pre>
 
Find:
 
<pre>
 
<img.*?attribute.*?title=\"(\w*)[^\d]*(\d*)
 
</pre>
 
Replace:
 
<pre>
 
\[\[Image\:$1\.png\]\] $2
 
</pre>
 
Find:
 
<pre>
 
<img.*?title=\"Ability\".*?title=\"([^\"]*)\"> ([^<]*).*?>
 
</pre>
 
Replace:
 
<pre>
 
\[\[Image\:Ability\.png\]\] \{\{abbr\|$2\|$1\}\}
 
</pre>
 
Find:
 
<pre>
 
<img.*?title=\"Potential\".*?title=\"([^\"]*)\"> ([^<]*).*?>
 
</pre>
 
Replace:
 
<pre>
 
\[\[Image\:Potential\.png\]\] \{\{abbr\|$2\|$1\}\}
 
</pre>
 
Find:
 
<pre>
 
<img.*?class_.*?title=\"((\w\w)\w*)..>
 
</pre>
 
Replace:
 
<pre>
 
\[\[Image\:$2Icon\.png\|$1\]\]
 
</pre>
 
Find:
 
<pre>
 
<img.*?title=\"All Class\".>
 
</pre>
 
Replace:
 
<pre>
 
\[\[File:HuIcon.png\|Hunter\]\]\[\[File:FiIcon.png\|Fighter\]\]\[\[File:RaIcon.png\|Ranger\]\]\[\[File:GuIcon.png\|Gunner\]\]\[\[File:FoIcon.png\|Force\]\]\[\[File:TeIcon.png\|Techer\]\]\[\[File:BrIcon.png\|Braver\]\]\[\[File:BoIcon.png\|Bouncer\]\]
 
</pre>
 

Latest revision as of 18:27, 22 January 2016