×
Create a new article
Write your page title here:
We currently have 6 articles on NOISZ Wiki. Type your article name above or click on one of the titles below and start writing!



NOISZ Wiki
6Articles

User:Zinga: Difference between revisions

(Add note about MediaWiki's Template:Category_handler thingie)
(Remove cruft; update notes)
 
Line 9: Line 9:
* CSS for <nowiki><code></nowiki> tags is messed up, e.g. <code>this should be in monospace font</code>
* CSS for <nowiki><code></nowiki> tags is messed up, e.g. <code>this should be in monospace font</code>
* Looks like blockquotes are missing the styling for the quote bar (<code>border-left</code> CSS)
* Looks like blockquotes are missing the styling for the quote bar (<code>border-left</code> CSS)
* CSS in general looks to be expecting a lot of stuff that isn't in the default theme. I'll wait til the fandom wiki's CSS is ported over?


== Infobox issues ==
== Infobox issues ==
Line 16: Line 17:
** It's using an undefined CSS class <code>article-table</code>. The [[Template:SLSong]] infobox uses <code>wiki-table</code>, which is why it has the black cell borders.
** It's using an undefined CSS class <code>article-table</code>. The [[Template:SLSong]] infobox uses <code>wiki-table</code>, which is why it has the black cell borders.
** For some reason the base pattern and character info is just posted in italics outside of the infobox.
** For some reason the base pattern and character info is just posted in italics outside of the infobox.
* A ton of pages are under [[:Category:Templates]] even though they aren't templates, likely because of naughty infoboxes that don't put the <code><nowiki>[[Category:Templates]]</nowiki></code> directive in a <code><nowiki><noinclude></nowiki></code> tag.
* A ton of pages are under [[:Category:Templates]] even though they aren't templates, likely because of naughty infoboxes that don't put the <code><nowiki>[[Category:Templates]]</nowiki></code> directive in a <code><nowiki><noinclude></nowiki></code> tag.
** ✅ [[Template:BandcampMusicPlayer]]
** ✅ [[Template:SL Story Infobox]]
** ✅ [[Template:SL Story Info]]
** ✅ [[Template:Stat Points]]
** ✅ [[Template:Grade to Number]]
** ✅ [[Template:Header Box]]
** I think fixing the stat points, grade to number, and header box templates removed the parsing errors visible on [[Hitori/Styles]]!
** Onto fixing [[NOISZ ARC⌖CODA]]'s template designation
*** ✅ [[Template:Game]]
*** ✅ [[Template:NOISZ AC Cabinets Map]]
** Now [[Eito Hojo]]
*** ✅ [[Template:Eito Story]]
** Ugh there are just so many... at this point I think I should just write a script and use the API.
* There's no way to avoid transcluding categories for infoboxes without modifying all of the templates. That means the infoboxes on this page that are included for demonstration purposes have put this page under [[:Category:Songs]] even though this isn't a page for a song! Consider using the [https://en.wikipedia.org/wiki/Template:Category_handler#The_%22nocat%22_parameter Template:Category_handler] template that MediaWiki has, which automatically handles the <code>nocat</code> parameter. Unfortunately it looks like that would still require all templates to opt into using that template for their category inclusions...
* There's no way to avoid transcluding categories for infoboxes without modifying all of the templates. That means the infoboxes on this page that are included for demonstration purposes have put this page under [[:Category:Songs]] even though this isn't a page for a song! Consider using the [https://en.wikipedia.org/wiki/Template:Category_handler#The_%22nocat%22_parameter Template:Category_handler] template that MediaWiki has, which automatically handles the <code>nocat</code> parameter. Unfortunately it looks like that would still require all templates to opt into using that template for their category inclusions...
= Testing =
<div class="mw-collapsible mw-collapsed">
[[Template:SLSong]] infobox copied from [[ANNIHILATOR]]
<div class="mw-collapsible-content">
{{SLSong
|verses=3
|easy_level=4
|normal_level=7
|hard_level=10
|overload_level=12.5
|easy_pw=375
|normal_pw=525
|hard_pw=675
|overload_pw=800
|easy_tap=98
|easy_nontap=212
|normal_tap=261
|normal_nontap=205
|hard_tap=362
|hard_nontap=249
|overload_tap=699
|overload_nontap=448
|charter=Elica<br/>Elica & k//eternal (Overload)
|artist=[[:Category:Songs featuring Akira Complex|Akira Complex]] ft. [[:Category:Songs featuring kiraku|kiraku]]
|bpm=172
|length=03:50
|folder=[[:Category: Spade Folder Songs|Spade]]
|unlock=Complete [[NOISZ STΔRLIVHT/Story/Chapter 5.I|Chapter 5.I]]}}
</div>
</div>
<div class="mw-collapsible mw-collapsed">
[[Template:Song]] infobox copied from [[Hardcore Maniac]]
<div class="mw-collapsible-content">
{{Song
|Title=Hardcore Maniac
|Artist=M-Project
|Genre=Gabber
|Easydiff=4.0
|Normaldiff=5.0
|Harddiff=8.5
|Overloaddiff=9.5
|Rate=Normal
|Verses=3
|Length=3:52
|BPM=178
|Boss=[[Jester]]
|TextColor=#000000
|CellColor=#6ce5f5}}
''Base Pattern by [https://www.twitter.com/danmakuboss k//eternal]''<br>
''Character by [https://www.angelinachiong.com/portfolio#/noisz/ Angelina Chiong]''
</div>
</div>
<div class="mw-collapsible mw-collapsed">
[[Template:Song Infobox]] copied from [[Hardcore Maniac]]
<div class="mw-collapsible-content">
<div class="album-image"> {{Song Infobox
|image1=<gallery>
File:Hardcore Maniac Enemy.png
</gallery>
}}
</div>
</div>
<div class="mw-collapsible mw-collapsed">
Blockquote formatting
<div class="mw-collapsible-content">
<blockquote>
There should be a quote bar/accent to the left of this text.
</blockquote>
</div>
</div>

Latest revision as of 00:39, 4 June 2025

0 hz

Debug notes

General issues

CSS / styling

  • CSS for <code> tags is messed up, e.g. this should be in monospace font
  • Looks like blockquotes are missing the styling for the quote bar (border-left CSS)
  • CSS in general looks to be expecting a lot of stuff that isn't in the default theme. I'll wait til the fandom wiki's CSS is ported over?

Infobox issues

  • Template:Song Infobox is totally busted.
  • Template:Song infobox issues:
    • It's trying to use the TemplateData extension, which isn't installed.
    • It's using an undefined CSS class article-table. The Template:SLSong infobox uses wiki-table, which is why it has the black cell borders.
    • For some reason the base pattern and character info is just posted in italics outside of the infobox.
  • ✅ A ton of pages are under Category:Templates even though they aren't templates, likely because of naughty infoboxes that don't put the [[Category:Templates]] directive in a <noinclude> tag.
  • There's no way to avoid transcluding categories for infoboxes without modifying all of the templates. That means the infoboxes on this page that are included for demonstration purposes have put this page under Category:Songs even though this isn't a page for a song! Consider using the Template:Category_handler template that MediaWiki has, which automatically handles the nocat parameter. Unfortunately it looks like that would still require all templates to opt into using that template for their category inclusions...