Main Page

Difference between revisions of "User:Electrolytes"

From Arks-Visiphone
Jump to navigation Jump to search
(Actually corrected it... too out of it, time to go eat)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Scratch pad'''
 
  
Notepad++, weapons page regex semi-auto generate test
 
  
Using this with CR/LF on first: http://www.odditysoftware.com/page-webtools16.htm
+
[[User:Electrolytes/Scratch]]
  
 +
[[User:Electrolytes/testweapon]]
  
 +
[[User:Electrolytes/Regex Semi-autocovert]]
  
Find:
+
[[User:Electrolytes/Regex Semi-autocovert/WeaponsPage]]
<pre>
 
<tr>.*?class=\"([\w]*)\">(\d*)★.*?rel=\"(\w*)\".*?all\(this\)..([^<]*).*?title.*?>([^<]*).*?<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>
 
</pre>
 
Replace:
 
<pre>
 
<\!--Rarity-->\|\{\{\:$2Star\}\}\r\n<\!--Icon-->\|\[\[Image\:$5\.png\]\]\r\n<\!--Name-->\|\[\[$5\]\]<br>$4\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
 
</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>
 
\{\{pots\|$2\}\}
 
</pre>
 
Find:
 
<pre>
 
<img.*?title=\"Photon Art\".*?title=\"([^\"]*)\"> ([^<]*).*?>
 
</pre>
 
Replace:
 
<pre>
 
\[\[Image\:Photon Art\.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>
 
  
 
+
[[User:Electrolytes/SwordsPagesTest]]
'''For generating page links:'''
 
 
 
Find:
 
<pre>
 
<\!--Icon-->.*?Image\:(.*)\.png\]\]
 
</pre>
 
Replace:
 
<pre>
 
http\:\/\/nanapedia-pso2\.shoutwiki\.com\/wiki\/Template\:SimpleData$1
 
</pre>
 

Latest revision as of 18:27, 22 January 2016