User:Bongolium500/Sandbox 4: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Dab Template with SMW intergration == | == Dab Template with SMW intergration == | ||
Dab template with SMW integration for dab searching. Intended to replace [[template:Dab page|Dab page]]. | Dab template with SMW integration for dab searching. Intended to replace [[template:Dab page|Dab page]]. | ||
<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> | <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> | ||
<pre><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></pre> | <pre><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></pre> | ||
Used in the same way as [[template:Dab page|Dab page]]. | Used in the same way as [[template:Dab page|Dab page]]. | ||
== Simple Dab == | == Simple Dab == | ||
Produces a simple dab page when used in conjunction with the above. | Produces a simple dab page when used in conjunction with the above. | ||
{{#ask: [[dab::{{{1|}}}]] | {{#ask: [[dab::{{{1|{{pagename}}}}}]] | ||
|format=ul | |format=ul | ||
|limit=50 | |limit=50 | ||
Line 21: | Line 21: | ||
|valuesep=, | |valuesep=, | ||
}} | }} | ||
<pre>{{#ask: [[dab::{{{1|}}}]] | <pre>{{#ask: [[dab::{{{1|{{pagename}}}}}]] | ||
|format=ul | |format=ul | ||
|limit=50 | |limit=50 |
Revision as of 06:55, 9 June 2021
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.
Simple Dab
Produces a simple dab page when used in conjunction with the above. The part "]]" of the query was not understood.</br>Results might not be as expected.
{{#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.