Latest comment: Monday at 07:30 by JVC3 in topic Formatting
→Formatting: new section |
m →Formatting: Typo Tag: 2017 source edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
Here's what I've tried: | Here's what I've tried: | ||
* creating a span tag around the text and giving it the class "citation-needed", then adding a rule to [[MediaWiki:Common.css]] which would remove the underline | * creating a span tag around the text and giving it the class "citation-needed", then adding a rule to [[MediaWiki:Common.css]] which would remove the underline: | ||
** <code><nowiki><span class="citation-needed">...</nowiki></code> | ** <code><nowiki><span class="citation-needed">...</nowiki></code> | ||
** <code>.citation-needed { text-decoration: none !important; font-style: italic; }</code> | ** <code>.citation-needed { text-decoration: none !important; font-style: italic; }</code> | ||
* defining the css inline | * defining the css inline | ||
** <code><nowiki><span style | ** <code><nowiki><span style="text-decoration: none !important;">...</nowiki></code> | ||
* creating my own <code><nowiki><a></nowiki></code> tags, but mediawiki just refuses to accept u making ur own links like that | * creating my own <code><nowiki><a></nowiki></code> tags, but mediawiki just refuses to accept u making ur own links like that | ||
Latest revision as of 18:37, 16 February 2026
Formatting
Right, ok - so I've tried everything I can possibly think of to get this to work, but it just doesn't want to for some reason.
This is the best I got:
[citation needed]
What I'm trying to do is to get rid of the underline from the "citation needed" text, which is how it shows up on Wikipedia, but there doesn't seem to be a way.
Here's what I've tried:
- creating a span tag around the text and giving it the class "citation-needed", then adding a rule to MediaWiki:Common.css which would remove the underline:
<span class="citation-needed">....citation-needed { text-decoration: none !important; font-style: italic; }
- defining the css inline
<span style="text-decoration: none !important;">...
- creating my own
<a>tags, but mediawiki just refuses to accept u making ur own links like that
The only thing I haven't tried is to write some js to fix it, and I'm sure that could work, but I think Tech would kill me if I started messing w the global Common.js file and got something wrong, so I'm not gonna do that.
Anyways, if anyone else can find a way, I will love u forever xoxo
– JV Seathree (JVC3) 07:30, 16 February 2026 (UTC)