Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Chao: Difference between revisions

17,076 editsJoined 5 November 2017
m (update with thoughts)
m (fixing some wrong commands lmao)
 
(107 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
</includeonly><noinclude>{{#vardefine:div_green  |<div style="background-color: darkseagreen; color:snow; padding:0px 4px; border-bottom:0.5px solid snow;">
}}{{#vardefine:div_yellow|<div style="background-color: khaki; color:black; padding:0px 4px; border-bottom:0.5px solid snow;">
}}{{#vardefine:div_red  |<div style="background-color: lightcoral; color:black; padding:0px 4px; border-bottom:0.5px solid snow;">
}}{{#vardefine:div_white |<div style="background-color: ; color:black; padding:0px 4px;">
}}{{#vardefine:div_bold  |<div style="background-color:#eee; font-family:sans-serif; font-weight:bold; padding:0px 4px; margin: 12px 0px 6px 0px; text-align:left; text-transform: uppercase;">
}}
I write templates and help out where I can.


Subpages:
==Notes==
{{Special:PrefixIndex/User:Chao/}}
{| class="wikitable mw-collapsible mw-collapsed"
! Adding BBDW Audio Files to the Quotes Page
|-
|
* Add audio files that were uploaded in bulk to the character's BBDW quotes page.
* The idea is to grab the filenames from the contribution list (or file upload list) so we have the real filenames used on the wiki, and then to format them accordingly.
* This works better (is more efficient) the more files we have to apply this to at once. Can even be files for multiple characters.
* These instructions assume the use of Sublime Text 3, or another advanced text editor that supports multiple selections and searches with regular expressions.
|-
| style="text-align:left;" | Steps:
* Select and copy into a new document the contribs page text for the user who uploaded the files.
It'll look something like this:
<pre><nowiki>
    03:22, 4 June 2022 diff hist +359‎ N File:BBDW Avenge 026b.ogg ‎ Uploaded a work by Arc System Works from BlazBlue Alternative: Dark War with UploadWizard current Tag: Upload Wizard
    03:22, 4 June 2022 diff hist +359‎ N File:BBDW Avenge 026a.ogg ‎ Uploaded a work by Arc System Works from BlazBlue Alternative: Dark War with UploadWizard current Tag: Upload Wizard
</nowiki></pre>


== Project Progress ==
* In the text editor, pull up the search bar (Ctrl+F) and search for: (make sure using regular expressions (regex) is selected)
<pre>File:[A-Za-z0-9 ]*\.ogg</pre>


<span style="padding:0px 4px; background-color:darkseagreen; color: snow;">'''Completed'''</span> |
* Click the "Find All" button on the far right (or <code>Alt</code> + <code>Enter</code>) to select all occurrences in current document
<span style="padding:0px 4px; background-color:khaki;">'''In Progress'''</span> |
* Cut (Ctrl + X) or copy (Ctrl + C) all selections.
<span style="padding:0px 4px; background-color:lightcoral;">'''On Hold'''</span> |
* Open a new document (or Ctrl + N) and paste (Ctrl + V) the selections.
<span style="padding:0px 4px;">'''Not Started'''</span> (needs further conversation/consideration)


===General Organization, Missing Pages, etc===
This extracts all "File:<filename>.ogg" from the copied text. It should look like this:
<pre><nowiki>
File:BBDW Avenge 026b.ogg
File:BBDW Avenge 026a.ogg
</nowiki></pre>


'''Need to consider:'''
* Go to Edit > Sort Lines to sort them alphabetically:
<blockquote><pre>
<pre><nowiki>
(1) character subpage for BBDW? (for in-game profile(s), alters, weird lore, alternate timeline shenanigans)
File:BBDW Avenge 026a.ogg
(2) character subpages for other games?
File:BBDW Avenge 026b.ogg
    ✗ BBRR
</nowiki></pre>
    - BBCT/CS/CP/CF for movelists and (sub)galleries split by game?
    - "Movelist" subpage?
</pre></blockquote>


<tab openname="Details & Progress" style="width:100%; font-weight:bold;" container="font-style:default; font-weight:normal;">
* Add the header and footer text around the text
{{#var:div_bold}}Content</div>
<pre><nowiki>
{{#var:div_yellow}}Add personality, character descriptions to the [[:Category:BlazBlue Characters|BB cast]] from the official (NA/EU/JP) websites</div>
==Other==
{{#var:div_yellow}}QC pages</div>
{{Quotes Header}}
{{#var:div_yellow}}Add 10th anniversary images (bday images)</div>
File:BBDW Avenge 026a.ogg
{{#var:div_yellow}}Collaborations? (Add descriptions on the [[:Category:Media from Collaborations|category pages]]?)</div>
File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
</nowiki></pre>


{{#var:div_bold}}Pages & Categories</div>
* Search for all the part b files (026b etc) with this regex:
{{#var:div_white}}Write pages for missing [[:Category:Locations|Locations]], [[:Category:Stages|Stages]], [[:Category:Media|Media]] (ie BlazBlue Mobile)</div>
<pre>b\.ogg$</pre>
{{#var:div_white}}Fix incomplete categories ([[:Category:BlazBlue Characters|BlazBlue Characters]], [[:Category:World Setting|World Setting]]...)?</div>


{{#var:div_bold}}Organization & Presentation</div>
* ALT+ENTER to select all occurrences of matched text.
{{#var:div_white}}How to link Gallery subpage to each character - with breadcrumbs? (https://www.mediawiki.org/wiki/Help:Subpages)</div>
* Press <code>HOME</code> on the keyboard to move each cursor to the beginning of each selected line.
{{#var:div_white}}List of subpages? <nowiki>{{Special:PrefixIndex/CHARACTER_NAME/}}</nowiki>?</div>
* <code>BACKSPACE</code> to put each "b" quote on the previous line (with the "a" line)
{{#var:div_white}}Custom template? Include: Gallery for certain, and possibly other links eg BBDW, Movelists?</div>
* Add a comma and a space to get the following:
{{#var:div_white}}How to make the main page more user-friendly? The categories better?</div>
<pre><nowiki>
{{#var:div_yellow}}Offer BlazBlue-related themes/skins (in dark & light versions)</div>
==Other==
</tab>
{{Quotes Header}}
File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
</nowiki></pre>


===Merchandise, Events===
* Select all lines beginning with "File:" (search for)
<pre>^File:</pre>


'''Pages:''' None
* <code>HOME</code> to move each cursor to the beginning of each selected line.
* Copy the following wikitext template, then navigate back to the text editor (do NOT click inside the text editor but click the icon on the menu bar or ALT+TAB back to it, else you will lose your selection)
* Paste
<pre><nowiki>
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=
  |lang=ja
}}
</nowiki></pre>


'''Templates:''' None
Next is the cool part about Sublime Text...


The current idea is to have a Master Event and Merchandise page.
We should now have the following text, with the cursor before every <code>File:</code> after the wikitext template we just pasted.
* <code>SHIFT</code>+<code>END</code> to select from every cursor to the end of its line.
<pre><nowiki>
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=
  |lang=ja
}}File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
</nowiki></pre>
* Cut, then navigate WITH the arrow keys on the keyboard (not the mouse), and it will move every cursor accordingly.
* Move to the <code>|audio=</code> part of the template above it, and paste.
<pre><nowiki>
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
  |lang=ja
}}
{{Quotes Footer}}
</nowiki></pre>


Tabs to toggle each year, and within each year tabs to toggle per month.
* <code>END</code> to navigate to the end of each audio line.
* <code>CTRL</code> + Left arrow key twice to move the cursor before the ".ogg" file extension
* <code>CTRL</code> + <code>SHIFT</code> + arrow keys to select <code>026</code> (without the a/b letter suffix)
* Copy (CTRL+C)
* Navigate with arrow keys up to the <code>|situation=</code> part and paste, then up to the first <code>|situation=</code> and paste again
<pre><nowiki>
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=026
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=026
  |text=
  |audio=File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
  |lang=ja
}}
{{Quotes Footer}}
</nowiki></pre>


'''Need to consider:'''
* Finally, remove File: prefix - search for the following
<code>File:</code>
* ALT+ENTER to select all
* BACKSPACE to delete all selections


<blockquote><pre>
And now we're done and can copy/paste the text into the bottom of the [[:Category:Quotes_Subpage|character's quotes page]].
(1)  mixed info: Events, Merchandise, Announcements, Tournaments (Comiket, Arc Revo, Blue Radio, new game announcements)
<pre><nowiki>
(2)  Music albums get their own page, since music is important to BlazBlue as a franchise.
==Other==
(3)  DVDs e.g. for Blue Radio R/R2 and Music Concerts get their own page
{{Quotes Header}}
(4)  Do other merchandise get individual pages? Or are they just lumped into a "merchandise" master page?
{{Quotes
    * (ie) BlazBlue Sets @ Comiket, individual items @ broccoli online shop?
  |rowspan=2
    * what about items sold in multiple places? (ie Es Works)
  |situation=026
</pre></blockquote>
  |text=
 
  |lang=en
<tab collapsed openname="Details & Progress" style="width:100%; font-weight:bold;" container="font-style:default; font-weight:normal;" title="Example tooltip">
}}
{{#var:div_bold}}To Do</div>
{{Quotes
 
  |rowspan=0
{{#var:div_bold}}Other Ideas</div>
  |situation=026
{{#var:div_red}}News updates/translations? (See blog or forum extensions, or some other method?)</div>
  |text=
{{#var:div_white}}Merchandise? (i.e. from ASW Comiket, AGF, Toushinsai?) they're somewhat miscellaneous to BB lore, so maybe keep the descriptions on the Category page...?</div>
  |audio=BBDW Avenge 026a.ogg, BBDW Avenge 026b.ogg
</tab>
  |lang=ja
 
}}
===Blue Radio===
{{Quotes Footer}}
 
</nowiki></pre>
'''Pages:''' [[Blue Radio]]
|}
 
'''Templates:''' [[Template:Blue Radio Episode|Blue Radio Episode]]
 
<blockquote><pre>
Coordinate watching Blue Radio.
Track:
(1) corner names & descriptions
(2) which corners appear in which episodes
(3) guest images.
</pre></blockquote>
 
<blockquote><pre>
Organize images by season & episode. Make sure they will appear nicely on all pages they will be included in.
  * these pictures will be on the [Blue Radio] page
  * these pictures will be in character [Galleries].
 
Options for tags:
(1) Tag with [Blue Radio W] [Episode 1] [Characters]
(2) Tag with [Blue Radio] [Blue Radio W Ep 1] [Characters]
(3) Tag with [Blue Radio] [Characters]
  * have the caption include Season and Episode?
  * this caption will appear on [Blue Radio] pages too, where having season/episode in the caption will be redundant.
</pre></blockquote>
 
<tab collapsed openname="Details & Progress" style="width:100%; font-weight:bold;" container="font-style:default; font-weight:normal;" title="Example tooltip">
{{#var:div_bold}}To Do</div>
{{#var:div_green}}Add support for images for each episode (ie screenshots)</div>
{{#var:div_green}}Add descriptions under each subheading (but before the "Episodes" tab)</div>
{{#var:div_yellow}}Description of each corner - track which corners show up in which episodes</div>
{{#var:div_white}}Place the logo on the side?</div>
 
{{#var:div_bold}}Need to Consider</div>
{{#var:div_white}}How to tag the guest art? organize by season/episode? How do we want them displayed in a character's gallery?</div>
{{#var:div_white}}DVDs get new pages. Also, events get new pages. How to link them in?</div>
{{#var:div_white}}Add links or a section or a see also or something to related events (i.e. Blue Fes)?</div>
</tab>
 
===Master Gallery===
 
'''Pages:''' [[:Category:Gallery Pages|Gallery Pages]]
 
'''Templates:''' [[Template:Master Gallery|Master Gallery]], [[Template:Gallery Section|Gallery Section]]
 
<tab collapsed openname="Changelog" style="width:100%; font-weight:bold;" container="font-style:default; font-weight:normal;" title="Example tooltip">
* Renamed "Special Artwork" to "Guest Artwork," and split its contents between itself and the new [[:Category:Staff Extras|Staff Extras]] subsection/category. Also added an [[:Category:Icons|Icons]] subsection.
* Added collaboration subsections ([[:Category:Lord of Vermilion III|LOVIII]], [[:Category:Lord of Vermilion Re:2|LOVRe:2]], [[:Category:Mabinogi Duel|Mabinogi Duel]])
* Cleaned up animation section, added a separate VIDEOS section that can be manually added to with the <code>video</code> parameter.
</tab>
 
<tab collapsed openname="Details & Progress" style="width:100%; font-weight:bold;" container="font-style:default; font-weight:normal;" title="Example tooltip">
{{#var:div_bold}}Code</div>
{{#var:div_green}}Change the [[Template: Gallery Section|Gallery Section template]] to sort Main Artwork by date. -> only mainline games (CT/CS/CP/CF/TAG) have Main Artwork, so this isn't a problem)</div>
{{#var:div_green}}Add support for video embeds (add a Videos section and a video parameter)</div>
 
{{#var:div_bold}}Image tags</div>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
{{#var:div_green}} "Lobby Avatar" -> [[:Category:Lobby Avatars]]</div>
{{#var:div_green}} "Normal Pose" -> [[:Category:Portraits]]</div>
{{#var:div_green}} "Swimsuit Pose" -> [[:Category:Portraits]]</div>
{{#var:div_green}} "Young Pose" -> [[:Category:Portraits]]</div>
{{#var:div_green}} "Crest" -> [[:Category:Crests]]</div>
{{#var:div_yellow}} didn't know where to put Embryo so just left it tagged "Crests", no character tags</div>
{{#var:div_green}} "Chibi" -> [[:Category:Chibi]]</div>
{{#var:div_green}} "Chibi.png" -> [[:Category:Chibi]]</div>
{{#var:div_green}} "Special" -> [[:Category:Special Artwork]]</div>
{{#var:div_green}} "Sprite Reference" -> [[:Category:Palette References]]</div>
{{#var:div_yellow}} Mai needs captions</div>
{{#var:div_green}} "Avatar" -> [[:Category:Portraits]] as necessary</div>
{{#var:div_green}} "Sticker" -> [[:Category:Stickers]] (XBlaze, BlazBlue Blue Radio, BlazBlue)</div>
{{#var:div_green}} "Wallpaper" -> [[:Category:Wallpapers]]</div>
{{#var:div_green}} "Birthday" -> [[:Category:Birthday Art]]</div>
{{#var:div_green}} "Storyboard" -> [[:Category:Storyboards]]</div>
{{#var:div_green}} "Concept" -> [[:Category:Early Designs]]</div>
{{#var:div_green}} "Model Sheet" -> [[:Category:Model Sheets]]</div>
{{#var:div_green}} [[:Category:Relius Clover]] -> go add [[:Category:Ignis]] to the relevant ones.</div>
{{#var:div_green}} [[:Category:Rachel Alucard]] -> go add [[:Category:Gii]] and [[:Category:Nago]] to the relevant ones.</div>
{{#var:div_green}} BlazBlue Central Fiction</div>
{{#var:div_green}} BlazBlue Calamity Trigger</div>
{{#var:div_green}} BlazBlue Chrono Phantasma</div>
{{#var:div_green}} Clone Phantasma</div>
{{#var:div_green}} XXX "Arcade" -> [[:Category:Arcade Mode]] tag w/ characters & locations</div>
{{#var:div_green}} XXX "Story" -> [[:Category:Story]] tag w/ characters & locations</div>
{{#var:div_green}} "BlazBlue Central Fiction Story Mode"</div>
</div>
 
</tab>
 
== Useful References ==
 
=== Pages ===
* [[Nox Nyctores]]
* [[13th Hierarchical City of Kagutsuchi]]
 
=== Categories ===
* [[:Category:Media|Media]] (types of BlazBlue media, i.e. anime and games)
* [[:Category:Gallery Pages|Gallery Pages]]
* [[:Category:Character Categories|Character Categories]]
* [[:Category:Media Categories|Media Categories]] (categories for images and other files)
** [[:Category:Media by Character|by Character]]
** [[:Category:Media by Location|by Location]]
 
=== External Links ===
* [http://www.arcsystemworks.jp/portal/news/ ASW news archive (12/2015 - now)]
* [http://www.arcsystemworks.jp/index.cgi?month=201512 ASW news archive (01/2008 - 11/2015)]
* [http://www.arcsystemworks.jp/official/blog/ ASW blog archive (06/2010 - 09/2012)]
* [http://www.blazblue.jp/topics.html BB topics(2008 - now)]
 
== Testing ==
<!--
* Add <code><nowiki><div style="width:100%;clear:both;"></div></nowiki></code> after a thumb to force a break before future sections.
 
<blockquote>
[[File:BlazBlue_Kagutsuchi_Port_Background.png|thumb|right|caption]]Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port Kagutsuchi Port
<div style="clear:both;"></div>
</blockquote>
 
* Testing smaller/floating slideshow galleries
 
<blockquote>
<div style="width:80%; text-align:center; float:right;">
<gallery mode="slideshow" style="margin:0em;">
File:BlazBlue_Kagutsuchi_Port_Background.png|Kagutsuchi Port AM 10:30
File:BlazBlue_Kagutsuchi_Port_Evening_Background.png|Kagutsuchi Port PM 4:45
File:BlazBlue_Kagutsuchi_Port_Night_Background.png|Kagutsuchi Port PM 9:00
</gallery>
</div>
<div style="clear:both;"></div>
</blockquote>
-->
 
== References ==
 
</noinclude>

Latest revision as of 17:55, 4 June 2022

Notes

Adding BBDW Audio Files to the Quotes Page
  • Add audio files that were uploaded in bulk to the character's BBDW quotes page.
  • The idea is to grab the filenames from the contribution list (or file upload list) so we have the real filenames used on the wiki, and then to format them accordingly.
  • This works better (is more efficient) the more files we have to apply this to at once. Can even be files for multiple characters.
  • These instructions assume the use of Sublime Text 3, or another advanced text editor that supports multiple selections and searches with regular expressions.
Steps:
  • Select and copy into a new document the contribs page text for the user who uploaded the files.

It'll look something like this:

    03:22, 4 June 2022 diff hist +359‎ N File:BBDW Avenge 026b.ogg ‎ Uploaded a work by Arc System Works from BlazBlue Alternative: Dark War with UploadWizard current Tag: Upload Wizard
    03:22, 4 June 2022 diff hist +359‎ N File:BBDW Avenge 026a.ogg ‎ Uploaded a work by Arc System Works from BlazBlue Alternative: Dark War with UploadWizard current Tag: Upload Wizard
  • In the text editor, pull up the search bar (Ctrl+F) and search for: (make sure using regular expressions (regex) is selected)
File:[A-Za-z0-9 ]*\.ogg
  • Click the "Find All" button on the far right (or Alt + Enter) to select all occurrences in current document
  • Cut (Ctrl + X) or copy (Ctrl + C) all selections.
  • Open a new document (or Ctrl + N) and paste (Ctrl + V) the selections.

This extracts all "File:<filename>.ogg" from the copied text. It should look like this:

File:BBDW Avenge 026b.ogg
File:BBDW Avenge 026a.ogg
  • Go to Edit > Sort Lines to sort them alphabetically:
File:BBDW Avenge 026a.ogg
File:BBDW Avenge 026b.ogg
  • Add the header and footer text around the text
==Other==
{{Quotes Header}}
File:BBDW Avenge 026a.ogg
File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
  • Search for all the part b files (026b etc) with this regex:
b\.ogg$
  • ALT+ENTER to select all occurrences of matched text.
  • Press HOME on the keyboard to move each cursor to the beginning of each selected line.
  • BACKSPACE to put each "b" quote on the previous line (with the "a" line)
  • Add a comma and a space to get the following:
==Other==
{{Quotes Header}}
File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
  • Select all lines beginning with "File:" (search for)
^File:
  • HOME to move each cursor to the beginning of each selected line.
  • Copy the following wikitext template, then navigate back to the text editor (do NOT click inside the text editor but click the icon on the menu bar or ALT+TAB back to it, else you will lose your selection)
  • Paste
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=
  |lang=ja
}}

Next is the cool part about Sublime Text...

We should now have the following text, with the cursor before every File: after the wikitext template we just pasted.

  • SHIFT+END to select from every cursor to the end of its line.
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=
  |lang=ja
}}File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
{{Quotes Footer}}
  • Cut, then navigate WITH the arrow keys on the keyboard (not the mouse), and it will move every cursor accordingly.
  • Move to the |audio= part of the template above it, and paste.
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=
  |text=
  |audio=File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
  |lang=ja
}}
{{Quotes Footer}}
  • END to navigate to the end of each audio line.
  • CTRL + Left arrow key twice to move the cursor before the ".ogg" file extension
  • CTRL + SHIFT + arrow keys to select 026 (without the a/b letter suffix)
  • Copy (CTRL+C)
  • Navigate with arrow keys up to the |situation= part and paste, then up to the first |situation= and paste again
==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=026
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=026
  |text=
  |audio=File:BBDW Avenge 026a.ogg, File:BBDW Avenge 026b.ogg
  |lang=ja
}}
{{Quotes Footer}}
  • Finally, remove File: prefix - search for the following

File:

  • ALT+ENTER to select all
  • BACKSPACE to delete all selections

And now we're done and can copy/paste the text into the bottom of the character's quotes page.

==Other==
{{Quotes Header}}
{{Quotes
  |rowspan=2
  |situation=026
  |text=
  |lang=en
}}
{{Quotes
  |rowspan=0
  |situation=026
  |text=
  |audio=BBDW Avenge 026a.ogg, BBDW Avenge 026b.ogg
  |lang=ja
}}
{{Quotes Footer}}