User:Bongolium500/Sandbox 4

From Tardis Wiki, the free Doctor Who reference

I can't test any of this but I think it would work.

Dab Template with SMW intergration

Dab template with SMW integration for dab searching. Intended to replace Dab page.

You may wish to consult ' for other, similarly-named pages.
<div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab::{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div>

Used in the same way as Dab page.

Example Output:

You may wish to consult Untitled for other, similarly-named pages.

Simple Automatically Updated Dab List

Produces a simple dab page when used in conjunction with the above.

{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]]
 |format=ul
 |limit=50
 |offset=0
 |link=all
 |sort=
 |order=asc
 |headers=show
 |searchlabel=... further results
 |propsep=, 
 |valuesep=, 
}}

Takes one parameter, the dab term. Used on the dab page to generate a basic, automatically updated dab page.

Collapsible Automatically Updated Dab List