User:Iritscen/TestSpace: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
(→‎Hmmm: although PAGESINNS doesn't work atm...)
Line 31: Line 31:
{{Divhide|end}}
{{Divhide|end}}


==Hmmm==
==Page count project==
{{H|1='ello?|2=Wot's this do?|dotted=yes}}
{{#if:{{ns:-2}}|Namespace '''{{ns:-2}}''' has ID -2}} and {{PAGESINNS:-2}} pages
 
{{#if:{{ns:-1}}|Namespace '''{{ns:-1}}''' has ID -1}} and {{PAGESINNS:-1}} pages
 
Namespace '''Main''' does not have an ID, but let's pretend it's 0 and {{PAGESINNS:0}} pages
 
{{#if:{{ns:1}}|Namespace '''{{ns:1}}''' has ID 1}} and {{PAGESINNS:1}} pages
 
{{#if:{{ns:2}}|Namespace '''{{ns:2}}''' has ID 2}} and {{PAGESINNS:2}} pages
 
{{#if:{{ns:3}}|Namespace '''{{ns:3}}''' has ID 3}} and {{PAGESINNS:3}} pages
 
{{#if:{{ns:4}}|Namespace '''{{ns:4}}''' has ID 4}} and {{PAGESINNS:4}} pages
 
{{#if:{{ns:5}}|Namespace '''{{ns:5}}''' has ID 5}} and {{PAGESINNS:5}} pages
 
{{#if:{{ns:6}}|Namespace '''{{ns:6}}''' has ID 6}} and {{PAGESINNS:6}} pages
 
{{#if:{{ns:7}}|Namespace '''{{ns:7}}''' has ID 7}} and {{PAGESINNS:7}} pages
 
{{#if:{{ns:8}}|Namespace '''{{ns:8}}''' has ID 8}} and {{PAGESINNS:8}} pages
 
{{#if:{{ns:9}}|Namespace '''{{ns:9}}''' has ID 9}} and {{PAGESINNS:9}} pages
 
{{#if:{{ns:10}}|Namespace '''{{ns:10}}''' has ID 10}} and {{PAGESINNS:10}} pages
 
{{#if:{{ns:11}}|Namespace '''{{ns:11}}''' has ID 11}} and {{PAGESINNS:11}} pages
 
{{#if:{{ns:12}}|Namespace '''{{ns:12}}''' has ID 12}} and {{PAGESINNS:12}} pages
 
{{#if:{{ns:13}}|Namespace '''{{ns:13}}''' has ID 13}} and {{PAGESINNS:13}} pages
 
{{#if:{{ns:14}}|Namespace '''{{ns:14}}''' has ID 14}} and {{PAGESINNS:14}} pages
 
{{#if:{{ns:15}}|Namespace '''{{ns:15}}''' has ID 15}} and {{PAGESINNS:15}} pages
 
{{#if:{{ns:100}}|Namespace '''{{ns:100}}''' has ID 100}} and {{PAGESINNS:16}} pages
 
{{#if:{{ns:101}}|Namespace '''{{ns:101}}''' has ID 101}} and {{PAGESINNS:17}} pages
 
{{#if:{{ns:102}}|Namespace '''{{ns:102}}''' has ID 102}} and {{PAGESINNS:18}} pages
 
{{#if:{{ns:103}}|Namespace '''{{ns:103}}''' has ID 103}} and {{PAGESINNS:19}} pages
 
{{#if:{{ns:104}}|Namespace '''{{ns:104}}''' has ID 104}} and {{PAGESINNS:20}} pages
 
{{#if:{{ns:105}}|Namespace '''{{ns:105}}''' has ID 105}} and {{PAGESINNS:21}} pages
 
{{#if:{{ns:108}}|Namespace '''{{ns:108}}''' has ID 108}} and {{PAGESINNS:22}} pages
 
{{#if:{{ns:109}}|Namespace '''{{ns:109}}''' has ID 109}} and {{PAGESINNAMESPACE:23}} pages

Revision as of 16:11, 20 April 2012

Divbox and Pullquote, stop fighting, or I'll pull this car right over!

Divbox and Pullquote don't get along well. Here's what happens when I write some reasonable wiki code:

{{Divbox|yellow|title|{{Pullquote|Pretend something witty is written here.|Iritscen}}}}

begets:


After doing some reading on WP and some fiddling, I've found that:

{{Divbox|yellow|3=<br>{{Pullquote|Pretend something witty is written here.|Iritscen}}}}

begets


So, although it works, it's only by a hack that the two templates get along together even partially.

Questions that need answering:

  1. Why do I need to declare that the quote text is the third parameter with "3="?
  2. Why does some bum text need to be inserted (here I've used "<br>") before the data returned by Pullquote?
  3. Why does using Pullquote inside of Divbox break Divbox's "width" parameter?
Because pullquote has its own width...Gumby

#3 is of the most concern to me, followed by #2. I suspect that the fact that Pullquote actually returns table code is part of the problem behind all this.


Page count project

Namespace Media has ID -2 and 0 pages

Namespace Special has ID -1 and 0 pages

Namespace Main does not have an ID, but let's pretend it's 0 and 740 pages

Namespace Talk has ID 1 and 113 pages

Namespace User has ID 2 and 122 pages

Namespace User talk has ID 3 and 51 pages

Namespace OniGalore has ID 4 and 15 pages

Namespace OniGalore talk has ID 5 and 2 pages

Namespace File has ID 6 and 2,637 pages

Namespace File talk has ID 7 and 17 pages

Namespace MediaWiki has ID 8 and 38 pages

Namespace MediaWiki talk has ID 9 and 0 pages

Namespace Template has ID 10 and 131 pages

Namespace Template talk has ID 11 and 6 pages

Namespace Help has ID 12 and 2 pages

Namespace Help talk has ID 13 and 2 pages

Namespace Category has ID 14 and 191 pages

Namespace Category talk has ID 15 and 6 pages

Namespace BSL has ID 100 and 0 pages

Namespace BSL talk has ID 101 and 0 pages

Namespace OBD has ID 102 and 0 pages

Namespace OBD talk has ID 103 and 0 pages

Namespace AE has ID 104 and 0 pages

Namespace AE talk has ID 105 and 0 pages

Namespace Oni2 has ID 108 and 0 pages

Namespace Oni2 talk has ID 109 and 0 pages