MediaWiki:PreMarkup.js: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary Tag: Manual revert |
Caleb Cooper (talk | contribs) No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
Line 3:
$('pre').each(function(){
var $this = $(this);▼
var OriginalText = $this.html();▼
$this.parent(".mw-collapsible-content").show(); /// temporary show collapsible content to read its location....▼
▲var $this = $(this)
▲var OriginalText = $this.html();
▲$this.parent(".mw-collapsible-content").show(); /// temporary show collapsible content to read its location....
function returnBoxedText(match, p1) { return '<box>' + p1 + '</box>'; }
Line 19 ⟶ 15:
switch(p1) {
case "":
MarginTop = 5;
Line 34 ⟶ 29:
MarginLeft = 0;
Rotation = 315;
break;
case "-bl":
| |||